peerchemist / finta

Common financial technical indicators implemented in Pandas.
GNU Lesser General Public License v3.0
2.13k stars 688 forks source link

Pivot #92

Closed phantomsamurai closed 4 years ago

phantomsamurai commented 4 years ago

The Pivot Indicator is not returning a single serries of information like RSI or ATR? How do I get it to work?

peerchemist commented 4 years ago

How do you mean it's not returning a single series?

                  pivot           s1           s2           s3           s4           r1           r2           r3           r4
date                                                                                                                           
2015-12-12          NaN          NaN          NaN          NaN          NaN          NaN          NaN          NaN          NaN
2015-12-15   420.000000   420.000000   420.000000   420.000000   420.000000   420.000000   420.000000   420.000000   420.000000
2015-12-16   440.000000   430.000000   410.000000   400.000000   390.000000   460.000000   470.000000   490.000000   510.000000
2015-12-18   457.000000   444.000000   437.000000   424.000000   411.000000   464.000000   477.000000   484.000000   491.000000
2015-12-19   459.000000   459.000000   459.000000   459.000000   459.000000   459.000000   459.000000   459.000000   459.000000

Output looks exactly like expected.