Closed cipherzzz closed 3 years ago
I'm guessing that this has to do with 0x throttling the api calls in
const zrxResponse = await axios.get(`https://api.0x.org/sra/v3/orderbook?baseAssetData=0xf47261b0000000000000000000000000${baseAssetAddress}"eAssetData=0xf47261b0000000000000000000000000${quoteAssetAddress}&perPage=1000`)
It seems like trades are executing though so closing this.
I get this same error, but the bot hangs immediately afer that:
Error playing sound! Fetching market data @...
I'm running the bot in an ubuntu ec2 instance and when it finds an opportunity and attempts a trade I get:
Am I needing to open up ports on my security group on my ec2 instance or something?
More of the stack trace: