py5paisa icon indicating copy to clipboard operation
py5paisa copied to clipboard

API for list of all Scrips with Scrip code

Open ysravankumar opened this issue 5 years ago • 14 comments

for placing order, scrip code is required. but we don't have an API to fetch the scrip codes. API to fetch scrip details is much neededd

ysravankumar avatar Aug 04 '20 02:08 ysravankumar

This is underway, expect this very soon!

ba11b0y avatar Aug 04 '20 04:08 ba11b0y

@ysravankumar Meanwhile you can check the Get quote option at https://www.bseindia.com/

ba11b0y avatar Aug 04 '20 08:08 ba11b0y

@ysravankumar For now you can check https://www.bseindia.com/ for scrip codes for BSE and https://nse-scrips.herokuapp.com/ for scrip codes for NSE

ba11b0y avatar Aug 14 '20 06:08 ba11b0y

@invinciblycool thanks for the update, but it would be good to have a API to get the list. because FnO scrips code changes depending on expiry. it'll be hectic to webscrape these websites for codes.

ysravankumar avatar Aug 14 '20 12:08 ysravankumar

@invinciblycool @5paisa I see trading station downloads list of scrips in the start http://swaraj.5paisa.com/Download/TTADVClient/ScripMasterNseCash.gz http://swaraj.5paisa.com/Download/TTADVClient/ScripMasterNseFO.gz http://swaraj.5paisa.com/Download/TTADVClient/ScripMasterBseCash.gz http://swaraj.5paisa.com/Download/TTADVClient/ScripMasterBseFO.gz http://swaraj.5paisa.com/Download/TTADVClient/ScripMasterCurrency.gz

can we have something like this?

ysravankumar avatar Aug 16 '20 02:08 ysravankumar

Thanks @ysravankumar for pointing these out! We'll soon be including an API for fetching scrip codes for all segments. Stay tuned :tada:

ba11b0y avatar Aug 17 '20 14:08 ba11b0y

Hello,

Where can i find scrip code for bank nifty weekly options..

Thanks, Ritesh

ghost avatar Aug 22 '20 05:08 ghost

@invinciblycool @5paisa

Can you please confirm whether banknifty option can be traded?. If yes where can i find the script code...

Hello,

Where can i find scrip code for bank nifty weekly options..

Thanks, Ritesh

ghost avatar Aug 26 '20 13:08 ghost

anyone knows how to place limit order or buy and sale in cash segment

thanks Jugal

jugal-sheth avatar Aug 27 '20 13:08 jugal-sheth

@ysravankumar @rrjain1 Please check the scripmaster section at https://www.5paisa.com/developerapi/docs

ba11b0y avatar Aug 30 '20 09:08 ba11b0y

@jugs695369 Please check https://5paisa.github.io/usage/place/ for placing orders.

ba11b0y avatar Aug 30 '20 09:08 ba11b0y

@ba11b0y It's showing 404. can you help? any other alternative for options script

script404

pushand avatar Jun 08 '21 07:06 pushand

@invinciblycool @5paisa

Can you please confirm whether banknifty option can be traded?. If yes where can i find the script code...

Hello, Where can i find scrip code for bank nifty weekly options.. Thanks, Ritesh

@5paisa @ba11b0y please reply we are struggling lot

Im using below but still no getting zeros in all response field { "Exch": "N", "ExchType": "D", "Symbol": "BANKNIFTY 21 JUN 2021", "Expiry": "20210624", "StrikePrice": "35200", "OptionType": "CE" }

response { "body": { "CacheTime": 15, "Data": [ { "Exch": "N", "ExchType": "D", "High": 0, "LastRate": 0, "Low": 0, "PClose": 0, "TickDt": "/Date(1623112200000+0530)/", "Time": 0, "Token": 0, "TotalQty": 0 } ], "Message": "Success", "Status": 0, "TimeStamp": "/Date(1623177747850+0530)/" }, "head": { "responseCode": "5PMF", "status": "0", "statusDescription": "Success" } }

pushand avatar Jun 08 '21 18:06 pushand

@pushand Use this link: https://images.5paisa.com/website/scripmaster-csv-format.csv

In case you know the meaning of each column in this CSV, please help me understand that too. Thanks!

mr-easy avatar Jun 25 '21 07:06 mr-easy