algo-setup
Installation
SKILL.md
Set up the local Python environment for building and running OpenAlgo dual-mode trading strategies.
Arguments
$0 (optional) = python interpreter name (python, python3, python3.12). Default: python.
What to do
-
Detect the OS (Windows / macOS / Linux) via
uname -soros.name. Use OS-specific install commands for the TA-Lib C library (whichpip install ta-libdepends on). -
Create venv if not already present:
python -m venv venv -
Install TA-Lib C library (required by Python
ta-lib):- macOS:
brew install ta-lib - Ubuntu/Debian:
sudo apt install libta-lib-dev(may needsudo apt update) - Windows:
pip install ta-libuses pre-built wheels - no C library install needed
- macOS: