How to use get_pivots results - not memory locations #942
anon2010
started this conversation in
Help and support
Replies: 1 comment 2 replies
-
See the basic example in our guide. Essentially you're getting a series of The response class for Pivots is slightly more complex in that it also returns an |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm passing in a dataframe with ohlcv data to get_pivots and I'm yet unable to figure out how to use/format the results. I just keep getting memory locations instead.
This prints:
[<stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DDCAF7F0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DDCAEC80>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DDCAF1F0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F00A0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0100>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0160>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F01C0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0220>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0280>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F02E0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0340>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F03A0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0400>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0460>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F04C0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0520>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0580>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F05E0>, <stock_indicators.indicators.pivots.PivotsResult object at 0x00000229DE1F0640>,...
I THINK I need to add something at the end of this line like
in zip(pandas.to_datetime(df.time), df.open, df.high, df.low, df.close, df.volume).some-other-func()
Any idea what I'm doing wrong here?
I thank you very much for the input.
Beta Was this translation helpful? Give feedback.
All reactions