je-suis-tm / quant-trading

Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD
https://je-suis-tm.github.io/quant-trading
Apache License 2.0
5.94k stars 1.2k forks source link

Psar problem #5

Closed alanzoudc closed 5 years ago

alanzoudc commented 5 years ago

Parabolic SAR backtest.py:46: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame

je-suis-tm commented 5 years ago

Right, my bad. Try to use .loc[ ] instead of direct slicing on dataframe. If you are too lazy to do that (as I am), just ignore it. Small warning, no big deal.

jhead67 commented 5 years ago

Gtfo. This is Spam.

On Sun, May 26, 2019 at 12:49 PM T.M. notifications@github.com wrote:

Closed #5 https://github.com/je-suis-tm/quant-trading/issues/5.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/je-suis-tm/quant-trading/issues/5?email_source=notifications&email_token=AKO36RL6L2AHKTJEZKNKQ73PXLEUJA5CNFSM4HPW7QJKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORUR2NFQ#event-2367923862, or mute the thread https://github.com/notifications/unsubscribe-auth/AKO36RJEOZ6GBBX36TNLEQDPXLEUJANCNFSM4HPW7QJA .