steadfast-monorepo
steadfast-monorepo copied to clipboard
The central code repository for the Steadfast 1-click option trading app (BankNifty, Nifty, Finnifty, MidcapNifty, NiftyMKT50, Sensex, Bankex, and Sensex50), managing shared components and setup scrip...
Project Overview
This repository is a monorepo containing three main projects:
- steadfast-app: The frontend application.
- steadfast-api: The backend API server.
- steadfast-websocket: The WebSocket service.
Quick Status (Updated: 13-08-2024)
Legend: π’ Available/Implemented π‘ In Progress π΅ Planned β‘ Requested by our users π΄ Not Currently Considered
Feature | Status |
---|---|
Supported Brokers | |
Flattrade | π’ |
Shoonya (Finvasia) | π’ |
β‘ Other Brokers | π΄ |
Trading Operations | |
Place Buy/Sell at market/limit orders | π’ |
Cancel orders | π’ |
Cancel selected orders | π΅ |
Close all positions | π’ |
Close selected positions | π’ |
Select strikes | π’ |
Modify open/pending order | π΄ |
Basic Features | |
Automatic ATM strike selection | π’ |
Live MTM / PNL | π’ |
Target price | π’ |
Stoploss price | π’ |
Market exit for target and stoploss | π’ |
Limit exit for target and stoploss | π΅ |
Trailing Stoploss | π‘ |
Automatic Strike Offset selection | π΅ |
β‘Underlying & Futures based Target & Stoploss | π΅ |
Key Features | |
One-click trading buttons | π’ |
Kill switch (client-side) | π’ |
Trade Journal | π΅ |
Paper Trading | π΅ |
Reports For IT Filing | π΅ |
β‘ Same Token Usability for MTM View Only App Mode | π΅ |
Discipline Automations | π΅ |
Parallel Copy Trading to multiple broker accounts | π΅ |
Real-Time Market Data | |
LTP for underlying | π’ |
LTP for selected call/put strikes | π’ |
Note:
- kill switch works on client side only, you will still be able to trade from your broker terminal.
- All these symbols can be traded: NIFTY, BANKNIFTY, FINIFTY, MIDCPNIFTY NIFTYNXT50, SENSEX, BANKEX and SENSEX50.
App Screenshots
Manage Brokers
Dark Mode
Add Broker
Light Mode
Join Our Telegram Channel
Stay updated by joining our Telegram Channel.
Steps to run the app
Step 0
: Prerequisites
Operating System: Windows 11
- Ensure Git is installed and accessible from the command line.
git --version
- Ensure Node.js v21.7.3 and npm v10.5.0 are installed and accessible from the command line.
node -v && npm -v
- Ensure Python is installed and accessible from the command line.
python -V
Step 1
: Clone the Steadfast Monorepo
- Download & Install GitHub Desktop
- On top right of this repo click "Code" > "Open with GitHub Desktop"
- Choose a local path and click "Clone"
- Open the monorepo folder in file explorer.
Step 2
: Install
Double-click the install-all.bat
file or run it from the command prompt.
What it does:
- Clones the steadfast-app repository
- Installs app dependencies
- Clones the steadfast-api repository
- Installs API dependencies
- Clones the steadfast-websocket repository
- Installs WebSocket dependencies
Step 3
: Start
Double-click the start-all.bat
file or run it from the command prompt.
What it does:
- Starts the steadfast-app at
localhost: 5173
- Starts the steadfast-api server at
localhost: 3000
- Starts the flattrade-websocket server at
localhost: 8765
- Starts the shoonya-websocket server at
localhost: 8766
Step 4
: Stop
- To
Stop
simply close the opened command prompt windows. - Or Press any key to stop the app, api and websocket.