cuemacro / finmarketpy

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

backtest-example(second version) fails #10

Closed kalaytan closed 7 years ago

kalaytan commented 7 years ago

I've taken out a second example into separate file from finmarketpy_examples/backtest_example.py

Created a clean env and still getting the error. I guess it's something to do with changes in finmarketpy/backtest/backtestengine.py 2 weeks ago.

signals = backtest.get_porfolio_signal() # get final signals for each series AttributeError: 'Backtest' object has no attribute 'get_porfolio_signal'

image

saeedamen commented 7 years ago

Hi @kalaytan - there was a spelling mistake (get_portfolio_signal), now fixed :-)

kalaytan commented 7 years ago

so true. works fine now.

42f4bc25a43 fixed it.

Thank you!