Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.24 KB

Programmatic Usage

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.

In this section

  • 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)