2024-02-07T14:59:29.7055425Z TRACE:: CompositeDataQueueHandler.SetJob(): will use [
"BinanceFuturesBrokerage"
]
so the algorithm doesn't get data of spot data. The algorithm needs spot data to set the conversion rate, otherwise we get this runtime error:
System.ArgumentException: The conversion rate for BNB is not available.
at QuantConnect.Securities.CashBook.Convert(Decimal sourceQuantity, String sourceCurrency, String destinationCurrency) in /LeanCloud/CI.Builder/bin/Debug/src/QuantConnect/Lean/Common/Securities/CashBook.cs:line 167
When we deploy to Binance Futures, we set:
so the algorithm doesn't get data of spot data. The algorithm needs spot data to set the conversion rate, otherwise we get this runtime error: