Skip to content

[Cash] Fallback to crypto future pairs when spot conversion pairs are missing#9413

Closed
aiSynergy37 wants to merge 1 commit intoQuantConnect:masterfrom
aiSynergy37:bug-7753-cryptofuture-currency-feed-clean
Closed

[Cash] Fallback to crypto future pairs when spot conversion pairs are missing#9413
aiSynergy37 wants to merge 1 commit intoQuantConnect:masterfrom
aiSynergy37:bug-7753-cryptofuture-currency-feed-clean

Conversation

@aiSynergy37
Copy link
Copy Markdown
Contributor

Description

  • keeps existing forex/cfd/crypto conversion lookup behavior
  • adds a fallback to use crypto-future symbol properties when no conversion pair is found in spot markets
  • preserves dYdX priority behavior and adds a regression test for Bybit API3 cash conversion routing through API3USDT crypto futures

Closes #7753.

Testing

  • dotnet build Tests/QuantConnect.Tests.csproj --no-restore -v minimal
  • dotnet test Tests/QuantConnect.Tests.csproj --filter FullyQualifiedName~CashTests.EnsureCurrencyDataFeedForCryptoCurrency_UsesCryptoFuture_WhenSpotPairMissing --no-build -v normal -m:1 (test host crashes on this machine with Python.NET GIL finalizer error before test completion)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure Currency Data Feed Does Not Handle Iliquid Crypto Futures Well

3 participants