alpacahq / alpaca-trade-api-js

Node.js library for Alpaca Trade API.
https://www.npmjs.com/package/@alpacahq/alpaca-trade-api
Apache License 2.0
503 stars 132 forks source link

Documentation on backtesting algorithms with historical data #70

Closed mathew-kurian closed 4 years ago

mathew-kurian commented 4 years ago

What is the best way to test our algorithms with previous data?

aqilc commented 4 years ago

...you just fetch the data from that date and input it into your algorithm lmao. I thought you would know this if you were creating your own algorithm.

shlomiku commented 4 years ago

Hi, there is no backtester to the js-sdk. @mathew-kurian

mathew-kurian commented 4 years ago

@shlomikushchi Thank you. That would be a great feature imo. Is it in the roadmap?

shlomiku commented 4 years ago

not currently, no creating a backtester engine is complicated. we have under our python packages options for backtesting. maybe those could help you

mathew-kurian commented 4 years ago

@shlomikushchi I understand. Thank you for the prompt response. I'll give those a try