11 articles with this tag
Write a valid Pyne code script with the @pyne module marker, imports and main() function. Learn required elements, decorators and the optional edge profile.
Browse PyneCore's built-in library by namespace. Look up function arguments, variables and constants, with usage examples and notes on Pine Script compatibility.
Manage strategy entries, exits and orders with PyneCore's strategy namespace. Look up position metrics, cancellation methods and functions used in backtests.
Inspect closed trades in PyneCore with strategy.closedtrades functions. Look up entry and exit details, bar indices, commissions and profit metrics by trade number.
Inspect open trades in PyneCore with strategy.opentrades functions. Read entry details, profit and loss, commissions and drawdown statistics by trade number.
Define PyneCore strategy risk rules that close positions, cancel pending orders or prevent new entries. Review risk function parameters and script examples.
Write PyneCore scripts with the required module marker and script structure. Learn how Series and persistent state work within Pine Script-style execution.
Create and test PyneCore strategies with script.strategy(). Configure backtest settings through TOML files and learn the basics of orders and position management.
Run PyneCore scripts from Python with ScriptRunner. Configure OHLCV data, symbol metadata and script inputs, then access indicator values and strategy results.
Configure PyneCore's bar magnifier to process strategy order fills using lower-timeframe data. Understand intrabar price assumptions and prepare the required data.
Test how much of a PyneCore strategy's backtest result could be luck: Monte Carlo of the trade sequence, coin-flip tests, bootstrap intervals, extra costs and period breakdowns.
This website uses cookies and similar technologies. By continuing to use the site, you accept this. Details in our Privacy Policy.