Skip to content
forked from aeron7/api5paisa

Unoffical Browser Based Python API of 5paisa

License

Notifications You must be signed in to change notification settings

grsb007/api5paisa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api5paisa

Unoffical Browser Based Python API of 5paisa made at Unofficed.

Its created live today morning only. https://youtube.com/watch?v=2PXSfi0Rsho

Feel Free to Tweak it, Modify it and Add the rest of the missing functions to it at your pace.

Installation

Use the package manager pip to install api5paisa.

pip install api5paisa

Usage

from api5paisa import Api5Paisa

api = Api5Paisa()
api.login("email or clientId", "passowrd", "dob in the format ddMMyyyy")
#for easy access create ~/.5paisa.conf and user api.login() refer examples/5paisa.conf

#Get Margin
print(api.get_margin())

#Get Trade Book
print(api.get_trade_book())

#Firing Order
order_response = api.order('SBIN', 170.2, 1)
print(order_response)
print(api.get_order_book())

Documentation

For Documentation and Sample Code, Refer - https://forum.unofficed.com/

Contributing

For Discussion and Improving this Code, Join - https://www.unofficed.com/chat/

License

MIT

About

Unoffical Browser Based Python API of 5paisa

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%