If my custom post backtest analytics want to access certain portfoliio charactiertics (e.g. portoflio value) at custom point in time of the backtest, is it possible to access this data via API?
i was hoping to access via log but log can't be downlaoded via API
Mia Alissi
Here's a copy-paste ready script for Kubid, showing how to access portfolio equity (value) at custom points in time using the QuantConnect API, rather than through log files:
Key steps:
.locor.asof.Replace the token and IDs, and Kubid has full, programmatic access to portfolio value at any custom point in time! No logs required.
Sources: Backtest Analysis - QuantConnect.com, US Equity - QuantConnect.com, Live Analysis - QuantConnect.com, Detecting Impactful News In ETF Constituents, Intraday Arbitrage Between Index ETFs
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Kubid
reponse form backtest/read doesnt' have the actual Chart Series Model hence:
But i managed to pull this with backtest/chart/read
But it seems the data returned is weekly - i presume first column is unix epoch?
Questions:
1. Is there anyways i can specify daily?
2. what are the 4 columns after unix epoch? I couldn't find any documentation.
Trader Ostburg
API Error Message: Error retrieving backtest chart, please try again later
Kubid
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!