alpacahq / Alpaca-API

The Alpaca API is a developer interface for trading operations and market data reception through the Alpaca platform.
https://alpaca.markets/
143 stars 13 forks source link

Clone live account state to paper account #130

Open grahamtt opened 4 years ago

grahamtt commented 4 years ago

Being able to clone my live account to my paper one would enable more accurate testing. If I could reset my account periodically, the relative performance comparison would be more meaningful.

calxibe commented 4 years ago

Bump! It would be a great adition, i'm doing it manully now but it's a nightmare.

Instead of using portofolio i'm using a table in my database that keeps track of prices since i reset the paper trading and place market buy/sell simular to my live account to get the right positions with correct quantity.

In the same request i would love to have multiple paper accounts to test different algos...