12-30-2018, 04:38 PM
(This post was last modified: 12-30-2018, 08:41 PM by algunnombre.)
@askmike thanks for the info, the gekko-broker helped me a lot.
I just have one quick question to see if you could help me, the exchange I'm working with there API calls are kind of slow, specially when the bot cancels a order and instantly starts a new one, I get a lot of the error "insufficientFunds" (I copied most of the code from binance.js). I'm currently using the retry library it kind of works, but a some point it fails after many attempts..
Is there a way to tell a the bot that when it cancels a order to wait about 1.5 second before starting the next order?
Thanks
EDIT: I think I just found it, on exchangeUtils.js I found under errors err.backoffDelay, but that helps once it fails, how can i apply as soon the cancel is done
I just have one quick question to see if you could help me, the exchange I'm working with there API calls are kind of slow, specially when the bot cancels a order and instantly starts a new one, I get a lot of the error "insufficientFunds" (I copied most of the code from binance.js). I'm currently using the retry library it kind of works, but a some point it fails after many attempts..
Is there a way to tell a the bot that when it cancels a order to wait about 1.5 second before starting the next order?
Thanks
EDIT: I think I just found it, on exchangeUtils.js I found under errors err.backoffDelay, but that helps once it fails, how can i apply as soon the cancel is done