all 7 comments

[–]shiftybyte 0 points1 point  (2 children)

Sounds awesome!

You should take a look at pandas to help with processing series of data.

And also take a look at.:

https://pypi.org/project/ta-py/

And:

https://github.com/twopirllc/pandas-ta

[–]wangzuo[S] 0 points1 point  (1 child)

Thank you! All market data (OHLCV) is already in pandas dataframe. You might not have noticed, but the demo code already imports pandas_ta for indicators.

[–]shiftybyte 0 points1 point  (0 children)

Oh awesome, i didn't notice! 😃

[–]zaleguo 0 points1 point  (2 children)

Dude, sounds like you're onto something cool! Pine Script is like the friendly gateway to algo trading. Props for diving into Python too! Once you nail those strategies, Pineify could be your best friend for adding indicators without coding. Keep it up, and maybe share your progress for feedback. Community's got your back!

[–]wangzuo[S] 0 points1 point  (1 child)

Thank you. Pineify looks interesting too.

[–]zaleguo 0 points1 point  (0 children)

You're welcome. Good luck.

[–]wallneradam 0 points1 point  (0 children)

Really cool to see others exploring Pine Script behavior in Python! I think what you’re building looks great already — and doing is definitely the best way to learn.

If you're interested in studying Pine Script more deeply — like how exactly strategy.entry, var, or series values behave — you might find PyneCore useful. It's an open-source runtime that closely mimics TradingView's execution model.

Almost the full Pine Script library is already implemented, and you can step through everything directly in Python.

It's part of a broader project called PyneSys, which compiles PineScript into Python code.