# Backtesting REST API

**URL:** <https://forum.alpaca.markets/t/backtesting-rest-api/6258>\
**Category:** Feature Requests\
**Created:** [July 19, 2021, 2:40pm UTC](https://forum.alpaca.markets/t/backtesting-rest-api/6258 "2021-07-19T14:40:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bdavis9d](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/bdavis9d/32/2858_2.png) [@bdavis9d](https://forum.alpaca.markets/u/bdavis9d)\
**Post date:** [July 19, 2021, 2:40pm UTC](https://forum.alpaca.markets/t/backtesting-rest-api/6258/1 "2021-07-19T14:40:41Z")

</div>

I love that Alpaca added a REST API for retrieving historical data. My app doesn’t really fit into the boxes of using an online backtesting service - I would love to see Alpaca add a feature where you could use a REST API to perform some backtesting type features. I’ve implemented some very rudamentary backtesting code locally, but the problems that I have are:

- Stock Splits
- Symbol Changes
- Any valuation changes I don’t understand

I would love to be able to purchase “across history” using a paper account, to avoid some of these hiccups.

Related: [Backtesting with Alpaca native api](https://forum.alpaca.markets/t/backtesting-with-alpaca-native-api/1831)

---

<div class="post-metadata">

**Author:** ![dcrane](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dcrane/32/1612_2.png) [@dcrane](https://forum.alpaca.markets/u/dcrane)\
**Post date:** [July 22, 2021, 1:56am UTC](https://forum.alpaca.markets/t/backtesting-rest-api/6258/2 "2021-07-22T01:56:32Z")

</div>

What type of app are you building? I’m currently building an app that does this, [breakingequity.com](http://breakingequity.com), integrated directly to Alpaca for algotrading.
