stock-trek
A lightweight, composable time series and statistical toolkit designed for running crypto bots on stock-trek.com. Rust-native core with optional Python bindings
Overview
stock-trek provides core abstractions and utilities for working with market data, including:
- Order books
- Aligned/Rolling windows
- Ticks
- Statistical and analytical functions
Installation
Add to your Cargo.toml:
stock-trek = "0.2.6"
Python Bindings
stock-trek also provides Python bindings which can be installed via
pip install stock-trek
Usage
Implement the StockTrekAlgorithm trait and register it with the annotation #[register_algorithm]:
use *;
use *;
;
Stock-Trek verifies code before running it and disallows certain syntax elements. To verify code locally, install it with
then run the verify command with
Roadmap
Planned features include:
- Technical indicators (EMA, RSI, MACD, etc.)
- Backtesting and simulation utilities
Status
This project is in early development (0.x). APIs may change.
License
MIT