Skip to content

Aravin/Algo-Trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Algo Trade

NIFTY50 Option Trading based on Global sentiment and well-known technical indicators.

Basic Flow Diagram

Local Setup

  1. Open the folder app/core
  2. Run the command yarn install or npm install
  3. Create the .env file and update the broker details & other configurations. Refer .env.sample for more details.
  4. Compile the project tsc
  5. Run the job yarn run start or npm run start.

App Starting Log

Trade Notification Log

Releases

V3 (latest)

  • Fetch global sentiment from moneycontrol.com
  • Fetch nifty50 sentiment from nseindia.com - AD Ratio
  • Fetch OI PCR from niftytrader.com
  • place order (via upstox)
  • exit if profit or loss hit

V2

  • Scrap Investing.com and get global indicies trend
  • Scrap Investing.com and get last 1 min trend to get sentiment & direction
  • Use technical indicator RSI, MACD, ATR
  • If everything goes good, place order (via finvasia)
  • Exit the order if profit or loss hit (configurable %)

V1

  • Scrap Investing.com and get global indicies trend
  • Scrap Investing.com and get last 5 min trend & 1 min trend to get sentiment & direction
  • Use technical indicator ATR, RSI, HL
  • If everything goes good, place order (via finvasia)
  • Exit the order if profit or loss hit (configurable %)

Global Sentiments

  1. Dow Jones
  2. Nikkei 225
  3. Hang Seng
  4. Shanghai
  5. FTSE 100
  6. KOSPI 50
  7. CAC 40
  8. SGX NIFTY
  • Brent Oil
  • USD/INR

Technical Indicators

  1. Pivot Points
  2. Moving Averages
  3. RSI
  4. MACD

Configurations

  • Max trades per day
  • Max profit % per day
  • Max profit % per trade
  • Max loss % per day
  • Max loss % per trade

How to Access?

  • API
  • Website

Supported Brokers

  • Finvasia
  • Upstox (in progress)

Important Links

  • To get NIFTY50 data nseindia.com/api/equity-stockIndices?index=NIFTY%2050
  • To get Global data

Contact / Issue / Feedback

Trade Logs (store in AWS)

Basic Flow Diagram