Skip to main content

Crate pine_lang

Crate pine_lang 

Source

Re-exports§

pub use pine_ast as ast;
pub use pine_builtins as builtins;
pub use pine_core as core;
pub use pine_data as data;
pub use pine_interpreter as interpreter;
pub use pine_lexer as lexer;
pub use pine_parser as parser;

Structs§

Backtest
What a strategy produced over a run: the equity curve, the trade log, and the summary values Pine exposes as strategy.*. Field names follow Pine’s.
Run
What a full replay produced. Owns its data, so the Script is dropped once [Script::run] returns.
RunResult
A run’s per-bar outputs turned into columns.
Script
A compiled PineScript program, and the bars it will run over.
ScriptBuilder

Enums§

Error
Error type for Pine operations

Traits§

DataProvider
A source of market data: given a symbol and a Pine timeframe, produce its bars.

Functions§

execute