Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binance Futures Should Use BinanceFuturesBrokerage+BinanceBrokerage As Data Proider #417

Open
AlexCatarino opened this issue Feb 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@AlexCatarino
Copy link
Member

When we deploy to Binance Futures, we set:

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
@AlexCatarino AlexCatarino added the bug Something isn't working label Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant