Skip to main contentCrate pine_lang
Source 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;
- 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. - FileResolver
- A
LibraryLoader backed by an in-memory set of named sources: register a
library’s text under a path and import <path> resolves against it. - 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
- Error
- Error type for Pine operations
- DataProvider
- A source of market data: given a symbol and a Pine timeframe, produce its
bars.
- LibraryLoader
- Loads the source of a library by its import path.
- execute