0
Follow
0
Followers
Exchange.IO मैनुअल में दिए गए उदाहरण त्रुटियों की रिपोर्ट करते हैं
Created 2019-11-04 05:04:54
3
1841
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);
}
}
मैं bitfinex BTC_USDT ट्रेडिंग प्लेटफॉर्म का उपयोग कर एक सिमुलेशन रिट्रीट कर रहा हूं और यह त्रुटि देख रहा हूं। ऊपर दिया गया कोड एक्सचेंज के एपीआई निर्देश में हैः https://fmz-docs.readthedocs.io/en/latest/code_Instruction/Extent API.html#io
कैसे तोड़ें?
main:5:18 - TypeError: Cannot convert "BTC_USDT" to int
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
