bitunix-automated-crypto-trading 1.0.0__py3-none-any.whl → 1.1.0__py3-none-any.whl

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
@@ -0,0 +1,5 @@
1
+ bitunix_automated_crypto_trading-1.1.0.dist-info/METADATA,sha256=l4xH5VPDIx0CQzxj9827GPQ47gMnCk5sW9CWxr8Ifjs,13634
2
+ bitunix_automated_crypto_trading-1.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
3
+ bitunix_automated_crypto_trading-1.1.0.dist-info/entry_points.txt,sha256=h3mo-V8kaikc2r8IumkA9pGoGhwfjmzbcorsI0nEuC4,41
4
+ bitunix_automated_crypto_trading-1.1.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
+ bitunix_automated_crypto_trading-1.1.0.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- bitunix_automated_crypto_trading-1.0.0.dist-info/METADATA,sha256=vJguPDZqQ5Uww_3rN9_2BuCSTQKWaOaATTlb-Iiz9Co,13013
2
- bitunix_automated_crypto_trading-1.0.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
3
- bitunix_automated_crypto_trading-1.0.0.dist-info/entry_points.txt,sha256=h3mo-V8kaikc2r8IumkA9pGoGhwfjmzbcorsI0nEuC4,41
4
- bitunix_automated_crypto_trading-1.0.0.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
5
- bitunix_automated_crypto_trading-1.0.0.dist-info/RECORD,,