alpacahq / example-scalping

A working example algorithm for scalping strategy trading multiple stocks concurrently using python asyncio
763 stars 184 forks source link

"Cannot do slice indexing" #4

Closed lngjake closed 4 years ago

lngjake commented 4 years ago

I wanted to see what I could do to build off of the base code, but I'm unable to get it to run. Can you think of any reason why I keep getting this error?

TypeError: cannot do slice indexing on <class 'pandas.core.indexes.numeric.Int64Index'> with these indexers [2020-03-13 09:30:00-04:00] of <class 'pandas._libs.tslibs.timestamps.Timestamp'>

Thanks for your help