One way to do this is to tag the trades with a strategy/subaccount label when submitting your orders to Alpaca. You can then slice and dice your Alpaca account by label in Feather Finance, our portfolio management app. We have recently integrated the Alpaca API.
Here are the steps to follow:
- Signup for Feather Finance (it’s free, and we plan to always have a free tier)
- Link your Alpaca account(s) to your Feather Finance account via OAuth.
- Prefix a label to the client_order_id you send to Alpaca. Use different labels for your different trading strategies.
- Your transactions will feed automatically into Feather Finance, and they will be tagged with the corresponding label.
- Analyze the performance of each algo in Feather Finance by filtering by label.
Would love to get some feedback if this is useful to you. Don’t hesitate to reach out!
Note that you can also retrieve daily P/L and time weighted returns on specific strategies/labels via API by using our “portfolio/history”:
Here is a link to the google sheet in the video: