pybacktest icon indicating copy to clipboard operation
pybacktest copied to clipboard

Vectorized backtesting framework in Python / pandas, designed to make your backtesting easier — compact, simple and fast

Results 17 pybacktest issues
Sort by recently updated
recently updated
newest added

This is an issue with the pictured hello world code (bottom left). ![image](https://user-images.githubusercontent.com/1606391/116775705-3f6dd900-aa19-11eb-9c55-4eefab28e2f4.png) Actually, here is the shortest MWE: ``` import matplotlib import matplotlib.pyplot as plt import pybacktest import pandas...

There are small typos in: - pybacktest/ami_funcs.py - pybacktest/backtest.py Fixes: - Should read `occurred` rather than `occured`. - Should read `mimicking` rather than `mimicing`. - Should read `functions` rather than...

I have gone through the example code and I have a confusion in here bt = pybacktest.Backtest(locals(), 'ma_cross'). Instead of using locals() I want to use my own custom dict....

Hey, is it possible to change default position size to percent of equity or set amount of dollars?

Hello, I noticed Optimizer class, is it working, or is it unfinished?

Hello! When i wanted install a package "pip install git+https://github.com/ematvey/pybacktest.git" I got a error: Fatal: unable to access 'https://github.com/ematvey/pybacktest.git/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 What am i doing...

When testing with hourly data instead of the daily on the example app (ms/ml) and calling the summary, I get the following error: ``` Traceback (most recent call last): File...

Hey thank you for this simple backtester I want to do a backtest for a multiple indicator strategy > Eg: > Buy: Short_ SMA > Long_SMA & RSI < 20...

When running this: ``` import pybacktest ohlc = pybacktest.load_from_yahoo('SPY') ``` Raises error: ``` --------------------------------------------------------------------------- OverflowError Traceback (most recent call last) in () ----> 1 ohlc = pybacktest.load_from_yahoo('SPY') ~/.pyenv/versions/3.5.3/envs/acdt/lib/python3.5/site-packages/pybacktest/data.py in load_from_yahoo(ticker,...