To get live and historical data, we need to send exchange token of the symbol. For some brokers we need to send token to place order also. This exchange token is same for almost all brokers. Zerodha have different tokens and Fyers have different format. So we create ScripMaster.csv, which have a symbol list with exchange, symbol, token.
For stocks equity/futures, we need to create NSEEquityList.csv /NSEEquityFuturesList.csv which have symbol name. Sample is given in GitHub
For Index and MCX, input can give in parameter of scrip master afl. Also you can make for any FnO symbol. For multiple symbols, do one by one.
Then click respective button. It create a csv file ***Master.csv. Then do this for all required symbols.
Then click "Join Files" button. Now all ***Master.csv are combined and new file created as ScripMaster.csv .
This is the token list we use for historical data and live data. Individual master files create with additional columns for expiry date, lot size, option chain strike difference , exchange and segment. In parameter there is option to import yes/no. If you enable, these data import to Symbol Information. Then you can use this data for order placing, ATM calculation. Broker which need to send token number for order place, must import this.
To use Stock options, you need to add points between strike price in "Point Value" . Scrip Master will import this to Futures symbol. Then create a watchlist which symbols you want to add options symbols. Then apply ExportStrike afl. Apply on analysis. Select the watchlist. Set number of strikes in parameter. 0 give only atm. First click explore. Check all columns ok. Then click scan. It create Options list.csv in API folder. Now from ScripMaster afl, click Stock options. Then click Join Files.
For stocks equity/futures, we need to create NSEEquityList.csv /NSEEquityFuturesList.csv which have symbol name. Sample is given in GitHub
For Index and MCX, input can give in parameter of scrip master afl. Also you can make for any FnO symbol. For multiple symbols, do one by one.
Then click respective button. It create a csv file ***Master.csv. Then do this for all required symbols.
Then click "Join Files" button. Now all ***Master.csv are combined and new file created as ScripMaster.csv .
This is the token list we use for historical data and live data. Individual master files create with additional columns for expiry date, lot size, option chain strike difference , exchange and segment. In parameter there is option to import yes/no. If you enable, these data import to Symbol Information. Then you can use this data for order placing, ATM calculation. Broker which need to send token number for order place, must import this.
To use Stock options, you need to add points between strike price in "Point Value" . Scrip Master will import this to Futures symbol. Then create a watchlist which symbols you want to add options symbols. Then apply ExportStrike afl. Apply on analysis. Select the watchlist. Set number of strikes in parameter. 0 give only atm. First click explore. Check all columns ok. Then click scan. It create Options list.csv in API folder. Now from ScripMaster afl, click Stock options. Then click Join Files.
Continue to Amibroker API Integration