transpile_pine
Transpile PineScript v6 to C++ locally using Docker. No API key or network required; source never leaves the machine.
Instructions
Transpile PineScript v6 source to a C++ translation unit locally, using the pineforge-codegen transpiler bundled in the pineforge-engine Docker image. No API key, no network — source never leaves the machine. Returns the generated C++ as text. Use backtest_pine if you also want to run the strategy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | PineScript v6 source (must include //@version=6). | |
| image | No | Docker image override. Defaults to ghcr.io/pineforge-4pass/pineforge-engine:latest. |