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

Realtime mutual funds trades tracking #8

Open
vishwamartur opened this issue Nov 2, 2024 · 0 comments
Open

Realtime mutual funds trades tracking #8

vishwamartur opened this issue Nov 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vishwamartur
Copy link
Owner

No description provided.

@vishwamartur vishwamartur added the enhancement New feature or request label Nov 2, 2024
vishwamartur added a commit that referenced this issue Nov 25, 2024
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.
vishwamartur added a commit that referenced this issue Nov 25, 2024
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant