joosthoeks / jhTAlib

Technical Analysis Library Time-Series
https://joosthoeks.github.io/jhTAlib/
GNU General Public License v3.0
152 stars 44 forks source link

Implementation for time series data #8

Closed thegamecat closed 4 years ago

thegamecat commented 5 years ago

If I wish to implement say bbands for time series data - do I keep updating a dataframe per time tick and making the call the bbands function to get the outputs?

joosthoeks commented 5 years ago

If you want to calculate the last bbands output with n period of 10. Then you need minimum 10 last ticks.

thegamecat commented 5 years ago

Sorry that's not quite what I mean - I mean what do I pass into bbands per tick? An array of the last 200 close prices?

joosthoeks commented 5 years ago

I made a minimal basic usage example. You can find it here: https://colab.research.google.com/github/joosthoeks/jhTAlib/blob/master/example/example-11-basic-usage.ipynb

thegamecat commented 5 years ago

That is the perfect example, got it working within 60 seconds!

Thank you so much.