News for hackers. Stuff that matters.
Re:Algorithmic Trading with Go by 1ark on Friday June 30, 2023 @09:21PM (#36545212)
Depending on your provider, but there could be an "Adjusted Close" (Yahoo has it) which includes stock splits and dividends. I tried a few backtesting libraries, thought backtesting.py[1] was easy to work with and straight to the point.

1. https://github.com/kernc/backtesting.py

Re:Algorithmic Trading with Go by jimmysnuka on Friday June 30, 2023 @10:22PM (#36545704)
Thanks. I've heard that yahoo finance historical price data is usually pretty accurate, but can get it wrong sometimes. Is there a better source for price data, or is yahoo finance good enough in your experience?
Re:Algorithmic Trading with Go by 1ark on Monday July 03, 2023 @09:03PM (#36580841)
Good enough for daily time-frames, and since you don't have to pay.