Questions tagged [pybacktest]

4 questions
2
votes
2 answers

Why can't I import pybacktest package?

I checked the method of importing this package on the Internet, and I also entered the pip command in cmd, but it still cannot be imported. May I ask why?
Jeff Hung
  • 21
  • 2
0
votes
0 answers

backtest library using python for alpaca data

through my api key i am importing the data from alpaca. but using the backtest library i receive this error. ValueError: data must be a pandas.DataFrame with columns 'Open', 'High', 'Low', 'Close', and (optionally) 'Volume' the code use to import…
0
votes
0 answers

RSI Crossover Back-Testing Issue

As I was running my RSI crossover back-testing script on Jupyter, I encountered an unexpected error message. Upon closer examination, I discovered that the issue stemmed from a KeyError with the "rsi21" column. This came as a surprise to me, as I…
0
votes
0 answers

Does backtrader or backtesting.py work with mapreduce and/or mrjob?

Would it be possible to backtest using either backtesting.py or backtrader doing mapreduce with the mrjob library or another? Unsure if backtrader or backtesting.py works with mapreduce/mrjob or if we will have to write some extra code to use…
Andy
  • 1