-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Feature/mina 137 #954
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
Merged
Merged
Feature/mina 137 #954
Conversation
This file contains hidden or 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
…pdating assure_instrument and related methods to improve order book ID validation, and refining argument checking for instrument types.
…nts, enhancing validation in order functions across APIs. Update order handling in stock and future APIs to utilize new assurance methods for improved robustness.
…struments with assure_that for active instruments across APIs. Update requirements for typing-extensions and enhance DataProxy class to include InstrumentsMixin for improved instrument handling.
… listed instruments, updating deprecated methods to guide users towards preferred alternatives, and refining type hints in the DataProxy class for better clarity and functionality.
…f a generic date parameter, ensuring accurate price data for futures instruments.
…vements in message handling and formatting for better clarity in error reporting. Adjusted POT creation date and updated Babel version in configuration files.
…get_position` API and adding new `get_instruments_history` and `active_instrument` APIs. Refactor instrument handling in DataProxy and related classes to improve functionality and type safety.
…nstruments are used. Update `get_position` API to prevent passing non-listed order_book_ids, and enhance type hints for better clarity. Introduce new assurance methods for order_book_id validation, improving robustness in order submissions.
…cross multiple entries to reflect the correct stock designation. This change ensures consistency in stock identification within the integration tests.
…zing the new get_active_instrument method. Introduce exception handling for InstrumentNotFound to enhance error reporting during order submissions, ensuring only active instruments are processed.
…hecks, improving code clarity and consistency. Simplify order_target_portfolio_smart function call by removing unnecessary parentheses.
…ting calendar and trading dates. Update symbol retrieval to utilize trading date for improved accuracy in instrument data handling.
…and factor handling. Introduce error handling for missing instruments in DataProxy and refine factor filtering in BaseDataSource to ensure only relevant data is returned based on listing dates.
…ents - Introduced AGENTS.md to provide guidelines on project structure, architecture, coding style, testing, and commit practices for agent onboarding. - Added new APIs: `active_instrument`, `active_instruments`, `instrument_history`, and `instruments_history` to improve instrument retrieval and historical data access. - Updated existing API methods to ensure consistency and clarity in handling active instruments and their histories. - Enhanced integration tests to validate the new APIs and ensure proper functionality with active and inactive instruments.
|
您好,您的邮件已收到,我会尽快给您回复。
祝您工作顺利,生活愉快!
|
- Updated type hints in `instrument_history`, `active_instruments`, and `instruments_history` functions to use `List` and `Dict` from the typing module. - Ensured consistency in type annotations across the API for better code readability and type safety.
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.
No description provided.