BitMEX-simple-trading-robot
BitMEX-simple-trading-robot copied to clipboard
Something Went Wrong
I have edited the strategy, and the prediction is printing but order are not placed.
I am not using ta-Lib, created functions for indicators.
Also if this get fixed, how can run it on a 15min candle, as it is invalid bin size.
Hi, please can you share your code. Thanks
please can you help me to resolve this issue
Hi I have stopped using the talib library, it is very old and it didn't worked for me.
https://github.com/bukosabino/ta use this one instead. Let me know if you face any problem.
You can shoot me a mail at [email protected]
Hello, I have the same problem in ubuntu 20.04:
/usr/local/lib/python3.8/dist-packages/swagger_spec_validator/validator20.py:49: SwaggerValidationWarning: Found "$ref: #/definitions/UserPreferences" with siblings that will be overwritten. See https://stackoverflow.com/a/48114924 for more information. (path #/definitions/User/properties/preferences) warnings.warn(
But I found that it does not affect the operation of the bot:
davidcreus@luxembourg:~/Documents/github-projects/BitMEX-simple-trading-robot$ python3 main_loop.py
/usr/local/lib/python3.8/dist-packages/swagger_spec_validator/validator20.py:49: SwaggerValidationWarning: Found "$ref: #/definitions/UserPreferences" with siblings that will be overwritten. See https://stackoverflow.com/a/48114924 for more information. (path #/definitions/User/properties/preferences) warnings.warn(
Last prediction: -1 /usr/local/lib/python3.8/dist-packages/bravado_core/spec.py:462: Warning: guid format is not registered with bravado-core! warnings.warn( Last prediction: 0
It is now working properly with the testnet.bitmex.com api. We'll see how it works in a month. I highly recommend installing the talib library by compiling it by hand and then installing
Linux Download ta-lib-0.4.0-src.tar.gz and:
$ tar -xzf ta-lib-0.4.0-src.tar.gz
$ cd ta-lib/
$ ./configure --prefix=/usr
$ make
$ sudo make install
$ pip3 install ta-lib
For Windows, follow this hand-compiled link at: https://github.com/mrjbq7/ta-lib
Regards!