Rebalancing

Create Subscription

Creates a subscription between an account and a portfolio.

post/v1/rebalancing/subscriptions

Request

  • Base URL
    https://broker-api.giftcity.sandbox.in.alpaca.markets
  • URL
    https://broker-api.giftcity.sandbox.in.alpaca.markets/v1/rebalancing/subscriptions
  • Auth
    HTTP basic

Request body

account_idstring

Account ID. Account must be active and the account must not have any active subscriptions already (only 1 is permitted at a time)

portfolio_idstring

Portfolio ID. Portfolio must be active

Response

OK

account_idstring

Account ID subscribing to portfolio

created_atstring date-time

Subscription creation timestamp

idstring

Subscription ID

last_rebalanced_atstring

Last rebalancing event for this subscription. Can be null.

portfolio_idstring

Portfolio ID for subscription

Changes

No recorded changes to this operation across all 1 revision of this API.