Using PyneCore from Python code — embedding indicators and strategies into your applications.
While the CLI is great for quick runs and backtesting, you can also use PyneCore directly from Python. This lets you integrate Pine Script indicators and strategies into trading bots, custom backtesting frameworks, data pipelines, and more.
- ScriptRunner API - Running scripts from Python, overriding their inputs and settings, accessing indicator and strategy results
- Visual Output (Viz) - Plot styles and drawing data as an opt-in NDJSON stream
- Data & SymInfo - Loading and creating OHLCV data and symbol information
- Integration Patterns - Real-world integration examples (FreqTrade, live trading, custom systems)