bitunix-automated-crypto-trading 1.0.0__tar.gz → 1.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitunix-automated-crypto-trading
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: Bitunix Futures Auto Trading Platform
5
5
  Home-page: https://github.com/tcj2001/bitunix-automated-crypto-trading
6
6
  Author: tcj2001
@@ -111,27 +111,32 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
111
111
 
112
112
  - `Study Parameters`:
113
113
  - `EMA_STUDY`: Enable EMA study
114
- - `MACD_STUDY`: Enable MACD study
115
- - `BBM_STUDY`: Enable Bollinger Band study
116
- - `RSI_STUDY`: Enable RSI study
117
- - `CANDLE_TREND_STUDY`: Enable candle trend study
118
- - `ADX_STUDY`: Enable ADX study
119
-
120
- - `Check on Opening a Position`:
114
+ - `EMA_CROSSING`: Check EMA crossing or crossed, COMPARING FAST AND MEDIUM MOVING AVERAGE
121
115
  - `EMA_CHECK_ON_OPEN`: Check EMA on open
116
+ - `EMA_CHECK_ON_CLOSE`: Check EMA on close
117
+
118
+ - `MACD_STUDY`: Enable MACD study
119
+ - `MACD_CROSSING`: Check MACD crossing or crossed, comparing MACD line and signal line
122
120
  - `MACD_CHECK_ON_OPEN`: Check MACD on open
121
+ - `MACD_CHECK_ON_CLOSE`: Check MACD on close
122
+
123
+ - `BBM_STUDY`: Enable Bollinger Band study
124
+ - `BBM_CROSSING`: Check Bollinger Band crossing or crossed, comparing close and middle line
123
125
  - `BBM_CHECK_ON_OPEN`: Check Bollinger Band on open
126
+ - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
127
+
128
+ - `RSI_STUDY`: Enable RSI study
129
+ - `RSI_CROSSING`: Check RSI crossing or crossed, comparing fast and slow RSI
124
130
  - `RSI_CHECK_ON_OPEN`: Check RSI on open
125
- - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
131
+ - `RSI_CHECK_ON_CLOSE`: Check RSI on close
132
+
133
+ - `ADX_STUDY`: Enable ADX study
126
134
  - `ADX_CHECK_ON_OPEN`: Check ADX on open
135
+ - `ADX_CHECK_ON_CLOSE`: Check ADX on close
127
136
 
128
- - `Check on Close a Position`:
129
- - `EMA_CHECK_ON_CLOSE`: Check EMA on close
130
- - `MACD_CHECK_ON_CLOSE`: Check MACD on close
131
- - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
132
- - `RSI_CHECK_ON_CLOSE`: Check RSI on close
137
+ - `CANDLE_TREND_STUDY`: Enable candle trend study
138
+ - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
133
139
  - `CANDLE_TREND_CHECK_ON_CLOSE`: Check candle trend on close
134
- - `ADX_CHECK_ON_CLOSE`: Check ADX on close
135
140
 
136
141
  - `intervals`:
137
142
  - `SCREEN_REFRESH_INTERVAL`: Screen refresh interval
@@ -224,22 +229,12 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
224
229
 
225
230
  ## Installation
226
231
 
227
- - This uses TA-LIb
228
- - For windows install using precompiled wheel using
229
- - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
230
- - For linux download (ubuntu 22.04)
231
- - sudo apt-get update
232
- - sudo apt-get install build-essential libssl-dev libffi-dev
233
- - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
234
- - sudo dpkg -i ta-lib_0.6.4_amd64.deb
235
-
236
- - Window install should easy (not my choice)
237
- - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
238
- - and install the package using the requirements.txt file
239
-
240
232
  - Linux install (ubuntu 22.04)
241
- - Change the Ver1.0 to the latest version in the script
242
233
  - sudo su -
234
+ - # required for TA-Lib
235
+ - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
236
+ - sudo dpkg -i ta-lib_0.6.4_amd64.deb
237
+ - # change the Ver1.0 to the latest version in the script below and run it
243
238
  - bash -c "\
244
239
  apt-get install -y python3-pip wget unzip dos2unix && \
245
240
  python3 -m pip install --upgrade pip && \
@@ -250,9 +245,26 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
250
245
  cd code && \
251
246
  pip3 install -r requirements.txt && \
252
247
  cp sampleenv.txt .env"
248
+ - The package will be installed in the bitunix/code directory
249
+ - cd bitunix/code
250
+ - python3 bitunix.py
253
251
 
254
-
255
- - The package will be installed in the bitunix/code directory
252
+ - Windows
253
+ - mkdir c:\bitunix
254
+ - cd c:\bitunix
255
+ - python -m venv env
256
+ - .\env\Scripts\activate
257
+ - # check python version should be 3.13 or above
258
+ - python3 --version
259
+ - python -m pip install --upgrade pip
260
+ - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
261
+ - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
262
+ - unzip zip file and copy the content inside C:\bitunix\Ver1.0.zip\bitunix-automated-crypto-trading-Ver1.0 to c:\bitunix
263
+ - pip install -r requirements.txt
264
+ - # Make sure ta-lib is installed
265
+ - python -c "import talib; print(talib.get_functions());"
266
+ - copy sampleenv.txt to .env and update the keys accordingly
267
+ - python bitunix.py
256
268
 
257
269
  - make sure to update the .env file with your keys
258
270
  api_key=your_api_key
@@ -73,27 +73,32 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
73
73
 
74
74
  - `Study Parameters`:
75
75
  - `EMA_STUDY`: Enable EMA study
76
- - `MACD_STUDY`: Enable MACD study
77
- - `BBM_STUDY`: Enable Bollinger Band study
78
- - `RSI_STUDY`: Enable RSI study
79
- - `CANDLE_TREND_STUDY`: Enable candle trend study
80
- - `ADX_STUDY`: Enable ADX study
81
-
82
- - `Check on Opening a Position`:
76
+ - `EMA_CROSSING`: Check EMA crossing or crossed, COMPARING FAST AND MEDIUM MOVING AVERAGE
83
77
  - `EMA_CHECK_ON_OPEN`: Check EMA on open
78
+ - `EMA_CHECK_ON_CLOSE`: Check EMA on close
79
+
80
+ - `MACD_STUDY`: Enable MACD study
81
+ - `MACD_CROSSING`: Check MACD crossing or crossed, comparing MACD line and signal line
84
82
  - `MACD_CHECK_ON_OPEN`: Check MACD on open
83
+ - `MACD_CHECK_ON_CLOSE`: Check MACD on close
84
+
85
+ - `BBM_STUDY`: Enable Bollinger Band study
86
+ - `BBM_CROSSING`: Check Bollinger Band crossing or crossed, comparing close and middle line
85
87
  - `BBM_CHECK_ON_OPEN`: Check Bollinger Band on open
88
+ - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
89
+
90
+ - `RSI_STUDY`: Enable RSI study
91
+ - `RSI_CROSSING`: Check RSI crossing or crossed, comparing fast and slow RSI
86
92
  - `RSI_CHECK_ON_OPEN`: Check RSI on open
87
- - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
93
+ - `RSI_CHECK_ON_CLOSE`: Check RSI on close
94
+
95
+ - `ADX_STUDY`: Enable ADX study
88
96
  - `ADX_CHECK_ON_OPEN`: Check ADX on open
97
+ - `ADX_CHECK_ON_CLOSE`: Check ADX on close
89
98
 
90
- - `Check on Close a Position`:
91
- - `EMA_CHECK_ON_CLOSE`: Check EMA on close
92
- - `MACD_CHECK_ON_CLOSE`: Check MACD on close
93
- - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
94
- - `RSI_CHECK_ON_CLOSE`: Check RSI on close
99
+ - `CANDLE_TREND_STUDY`: Enable candle trend study
100
+ - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
95
101
  - `CANDLE_TREND_CHECK_ON_CLOSE`: Check candle trend on close
96
- - `ADX_CHECK_ON_CLOSE`: Check ADX on close
97
102
 
98
103
  - `intervals`:
99
104
  - `SCREEN_REFRESH_INTERVAL`: Screen refresh interval
@@ -186,22 +191,12 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
186
191
 
187
192
  ## Installation
188
193
 
189
- - This uses TA-LIb
190
- - For windows install using precompiled wheel using
191
- - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
192
- - For linux download (ubuntu 22.04)
193
- - sudo apt-get update
194
- - sudo apt-get install build-essential libssl-dev libffi-dev
195
- - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
196
- - sudo dpkg -i ta-lib_0.6.4_amd64.deb
197
-
198
- - Window install should easy (not my choice)
199
- - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
200
- - and install the package using the requirements.txt file
201
-
202
194
  - Linux install (ubuntu 22.04)
203
- - Change the Ver1.0 to the latest version in the script
204
195
  - sudo su -
196
+ - # required for TA-Lib
197
+ - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
198
+ - sudo dpkg -i ta-lib_0.6.4_amd64.deb
199
+ - # change the Ver1.0 to the latest version in the script below and run it
205
200
  - bash -c "\
206
201
  apt-get install -y python3-pip wget unzip dos2unix && \
207
202
  python3 -m pip install --upgrade pip && \
@@ -212,9 +207,26 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
212
207
  cd code && \
213
208
  pip3 install -r requirements.txt && \
214
209
  cp sampleenv.txt .env"
210
+ - The package will be installed in the bitunix/code directory
211
+ - cd bitunix/code
212
+ - python3 bitunix.py
215
213
 
216
-
217
- - The package will be installed in the bitunix/code directory
214
+ - Windows
215
+ - mkdir c:\bitunix
216
+ - cd c:\bitunix
217
+ - python -m venv env
218
+ - .\env\Scripts\activate
219
+ - # check python version should be 3.13 or above
220
+ - python3 --version
221
+ - python -m pip install --upgrade pip
222
+ - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
223
+ - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
224
+ - unzip zip file and copy the content inside C:\bitunix\Ver1.0.zip\bitunix-automated-crypto-trading-Ver1.0 to c:\bitunix
225
+ - pip install -r requirements.txt
226
+ - # Make sure ta-lib is installed
227
+ - python -c "import talib; print(talib.get_functions());"
228
+ - copy sampleenv.txt to .env and update the keys accordingly
229
+ - python bitunix.py
218
230
 
219
231
  - make sure to update the .env file with your keys
220
232
  api_key=your_api_key
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitunix-automated-crypto-trading
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: Bitunix Futures Auto Trading Platform
5
5
  Home-page: https://github.com/tcj2001/bitunix-automated-crypto-trading
6
6
  Author: tcj2001
@@ -111,27 +111,32 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
111
111
 
112
112
  - `Study Parameters`:
113
113
  - `EMA_STUDY`: Enable EMA study
114
- - `MACD_STUDY`: Enable MACD study
115
- - `BBM_STUDY`: Enable Bollinger Band study
116
- - `RSI_STUDY`: Enable RSI study
117
- - `CANDLE_TREND_STUDY`: Enable candle trend study
118
- - `ADX_STUDY`: Enable ADX study
119
-
120
- - `Check on Opening a Position`:
114
+ - `EMA_CROSSING`: Check EMA crossing or crossed, COMPARING FAST AND MEDIUM MOVING AVERAGE
121
115
  - `EMA_CHECK_ON_OPEN`: Check EMA on open
116
+ - `EMA_CHECK_ON_CLOSE`: Check EMA on close
117
+
118
+ - `MACD_STUDY`: Enable MACD study
119
+ - `MACD_CROSSING`: Check MACD crossing or crossed, comparing MACD line and signal line
122
120
  - `MACD_CHECK_ON_OPEN`: Check MACD on open
121
+ - `MACD_CHECK_ON_CLOSE`: Check MACD on close
122
+
123
+ - `BBM_STUDY`: Enable Bollinger Band study
124
+ - `BBM_CROSSING`: Check Bollinger Band crossing or crossed, comparing close and middle line
123
125
  - `BBM_CHECK_ON_OPEN`: Check Bollinger Band on open
126
+ - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
127
+
128
+ - `RSI_STUDY`: Enable RSI study
129
+ - `RSI_CROSSING`: Check RSI crossing or crossed, comparing fast and slow RSI
124
130
  - `RSI_CHECK_ON_OPEN`: Check RSI on open
125
- - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
131
+ - `RSI_CHECK_ON_CLOSE`: Check RSI on close
132
+
133
+ - `ADX_STUDY`: Enable ADX study
126
134
  - `ADX_CHECK_ON_OPEN`: Check ADX on open
135
+ - `ADX_CHECK_ON_CLOSE`: Check ADX on close
127
136
 
128
- - `Check on Close a Position`:
129
- - `EMA_CHECK_ON_CLOSE`: Check EMA on close
130
- - `MACD_CHECK_ON_CLOSE`: Check MACD on close
131
- - `BBM_CHECK_ON_CLOSE`: Check Bollinger Band on close
132
- - `RSI_CHECK_ON_CLOSE`: Check RSI on close
137
+ - `CANDLE_TREND_STUDY`: Enable candle trend study
138
+ - `CANDLE_TREND_CHECK_ON_OPEN`: Check candle trend on open
133
139
  - `CANDLE_TREND_CHECK_ON_CLOSE`: Check candle trend on close
134
- - `ADX_CHECK_ON_CLOSE`: Check ADX on close
135
140
 
136
141
  - `intervals`:
137
142
  - `SCREEN_REFRESH_INTERVAL`: Screen refresh interval
@@ -224,22 +229,12 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
224
229
 
225
230
  ## Installation
226
231
 
227
- - This uses TA-LIb
228
- - For windows install using precompiled wheel using
229
- - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
230
- - For linux download (ubuntu 22.04)
231
- - sudo apt-get update
232
- - sudo apt-get install build-essential libssl-dev libffi-dev
233
- - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
234
- - sudo dpkg -i ta-lib_0.6.4_amd64.deb
235
-
236
- - Window install should easy (not my choice)
237
- - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
238
- - and install the package using the requirements.txt file
239
-
240
232
  - Linux install (ubuntu 22.04)
241
- - Change the Ver1.0 to the latest version in the script
242
233
  - sudo su -
234
+ - # required for TA-Lib
235
+ - wget https://github.com/ta-lib/ta-lib/releases/download/v0.6.4/ta-lib_0.6.4_amd64.deb
236
+ - sudo dpkg -i ta-lib_0.6.4_amd64.deb
237
+ - # change the Ver1.0 to the latest version in the script below and run it
243
238
  - bash -c "\
244
239
  apt-get install -y python3-pip wget unzip dos2unix && \
245
240
  python3 -m pip install --upgrade pip && \
@@ -250,9 +245,26 @@ The platform can be configured through the `config.py` file or `config.txt`. Key
250
245
  cd code && \
251
246
  pip3 install -r requirements.txt && \
252
247
  cp sampleenv.txt .env"
248
+ - The package will be installed in the bitunix/code directory
249
+ - cd bitunix/code
250
+ - python3 bitunix.py
253
251
 
254
-
255
- - The package will be installed in the bitunix/code directory
252
+ - Windows
253
+ - mkdir c:\bitunix
254
+ - cd c:\bitunix
255
+ - python -m venv env
256
+ - .\env\Scripts\activate
257
+ - # check python version should be 3.13 or above
258
+ - python3 --version
259
+ - python -m pip install --upgrade pip
260
+ - pip install https://github.com/cgohlke/talib-build/releases/download/v0.6.3/ta_lib-0.6.3-cp313-cp313-win_amd64.whl
261
+ - wget https://github.com/tcj2001/bitunix-automated-crypto-trading/archive/refs/tags/Ver1.0.zip
262
+ - unzip zip file and copy the content inside C:\bitunix\Ver1.0.zip\bitunix-automated-crypto-trading-Ver1.0 to c:\bitunix
263
+ - pip install -r requirements.txt
264
+ - # Make sure ta-lib is installed
265
+ - python -c "import talib; print(talib.get_functions());"
266
+ - copy sampleenv.txt to .env and update the keys accordingly
267
+ - python bitunix.py
256
268
 
257
269
  - make sure to update the .env file with your keys
258
270
  api_key=your_api_key
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="bitunix-automated-crypto-trading",
8
- version="1.0.0",
8
+ version="1.1.0",
9
9
  author="tcj2001",
10
10
  author_email="thomsonmathews@hotmail.com",
11
11
  description="Bitunix Futures Auto Trading Platform",
@@ -48,4 +48,4 @@ setup(
48
48
  package_data={
49
49
  "": ["templates/*.html", "static/*", "config.txt", "sampleenv.txt"],
50
50
  },
51
- )
51
+ )