Closed avolution closed 6 years ago
Problem with the outdated ccxt? The current requirement in catalyst is ccxt==1.12.131
Newest version is ccxt==1.16.88
Here is an linked issue---> https://github.com/ccxt/ccxt/issues/2699
@avolution, thanks for reporting and providing the additional information, it is very helpful. We will address this.
I think the solution is just to update ccxt.
It is a bug happend by refactoring on site of ccxt in this particular version. (have patched ccxt as a workaround on my system and its working)
I have tried to update the ccxt to a newer version but this will in result other errors(so not compatible to catalyst yet).
@lenak25 Thanks for connecting me with this thread. can you update about the status of the issue? Do you have any suggestion of how to handle it until it is fixed? (only thing I can do now is to not place orders which I estimate the amount will be higher than 9,999).
Hi @avolution, we are planning to upgrade catalyst to use a more recent ccxt version (1.17.94). You have mentioned that you have witnessed some issues when using an updated CCXT version with catalyst, when using Bitfinex. Could you please elaborate on the issues you have observed? Thanks!
@EmbarAlmog I just tried a higher CCXT version by updating the dependency. In result a run will crash immediately because I think there are some structural changes in CCXT(and Catalyst called ccxt in the way of the old version). I did't go deeper then. To reproduce it just update ccxt version the conda env on the current version and run a backtest/live run.
@EmbarAlmog Would be great if you can also refer to the issue @lenak25 referenced to this thread.. Thanks.
@EmbarAlmog Another point is that CCXT has two Bitfinex implementations:
'bitfinex' and the implementation of api v2 'bitfinex2'
It would be better when catalyst development focuses on 'bitfinex2' cause refer to #415 margin trading is impossible with 'bitfinex' CCXT implementation even in the newest version.
I think CCXT Development is focusing on the v2 Implementation 'bitfinex2' and the v1 implementation 'bitfinex' is just legacy.
@avolution Margin trading is not possible with catalyst in its current version. Margin trading is possible with ccxt bitfinex implementation (I am doing it).
Hi @avolution, I've tested catalyst with Bitfinex (using the bitfinex module, not the bitfinex2) with CCXT to version 1.17.94 and everything worked as expected. Could you please elaborate on the issues you experienced? Please specify the exact functions you have been used. Thanks
In catalyst 0.5.19 CCXT was upgraded to 1.17.94, which fixes this issue.
@brandsimon are you doing it with catalyst or own implementation on ccxt? I'm also looking into this would love to get some info. Thanks.
@voidale I am doing it with my own implementation on ccxt, since it is not supported in catalyst.
Hey guys,
i have a problem running live trade on bitfinex I use catalyst version 0.5.17 installed via conda with the latest env file
Here the code:
Here the exception when try to submit the order:
It is working in papertrade mode -> simulate_orders=True My API are set correctly