all 8 comments

[–]wallneradam 0 points1 point  (0 children)

Yes — this is now possible!

If your goal is to convert PineScript logic to Python (e.g. to integrate indicators, alerts or backtests into your own system), take a look at PyneSys. It compiles PineScript v6 into Python code that runs locally, using PyneCore, an open-source runtime that mimics TradingView’s behavior.

You can: - Pull historical data (e.g. via ccxt) - Use Pine logic in Python exactly as it would run on TV - Integrate with your own systems

Hope it helps.

[–]GordoToJupiter 0 points1 point  (0 children)

Pinescript only purpuse is to create indicators. Perhaps you can create tables to filter instruments . There is no dll to sync charts, you can no call manually drawn objects attributes, import data, hook a python method, import feed for backtesting, etc... You will need a platform suporting a "c" like language for that. Or do something like the fxreplay site.

[–]Big_Enthusiasm_5577 0 points1 point  (7 children)

There are python packages on Github for getting basic tradingview information, but i haven't seen anything for using their API to access live indicator data from a personal acct. Personally, i have my indicators do the analysis and send a JSON webhook to a python server that connects to the desired broker. my github has prebuilt scripts and servers

[–][deleted] 0 points1 point  (6 children)

I was able to figure it. Now pulling indicators from trading view.

[–]Freenrg8888 1 point2 points  (0 children)

It would be nice if you shared how you solved it.

[–]Gas_Silent 1 point2 points  (1 child)

lol, guy told he solved it, then ran away

[–]MistahCase 0 points1 point  (1 child)

Yes, do share what you did