This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

pine2pyne

Pine Script to Python converter, free and in your browser

Open Source
Investing
Developer Tools
GitHub
Visit WebsiteSee on Product HuntGithub ⧉PyPI ⧉

Hunted byPetr TripolskiyPetr Tripolskiy

Convert TradingView Pine Script v4, v5 and v6 indicators, strategies and libraries to PyneCore Python. The open-source pine2pyne transpiler runs in WebAssembly in your tab: no account, no quota, no upload. Plus 449 strategies and 471 indicators already compiled.

Top comment

Hi Product Hunt! I'm Petr, the maker of pine2pyne.

Public trading strategies exist mostly as Pine Script, so their backtests run only inside a TradingView chart. pine2pyne is a free, open-source (Apache-2.0) compiler front end for Pine Script v4, v5 and v6: it parses the full language, checks it the way the TradingView compiler does, and writes a Python module for PyneCore, the open-source runtime that executes Pine-style code bar by bar. Not a regex translator and not an online service.

What you get:

  • Indicators, strategies and libraries converted with Pine semantics preserved: series history, var/varip, na handling, user-defined types, enums, arrays, matrices, maps, multi-timeframe request.security

  • Strategy orders become a PyneCore strategy with trades and statistics (net profit, drawdown, profit factor, win rate) written to CSV

  • Every input.*() becomes a parameter of the generated main(), so a strategy can be optimised from Python

  • TradingView-grade error reporting with the Pine line and column

  • Runs in your browser (CPython compiled to WebAssembly, your source is not uploaded) or as a CLI: pip install pine2pyne

  • No account, no API key, no quota, no network: convert thousands of scripts in CI or in bulk

Also on GitHub: 449 TradingView community strategies, 471 indicators and 85 Pine libraries already compiled to PyneCore, ready to backtest on any market CCXT or a CSV file gives you, including exchanges TradingView does not list.

Feedback that would help most: Pine scripts that fail to convert, or whose backtest differs from TradingView.

Comment highlights

No comment highlights available yet. Please check back later!

About pine2pyne on Product Hunt

“Pine Script to Python converter, free and in your browser”

pine2pyne was submitted on Product Hunt and earned 2 upvotes and 1 comments, placing #151 on the daily leaderboard. Convert TradingView Pine Script v4, v5 and v6 indicators, strategies and libraries to PyneCore Python. The open-source pine2pyne transpiler runs in WebAssembly in your tab: no account, no quota, no upload. Plus 449 strategies and 471 indicators already compiled.

pine2pyne was featured in Open Source (69.1k followers), Investing (26.9k followers), Developer Tools (523.7k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 159.1k products, making this a competitive space to launch in.

Who hunted pine2pyne?

pine2pyne was hunted by Petr Tripolskiy. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how pine2pyne stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.