Skip to content

RaviMishra-94/trading

Repository files navigation

Raju's Jainam Legs

Version History

legs_market_data (Latest)

  • uses mix of market_data api and websocket, as websocket gives issue with large instruments.
  • uses market_data api of angelone to fetch instruments in large numbers. (can't use websocket as continous calling for large number of instruments result in blocking.)
  • uses websocket for few instruments for which ltp is required each second. (can't use market_data api here, as calling it continously per second will result in getting blocked.)

Version 1.7

  • Most efficient version to date
  • Optimized for handling a large number of instruments Pros
  • angelone blocks as continous fetching is done to speed up find_new_instrument when conditions match

Version 1.6

  • Introduced websocket on port 5001
  • Limitations:
    • High-frequency API calls to port 5001 (Flask route/REST endpoint) create a bottleneck when handling numerous instruments
    • Scalability issues under increased load

Earlier Versions (1.0 - 1.5)

  • Developmental stages leading to current implementation

Installation

pip install -r requirements.txt

Usage

  1. Run the application
  2. Open http://127.0.0.1:5000 in your browser

Requirements

  • Python 3.x
  • See requirements.txt for package dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages