Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Prophet – A financial micro-framework in Python. Parent comment
If I understand the code right, it looks at the closing price and then decides if it wants to buy.
https://github.com/Emsu/prophet/blob/master/prophet/backtest...
Look at lines 72 and 79. The data in the examples comes from YahooCloseData in data.py.
There are no comments on this comment yet.
If I understand the code right, it looks at the closing price and then decides if it wants to buy.
https://github.com/Emsu/prophet/blob/master/prophet/backtest...
Look at lines 72 and 79. The data in the examples comes from YahooCloseData in data.py.