Usage Guide
This guide covers common usage patterns for TiPortfolio.
Python API
See the API Overview for the full Python API reference, or the Auto-Generated Reference for docstring-based documentation.
CLI
TiPortfolio includes a command-line tool. See the CLI Reference for full documentation.
# Quick example: monthly rebalance
tiportfolio monthly --tickers QQQ,BIL,GLD --start 2019-01-01 --end 2024-12-31 --ratio 0.7,0.2,0.1
Examples
See the examples/ directory for runnable scripts and notebooks.