News
Latest announcements, releases, and updates from the PyneSys team — synced directly from our Discord announcement channel.
PyneIDE Preview is now on the VS Code Marketplace
You can now install PyneIDE directly from VS Code. Open Extensions, search for PyneIDE, and click Install, or use the link below:
Read more →Learn Pyne from scratch: a free book for building indicators and strategies
Our new book, Trading indicators and strategies with Pyne code, is now available online, free to read in 12 languages.
Read more →PyneIDE 0.9.0 Preview — Available for Early Testing
I’ve been working on a development environment for Pine Script and Pyne inside VS Code, and I’d love to hear what you think.
Read more →PyneCore v6.10.9: scripts start more than twice as fast after an edit
Before a script runs, PyneCore rewrites its Python so it behaves like Pine: variables that keep their value between bars, series history, and separate state for every ta.* call. In v6.10.9 this rewrite is about 2.2…
Read more →TradingView-exact math no longer costs speed
To match TradingView to the last digit, PyneCore computes math.log, math.exp, the trigonometric functions and a few others the same way TradingView's runtime does, instead of leaving them to the operating system's math…
Read more →The third round of performance work went after the cost every script pays on every bar
The first two rounds were about request.security. Multi-timeframe scripts were paying far more than they should, and they got several times faster. This one is about the per-bar cost a script pays whether or not it ever…
Read more →Higher-timeframe scripts now run in a fraction of the time
request.security` used to be the slowest part of a PyneCore backtest. A script that pulls in a few other timeframes or symbols could spend most of its run time on them. Over the last two releases we have taken that cost…
Read more →Multi-timeframe backtests in PyneCore got much faster
Strategies and indicators that pull data from other timeframes with request.security now backtest much faster in PyneCore. The output is the same as before, only the time it takes has changed.
Read more →PyneCore now runs integers the way TradingView does
On TradingView there is no integer at run time. Every number in a Pine script is a double; int exists only in the type checker. The most important consequence is what na means for an integer: it is the same not-a-number…
Read more →PyneCore now matches TradingView down to the last digit
Run a script in PyneCore and on TradingView and you used to get numbers that agreed for nine or ten digits, then quietly drifted apart. Close enough to look right, far enough that a backtest could take a trade the chart…
Read more →