Closed traderscafe11 closed 3 months ago
[!CAUTION]
Review failed
The pull request is closed.
The recent updates enhance the functionality and usability of the codebase by streamlining critical functions, adding new capabilities for managing trading strategies, and improving the configuration of scheduled tasks. Key changes include simplified function interfaces, the introduction of methods for retrieving circuit limits, and the addition of API endpoints for accessing strategy lists. Overall, these modifications aim to bolster risk management and efficiency within the trading framework.
Files | Change Summary |
---|---|
Executor/ExecutorUtils/.../InstrumentCenterUtils.py |
Updated get_single_quote to remove kite_token , added get_lower_circuit_limit , clarifying quote retrieval. |
Executor/NSEStrategies/.../EquityStopLoss.py |
Integrated get_lower_circuit_limit for enhanced risk management in process_holdings , added Discord notification. |
Executor/Scripts/CeleryScripts/celeryconfig.py |
Changed scheduled task from equity stop-loss to equity exit, maintaining the same schedule. |
User/UserApi/app.py |
Introduced get_complete_strategy_list to combine equity and derivatives strategies for improved API usability. |
User/UserApi/main.py |
Added endpoint for get_complete_strategy_list , enhancing strategy retrieval capabilities. |
User/UserApi/userapi_utils.py |
Implemented parse_env_list to convert environment variable strings into lists with error handling. |
sequenceDiagram
participant User
participant API
participant StrategyManager
User->>API: Request complete strategy list
API->>StrategyManager: Fetch equity and derivatives strategies
StrategyManager-->>API: Return combined strategy list
API-->>User: Send complete strategy list
🐰 In the code garden, changes took flight,
Simplifying quotes, making them bright.
With circuits and strategies now in the mix,
Our trading logic grows, clever and slick.
Hoppy days ahead, with risks managed right! 🎉
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?
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
Chores