Takatoshi Nao
Takatoshi Nao
Api down is not bug. Maybe the reason is your request is frequent. My code is for avoiding noce error from requesting multiple api at the same time.
My code is not occured since few days before.
maybe It think that have to fix to if (err && err.match && err.match(/Error: Invalid order: not enough exchange balance$/)) { or if (err && String(err).match(/Error: Invalid order: not enough...
@nedievas Thank you I have a question err.toString('') have to be err.toString().match('')? FYI, I testing bitfinex backfill with v2 api. it seems well. After testing , I will upload.
Your new code is err.toString(regex)
still can't buy Bitfinex API is down! unable to call buy, retryin g in 10s placing order... placing order... placing order...
typeof opts.order_type === 'maker' to be c.order_type === 'maker'
c.bitfinex.wallet === 'exchange' && c.order_type === 'maker' err && err.match && err.match(/Error: Invalid order: not enough exchange balance$/)
Try new api key And avoid to use multiple agent with same key.