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.2.tar.gz
(3.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
File details
Details for the file numin2-1.0.2.tar.gz.
File metadata
- Download URL: numin2-1.0.2.tar.gz
- Upload date:
- Size: 3.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 |
b5a5ed6c5e19220f1c74898de3f6104aa3f361f926866406ca1ae1d5634aa5a2
|
|
| MD5 |
e977e0ab5b4a651968f037ecce7aebd2
|
|
| BLAKE2b-256 |
f92c23c4cc11232464b20d63ae56f03ed57662e09c1f12f9fd204088750f7a09
|
File details
Details for the file numin2-1.0.2-py3-none-any.whl.
File metadata
- Download URL: numin2-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
29ab3869e49e7d492fa5548623d70915066a7289187aef04d7eb07f8395840b3
|
|
| MD5 |
dcd98b558849195f45a4002f15830c53
|
|
| BLAKE2b-256 |
30431e669272c9dbe3ebcb4139e6c5c04845fd766fae6dad03fdc0df8dc5be9a
|