🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

api5paisa

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api5paisa

Unoffical Browser Based Python API of 5paisa

0.0.9
94

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Maintainers
2

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts