De-Risk Capital Deployment With Paper Portfolios

Submit live, timestamped trades from your investment strategies (out of sample) to simulate live performance in the market using the ForecastOS API

paper_portfolio_update.py
1 import requests
2 
3 payload = {
4     "paper_portfolio_update": {
5         "paper_portfolio_id": 1,
6         "holding_weights": {
7             "AAPL": 0.56,
8             "TSLA": 0.44
9         }
10    }
11}
12
13url = "https://acme.forecastos.com/api/v1"
14update = "/paper_portfolios/create_or_update"
15
16# Update your Paper Portfolio
17requests.post(url + update, json=payload)

Trusted by the world’s most innovative investors

DelphiaOracle Alpha