indicator-setup

Set up the Python environment for OpenAlgo indicator analysis. Installs openalgo, plotly, dash, streamlit, yfinance, matplotlib, seaborn, and creates the project folder structure.

By marketcalls · 463 installs

npx skills add marketcalls/openalgo-indicator-skills --skill indicator-setup

Source repository · Upstream listing

Set up the complete Python environment for OpenAlgo indicator analysis, charting, and dashboard development. Arguments $0 = Python version (optional, default: python3 ). Examples: python3.12 , python3.13 Note : openalgo 2.x requires Python 3.12 or newer (3.12 / 3.13 / 3.14). Check the version before creating the venv and abort with a clear message if it is older: Steps Step 1: Detect Operating System Map: Darwin = macOS, Linux = Linux, MINGW / CYGWIN / Windows = Windows. Step 2: Create Virtual Environment macOS / Linux: Windows: If user specified a Python version argument, use that instead of python3 . Step 3: Install Python Packages Install all required packages: Step 4: Create Project Folders Create only the top level directories. Subdirectories are created on demand by other skills. Step 5: Configure .env File 5a. Ask the user for their OpenAlgo API key using AskUserQuestion: "Enter your OpenAlgo API key (from the OpenAlgo dashboard at /apikey):" 5b. Ask for the OpenAlgo host URL: Default: http://127.0.0.1:5000 If user has a custom domain or ngrok URL, use that 5c. Optionally ask about WebSocket URL: Default: derived from host automatically Only needed if user has a custom WebSocket setup 5d. Write the .env file in the project root: 5e. Add .env to .gitignore : Step 6: Verify Installation Step 7: Print Summary Print a summary showing: Detected OS Python version used Virtual environment path Installed packages and versions Project folders created .env file status Available skills: /indicator chart , /custom indicator , /indicator dashboard , /indicator scanner , /live feed Important Notes Never install packages globally — always use the virtual environment If the user already has a virtual environment, ask before creating a new one NEVER commit .env files — they contain API keys python dotenv is used by all scripts to load .env via find dotenv() openalgo 2.x indicators run on a compiled Rust core inside the wheel — no JIT compilation or warmup; requires Python 3.12+