Skip to main content

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

Metadata

Release files for api5paisa 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for api5paisa 0.0.9
File Size Uploaded
api5paisa-0.0.9.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for api5paisa 0.0.9
File Interpreter ABI Platform
api5paisa-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / api5paisa-0.0.9.tar.gz

Download URL api5paisa-0.0.9.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dfc952da22aa4f2ed4e36f9835e797cdbe8eb34569eea85fb48326733d646c0c
BLAKE2b-256 checksum
How to use checksums
dcc990f574d6d97432115bf6b2cc087edf5ac716d0b00db3ebf7fe9bfb0ff7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / api5paisa-0.0.9-py3-none-any.whl

Download URL api5paisa-0.0.9-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1ec0349c990d3558025e468b518495aad27569c67f592a09ac120693460694c
BLAKE2b-256 checksum
How to use checksums
b93f638865ede3f6fd1bc19cf486f00028817869a4b6e942f69767bfd93f8f11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page