numin Package
numin is a Python package designed for algorithmic trading and backtesting providing an API called NuminAPI.
numin v1 is out of service as of Dec 2025
numin v2 is under development; features available are documented below
Features
- Data Retrieval: Download training, round, and validation data.
- Prediction Submission: TBD
- Real-Time Round Management: TBD
- Backtesting: TBD
- File Management: TBD
- Returns Summary: TBD
Supported Methods
- Data Download:
get_data_for_month(self,year,month,batch_size=4,window_size=100,target_type='rank'):- Returns a torch dataloader for the given year and month of Nifty 50 returns
- Dimension of each day is 100,50. Returns tensor of shape batch_size,window_size,50 for features.
- Targets are next day returns / ranked returns of shape batch_size,50
- Backtesting:
compute_pnl(positions,targets):- Run backtests - given positions n,50 dimensional 1,0,-1 for each stock per day and targets from dataloader for test month.
- Returns daily_pnl, Sharpe, total pnl etc.
Installation
Install numin using pip:
pip install numin
Metadata
Release files for numin 2.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| numin-2.0.10.tar.gz | 26.6 kB | Without provenance | Details for numin-2.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| numin-2.0.10-py3-none-any.whl | Python 3 | none | any | Details for numin-2.0.10-py3-none-any.whl |
Total release size: 55.9 kB
Release files / numin-2.0.10.tar.gz
| Download URL | numin-2.0.10.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
728a0ab50ced0630ab4027caf21926ca443fc2005dc2e4b35bf341b2010b4965
|
|
BLAKE2b-256 checksum How to use checksums |
09fd4950ae51e6f0a0d3159ea9dc48e1380581e36929dfbffb2d4bec61a98128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / numin-2.0.10-py3-none-any.whl
| Download URL | numin-2.0.10-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
046c2ff8bf88ab0344050f3adb9fcac0d07fd49b276fcd8c76bd823de2065758
|
|
BLAKE2b-256 checksum How to use checksums |
b1c9a85cd65a26c54aa693f2a8c5d8bfe6292b96f252059d0038da56ba99c753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for numin 2.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.