# Portfolios / Sub-accounts

**URL:** <https://forum.alpaca.markets/t/portfolios-sub-accounts/678>\
**Category:** Feature Requests\
**Created:** [January 21, 2020, 9:39am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678 "2020-01-21T09:39:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Curry](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/michael_curry/32/348_2.png) [@Michael\_Curry](https://forum.alpaca.markets/u/Michael_Curry)\
**Post date:** [January 21, 2020, 9:39am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/1 "2020-01-21T09:39:17Z")

</div>

Is there a way I can allocate funds to individual strategies?

I would like to break them up into portfolios like so: [https://blog.coinbase.com/introducing-portfolios-on-coinbase-pro-a5a2a2e02996](https://blog.coinbase.com/introducing-portfolios-on-coinbase-pro-a5a2a2e02996)

There is an open thread for sub-accounts here :

> <https://github.com/alpacahq/Alpaca-API/issues/35>
>
> In order to run multiple algorithms while understanding which order came from which algorithms.
> In order to test multiple algorithms simultaneously to...

Any new news?

---

<div class="post-metadata">

**Author:** ![nad](https://avatars.discourse-cdn.com/v4/letter/n/ed8c4c/32.png) [@nad](https://forum.alpaca.markets/u/nad)\
**Post date:** [June 4, 2020, 4:23pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/2 "2020-06-04T16:23:50Z")

</div>

I would also like to run multiple algorithms on the same or multiple sub-accounts with the same credentials.  
It could be sufficient for paper trading to test several features.

---

<div class="post-metadata">

**Author:** ![kris](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/kris/32/163_2.png) [@kris](https://forum.alpaca.markets/u/kris)\
**Post date:** [June 5, 2020, 4:32am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/3 "2020-06-05T04:32:43Z")

</div>

i can second this for live and paper, i need sub dashboards / accounts

---

<div class="post-metadata">

**Author:** ![PhilGapp](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/philgapp/32/732_2.png) [@PhilGapp](https://forum.alpaca.markets/u/PhilGapp)\
**Post date:** [June 10, 2020, 9:45am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/4 "2020-06-10T09:45:16Z")

</div>

Following and also yes!

I think the key would be the feature to allow many paper accounts, each with a separate API key and secret, that different algorithms or variations of algorithms could be tested against (one simple example I really want to play with is market vs. limit / stop limit and other orders, using the same hybrid technical indicator strategy algo - or the other obviously being testing entirely different algos).

This is key to then allow users who are not technical indicator savvy, or algo, or generally trading-savvy to view hypothetical results of different strategies to make a decision on which to use! It is also key for development and ongoing improvements, and then we could continue to track original results vs. subtle tweaks vs. major changes, customizations to technical indicator formulas and logic built on top of them, and R&D of completely new indicators 🙂

What will it take? Can I please help?!

---

<div class="post-metadata">

**Author:** ![Sudheer\_Kumar](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/sudheer_kumar/32/990_2.png) [@Sudheer\_Kumar](https://forum.alpaca.markets/u/Sudheer_Kumar)\
**Post date:** [September 1, 2020, 9:29am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/5 "2020-09-01T09:29:00Z")

</div>

Please add this feature, eagerly waiting for it.

---

<div class="post-metadata">

**Author:** ![ChaosRunner3D](https://avatars.discourse-cdn.com/v4/letter/c/7993a0/32.png) [@ChaosRunner3D](https://forum.alpaca.markets/u/ChaosRunner3D)\
**Post date:** [October 3, 2020, 4:55pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/6 "2020-10-03T16:55:47Z")

</div>

Please add this feature! I want multiple sub-accounts under my account with a separate API key and secret, to allocate a portion of my portfolio value to each one.

My uses:  
-Running multiple algorithms: I have 3 different profitable algorithms I want to run at the same time and see which one is better (currently one is Live Trading and the second in Paper). It’d be nice to have all three live trading.  
-Efficient money management: If my fund grows significantly, to upscale, I’d need multiple sub-accounts to offset my orders to avoiding market buying millions of dollars. For example, one of my algorithms uses the “close\_all\_positions()” function to dump multiple assets at once; instead of buying 10x the amount and dumping each asset in 1/10 increments, i want to close\_all\_positions() on 10 sub accounts to avoid slippage. A similar issue arises with my other algorithm with managing subsequent partial buys/sells to “fill up the pot”, supporting demand for multiple sub-accounts.

Right now my algorithms can support up to 1-2mil. It’d be nice to be able to support 10mil+ with this feature.

---

<div class="post-metadata">

**Author:** ![SierraVista90](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@SierraVista90](https://forum.alpaca.markets/u/SierraVista90)\
**Post date:** [October 22, 2020, 4:34pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/7 "2020-10-22T16:34:58Z")

</div>

YES! Please introduce the sub account or multiple account feature in Alpaca! I run 3 algos on alpaca live trading. I would like to have 3 sub accounts, one account for one algo. So I can track the performance of each account better. Thank you!

---

<div class="post-metadata">

**Author:** ![tashburn](https://avatars.discourse-cdn.com/v4/letter/t/e47c2d/32.png) [@tashburn](https://forum.alpaca.markets/u/tashburn)\
**Post date:** [October 31, 2020, 10:31pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/8 "2020-10-31T22:31:56Z")

</div>

I would also love this feature

---

<div class="post-metadata">

**Author:** ![the775](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/the775/32/1791_2.png) [@the775](https://forum.alpaca.markets/u/the775)\
**Post date:** [January 25, 2021, 12:38am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/9 "2021-01-25T00:38:36Z")

</div>

I’ve seen people mention they have been able to run sub-portfolios on other threads. Is this officially a feature? Where is the documentation for this?

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [January 25, 2021, 4:31pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/10 "2021-01-25T16:31:32Z")

</div>

Sub accounts is definitely on Alpaca’s active feature request list. No ETA but will keep everyone posted.

There are a few issues and subtleties which arise with multiple accounts. One is with day trading. Sub-accounts would typically be considered separate accounts. According to FINRA day trading rules

> you can’t use a cross-guarantee to meet any of the day-trading margin requirements. Each day-trading account is required to meet the minimum equity requirement independently, using only the financial resources available in the account.

In live trading, this rule would require a minimum of $25,000 in each sub-account which a user wishes to day trade. Not an issue in all cases but something to be aware of.

---

<div class="post-metadata">

**Author:** ![clumma](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/clumma/32/1787_2.png) [@clumma](https://forum.alpaca.markets/u/clumma)\
**Post date:** [January 25, 2021, 5:18pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/11 "2021-01-25T17:18:01Z")

</div>

Don’t implement as separate accounts. That will be a mess with margin etc. Instead, create multiple views into a single account.

---

<div class="post-metadata">

**Author:** ![rcaputo3](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/rcaputo3/32/2117_2.png) [@rcaputo3](https://forum.alpaca.markets/u/rcaputo3)\
**Post date:** [February 16, 2021, 4:21pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/12 "2021-02-16T16:21:55Z")

</div>

bump. this would be an excellent feature.

---

<div class="post-metadata">

**Author:** ![kris](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/kris/32/163_2.png) [@kris](https://forum.alpaca.markets/u/kris)\
**Post date:** [February 16, 2021, 4:34pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/13 "2021-02-16T16:34:08Z")

</div>

@hitoshi you gonna make us wait another year ?

---

<div class="post-metadata">

**Author:** ![eschloss](https://avatars.discourse-cdn.com/v4/letter/e/b3f665/32.png) [@eschloss](https://forum.alpaca.markets/u/eschloss)\
**Post date:** [March 23, 2021, 9:26pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/14 "2021-03-23T21:26:19Z")

</div>

+1

I have been meaning to move my robinhood funds (trading using the unofficial api) into alpaca, however I’ve been waiting on two features. 1) fractional shares…which got introduced recently and 2) subportfolios. I hacked together a way to handle multiple portfolios with the RH api, but it’s a ton of moving pieces that I’d prefer my code wasn’t responsible for.

---

<div class="post-metadata">

**Author:** ![Spongiform](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@Spongiform](https://forum.alpaca.markets/u/Spongiform)\
**Post date:** [July 17, 2021, 6:40pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/15 "2021-07-17T18:40:30Z")

</div>

I’ll second/third this.

I’d really like to be able to have multiple accounts (with a single login). Schwab technically allows for unlimited accounts but realistically you can have 6 before you have to call and talk to someone to open more.

---

<div class="post-metadata">

**Author:** ![badcap](https://avatars.discourse-cdn.com/v4/letter/b/f475e1/32.png) [@badcap](https://forum.alpaca.markets/u/badcap)\
**Post date:** [July 20, 2021, 2:40pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/16 "2021-07-20T14:40:17Z")

</div>

+1! Please add this ability 🙏

---

<div class="post-metadata">

**Author:** ![Xavier\_Robitaille](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/xavier_robitaille/32/2364_2.png) [@Xavier\_Robitaille](https://forum.alpaca.markets/u/Xavier_Robitaille)\
**Post date:** [August 4, 2021, 6:03pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/17 "2021-08-04T18:03:15Z")

</div>

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:

1. Signup for Feather Finance (it’s free, and we plan to always have a free tier)
2. Link your Alpaca account(s) to your Feather Finance account via OAuth.
3. Prefix a label to the client\_order\_id you send to Alpaca. Use different labels for your different trading strategies.
4. Your transactions will feed automatically into Feather Finance, and they will be tagged with the corresponding label.
5. 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!

[![](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/7/77ac0c4e5e52fc5b6d7e145820fb6a37ac5147d0.jpeg "Filter Portfolio by Trading Strategy (Alpaca - Feather Finance)") ](https://www.youtube.com/watch?v=hw3JLMQvvRM)

Note that you can also retrieve daily P/L and time weighted returns on specific strategies/labels via API by using our “portfolio/history”:

[![](https://us1.discourse-cdn.com/flex020/uploads/alp/original/2X/4/459d96fb9290e3214eca0d1775b1b699bd84dc07.jpeg "Get Alpaca Returns by Strategy via API") ](https://www.youtube.com/watch?v=F3UBPb4zsBs)

Here is a link to the google sheet in the video:

> **[PL\_by\_label](https://docs.google.com/spreadsheets/d/1V_VDNdAhR-RqBBRNvDPiIhJBpCKImIu6RAwhebvasuU/edit?usp=sharing)**
>
> PL\_by\_equity\_example
> 
> https://forum.alpaca.markets/t/portfolios-sub-accounts/678/16,bmeGNma69oUmLPyz1BRe01
> https://api-master.featherfinance.com:8181
> base url,endp...

---

<div class="post-metadata">

**Author:** ![davelove](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/davelove/32/2782_2.png) [@davelove](https://forum.alpaca.markets/u/davelove)\
**Post date:** [August 25, 2021, 5:07pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/18 "2021-08-25T17:07:15Z")

</div>

Yes, I would expect the PDT rule to apply to each subaccount.

---

<div class="post-metadata">

**Author:** ![Xavier\_Robitaille](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/xavier_robitaille/32/2364_2.png) [@Xavier\_Robitaille](https://forum.alpaca.markets/u/Xavier_Robitaille)\
**Post date:** [August 26, 2021, 8:17pm UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/19 "2021-08-26T20:17:47Z")

</div>

indeed, which is why it makes sense to trade all your strategies in one account, while at the same time tagging each trade with a strategy label in order to filter the portfolio and analyze it by strategy.

---

<div class="post-metadata">

**Author:** ![davelove](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/davelove/32/2782_2.png) [@davelove](https://forum.alpaca.markets/u/davelove)\
**Post date:** [August 27, 2021, 3:31am UTC](https://forum.alpaca.markets/t/portfolios-sub-accounts/678/20 "2021-08-27T03:31:44Z")

</div>

I used to do that in MQL/MT4. You can do apply comments and ‘magic numbers’ over there. I liked that platform, but forex got killed for the US and MT4 had other drawbacks, anyway.

I’m brand new here, though. I see that positions are shown in aggregate, rather than individually. Is it that I need to read filled orders? I thought they didn’t show after fill, but I wasn’t worried about it because I was only planning on working with aggregated positions.

[Next page](https://forum.alpaca.markets/t/portfolios-sub-accounts/678.md?page=2)
