numin package
Project description
numin2 Package
numin2 is a Python package designed for algorithmic trading and backtesting providing an API called Numin2API.
numin (v1) is out of service as of Dec 2025
numin2 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: Backtesting cross-sectional predictions vs targets for Nifty50
- 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 or n returns
- Dimension of each day is 100,n. Returns tensor of shape batch_size,window_size,n for features. Default n=50. (Later n will be a parameter).
- Targets are next day returns / ranked returns of shape batch_size,n
-
Backytesting
backtest_positions(positions,targets)- Taks a batch of positions for 50 stocks
- Returns a dict such as {'daily_pnl','total_profit','sharpe_ratio,'mean_daily_return'}
Installation
Install numin2 using pip:
pip install numin2
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
numin2-1.0.1.tar.gz
(3.8 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
File details
Details for the file numin2-1.0.1.tar.gz.
File metadata
- Download URL: numin2-1.0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d118fa8b8f018b4e365328e656ce32e5a918c133e8c45e8859b84be93985c25d
|
|
| MD5 |
1dc47cf55754b5f89b6460bf9b4cd8f3
|
|
| BLAKE2b-256 |
c0419db7ea2cf4ed20cbc06454a99aab8d813977e42c900f75ab175eef493e4e
|
File details
Details for the file numin2-1.0.1-py3-none-any.whl.
File metadata
- Download URL: numin2-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
b6b976da7d24e11a1458442f91087f49c0f9c4f8a7b36b90bb79d90393824b29
|
|
| MD5 |
a87db98a56cd68d16d9e15f73a59ee8f
|
|
| BLAKE2b-256 |
dddc210c614913b1d5b43d2aa182fdbaff5e3c808b4dc775f9ccb0b68642c6df
|