generated from QuantConnect/Lean.DataSource.SDK
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate CoinApi Integration to Standalone Project #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat: github issue & PR templates feat: prepare GH workflow file
feat: TestSetup initializer
feat: simplify code feat: remove one warning msg
feat: GetBrokerage CryptoFuture Symbol Test feat: init with wrong api key test feat: helper class for tests
11 tasks
fix: deprecated GDAX to Coinbase Market in Symbol test
fea: test of CoinAPIDataDownloader fix: reset config in wrong api key test
remove: thread sleep
refactor: future test
Martin-Molinero
approved these changes
Feb 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you 🚀
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request aims to remove the CoinApi data source from Lean.toolbox and replace it with an independent project. This involves refactoring the codebase to eliminate dependencies on CoinApi and creating new functionality and tests to ensure the continued functionality and reliability of the project.
Related Issue
N/A
Related PR
Lean
Lean-cli
Motivation and Context
The motivation behind this change is to decouple
Lean.toolbox
from CoinApi, allowing for greater flexibility in data sources and reducing reliance on external services. By creating an independent project, we can maintain better control over the data source implementation and potentially incorporate additional data sources in the future. This change aligns with our goal of improving the modularity and maintainability of the codebase.Requires Documentation Change
Yes, documentation updates will be required to reflect the changes in the data source and provide instructions for integrating alternative data sources.
How Has This Been Tested?
1. QuantConnect.CoinAPI
This pull request includes a series of NUnit tests to ensure the reliability and functionality of the new implementation. Specifically:
ThrowsOnFailedAuthentication
: Verifies that authentication failures are properly handled.DataQueueHandler
Subscribe: Tests the data queue handler's ability to subscribe to different symbols and exchanges.GetHistory
with Different Input Data: Validates the behavior of the get history functionality with various input data.SymbolMapper
Tests: Ensures the correctness of the symbol mapping functionality.2. QuantConnect.CoinAPI.Converter
Testing of converting
quotes
andtrades
raw data to consolidate data and save on disk.For instance:
Input data: Kraken quotes and trades
Output data: consolidated in different resolution
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>