var symbols = [“BTC_USDT”, “LTC_USDT”, “EOS_USDT”, “ETH_USDT”, “BCC_USDT”]; var buyValue = 1000; function main(){ for(var i=0;i<symbols.length;i++){ exchange.IO("currency", symbols[i]); var ticker = exchange.GetTicker(); var amount = _N(buyValue/ticker.Sell, 3); exchange.Buy(ticker.Sell, amount); Sleep(1000); } }
I did an analogue retest with the bitfinex BTC_USDT trading platform and saw this error. The above code is from the Exchange's API manual:https://fmz-docs.readthedocs.io/en/latest/code_Instruction/Extent API.html#ioHow did it break?
main:5:18 - TypeError: Cannot convert
The grassRetesting does not support IO switching transaction pairs
sampsun1. Copy the above to a new policy 2. Click on the tab for analogue retesting Click on the + after the platform to add a platform. 4. Click to start retesting 5. At the bottom of the log information is this error
The grassCan not retest