-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add mutual funds trades tracking #16
Conversation
Related to #8 Add real-time mutual funds trades tracking functionality. * **New File: `data/mutual_funds_tracker.py`** - Define `MutualFundsTracker` class to handle real-time tracking of mutual funds trades. - Implement `fetch_mutual_funds_trades` method to fetch real-time mutual funds trades data. - Implement `process_mutual_funds_trades` method to process mutual funds trades data. * **Update `main.py`** - Import `MutualFundsTracker` from `data/mutual_funds_tracker`. - Initialize `MutualFundsTracker` in the main function. - Add `mutual_funds_tracker` to the `process_market_data` function parameters. - Create a task to process mutual funds trades in `process_market_data` function. * **Update `config/config.py`** - Add `mutual_funds_tracking_enabled` and `mutual_funds_data_source` settings under `investment_banking` section. * **Update `config/api_config.py`** - Add `mutual_funds_api_key` and `mutual_funds_api_endpoint` settings. - Add `mutual_funds_headers` method to return headers for Mutual Funds API. - Add `get_mutual_funds_endpoint` method to return the Mutual Funds API endpoint. * **New File: `tests/test_mutual_funds_tracker.py`** - Define tests for `MutualFundsTracker` class. - Test `fetch_mutual_funds_trades` method. - Test `process_mutual_funds_trades` method.
Caution Review failedThe pull request is closed. WalkthroughThe changes introduce enhancements to the trading bot's functionality by integrating support for a Mutual Funds API. This includes new configuration settings in Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Related to #8
Add real-time mutual funds trades tracking functionality.
New File:
data/mutual_funds_tracker.py
MutualFundsTracker
class to handle real-time tracking of mutual funds trades.fetch_mutual_funds_trades
method to fetch real-time mutual funds trades data.process_mutual_funds_trades
method to process mutual funds trades data.Update
main.py
MutualFundsTracker
fromdata/mutual_funds_tracker
.MutualFundsTracker
in the main function.mutual_funds_tracker
to theprocess_market_data
function parameters.process_market_data
function.Update
config/config.py
mutual_funds_tracking_enabled
andmutual_funds_data_source
settings underinvestment_banking
section.Update
config/api_config.py
mutual_funds_api_key
andmutual_funds_api_endpoint
settings.mutual_funds_headers
method to return headers for Mutual Funds API.get_mutual_funds_endpoint
method to return the Mutual Funds API endpoint.New File:
tests/test_mutual_funds_tracker.py
MutualFundsTracker
class.fetch_mutual_funds_trades
method.process_mutual_funds_trades
method.Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests