facioquo/stock-indicators-python

Does the class Quote only accept Daily-Resolution data?

Closed this issue · 4 comments

Hi.
I ran into an issue when converting my .csv M1 data to iterable Quote instance.
It seemed like Quote.date only takes Daily-res series but not intraday?
Hope you can assist on a solution.

Much appricated,
Steven

Hi, @stevenpham1996 .
It doesn't restrict to daily data only. You can use intraday series.
If there's error message you got, please share with us.

Hi Geon/
Thanks for quick reply!
My data is this pandas dataframe
https://i.imgur.com/v5x9joD.png
I used the list comprehension method suggested in the docs.
https://i.imgur.com/FlK0ISv.png
And the code got stuck not giving an output though no error messgae either.
Anychance you're aware of the issue?

@stevenpham1996 It's hard to tell you what was wrong with it. When I see the images you uploaded, it seems there's nothing wrong. If you give us more detail, it will be helpful. (e.g. sample code, number of data, which indicator you use, params)

Tip

For a working example using price quotes from a pandas.DataFrame, see our Replit of the Williams Fractal indicator. If you're having general trouble getting setup, see our QuickStart guide.

See also:

  • #1165