numin package
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
numin-2.0.4.tar.gz
(26.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
numin-2.0.4-py3-none-any.whl
(29.4 kB
view details)
File details
Details for the file numin-2.0.4.tar.gz.
File metadata
- Download URL: numin-2.0.4.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02c994d4a7c3295efa657a47e857882a2e483544f5c1bd38cfd9097e9ed0ee19
|
|
| MD5 |
489faa4506d5cb0bd0ef8f49f80c79c1
|
|
| BLAKE2b-256 |
61548010cc16582521cd47c7817f0dd90e41d7feb7e4e2cc27d13053ba5bb83d
|
File details
Details for the file numin-2.0.4-py3-none-any.whl.
File metadata
- Download URL: numin-2.0.4-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ab48bae338f5edb27967958a448e3d702184a15beb2e72d6b7dc04494fffc64
|
|
| MD5 |
83ed27f7097b0859b2d07d8ffda457a8
|
|
| BLAKE2b-256 |
e496c9cb09fc5091776a5f5c881ddcb5cb4684c43c8be3c09fa4b9bdd256aea6
|