0
Follow
0
Followers
複製された現貨単元均衡策略,BTC3S_USDTで,未修正の取引単元精度エラーが発生し,以下のように修正した.
193: trade (('buy', buy_price.toFixed ((6), buy_value.toFixed ((4), '買入バランス')
194: trade (('sell', sell_price.toFixed ((6), sell_value.toFixed ((4), 'バランスを売る')
"Exchange_Trade" (float64 expected, got string) at への #3 番目の議論<anonymous> (native) at Buy (FILE) at trade (FILE:139) at onTick (FILE:193) at main (FILE:205)
APIドキュメントでは,exchange.Buy ((Price, Amount) で送信された2つのパラメータが,現貨単元均衡戦略に含まれています.
139 id = exchange.Buy(price, amount, msg)
toFixed ((() で誤って,小数点の桁を正しく切断する方法
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced 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?
Comment
All comments (1)
- 1
