cuemacro / finmarketpy

Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)
http://www.cuemacro.com
Apache License 2.0
3.41k stars 490 forks source link

.ix is deprecated since pandas-0.20 and removed in pandas-1.0.0 #33

Open vfilimonov opened 4 years ago

vfilimonov commented 4 years ago

Hello Saeed,

pandas selector .ix is no longer available and thus will trigger an error in newer pandas.

In master it is still present in eventstudy and backtestengine: https://github.com/cuemacro/finmarketpy/search?q=.ix&unscoped_q=.ix But also in findatapy (timeseries/{dataquality|calculations|filter}), which is a dependency: https://github.com/cuemacro/findatapy/search?q=.ix&unscoped_q=.ix

Best Vladimir

saeedamen commented 4 years ago

Thanks @vfilimonov - I've now replaced .ix with other indexing in Pandas in finmarketpy and findatapy and pushed out new releases. I need to upgrade my Pandas to version 1.x in general!

Regards Saeed

hoenie-ams commented 3 years ago

For reference: fixed in d3c3084.