Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
adding scripMaster Documentation
  • Loading branch information
5paisa committed Apr 23, 2024
1 parent 1bd2a45 commit 7f3a527
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@ Note : Use these Links for getting scrip codes

Scrip Master - Downaload ScripMaster [here](https://openapi.5paisa.com/VendorsAPI/Service1.svc/ScripMaster/segment/All)

#Fetch Scrip Codes
scrips = client.get_scrips()
#Query Script Data Inputs sequence- exchange, exchangetype, symbol, strike, type, expiry
#Strike to be 0 for cash stocks , Actual Strike for Derivatives
#type to be XX for Cash stocks and Futures, EQ for indices, CE/PE for Options
#Fetch Scrip Data for Cash
record = client.query_scrips("N","C","ITC","0","XX","")
#Fetch Scrip Data for Options
record = client.query_scrips("N","D","NIFTY","22300","CE","2024-04-25")
#Fetch Scrip Data for Futures
record = client.query_scrips("N","C","INFY","0","XX","")


#### AUTHENTICATION USING OAUTH
```py
from py5paisa import FivePaisaClient
Expand Down

0 comments on commit 7f3a527

Please sign in to comment.