Skip to main content

Assign Data Subscription to User

Once you have successfully created a Trading Account, you must assign a Market Data Subscription to your user.

Retrieve Market Data Subscriptions


API Reference: /MarketDataSubscription

Before assigning a Market Data Subscription (MDS) to a user, you must select a data subscription from our list.

To retrieve a list of all available data subscriptions, create a GET request to the endpoint referenced above.

Example Usage

curl -X 'GET' \
'https://userapi-demo.s2f.projectx.com/MarketDataSubscription' \
-H 'accept: text/plain'

Assign Market Data Subscription


API Reference: /MarketDataSubscription/user

After reviewing the available Market Data Subscriptions, you may assign an MDS to user.

Example Usage

  curl -X 'PUT' \
'https://userapi-demo.s2f.projectx.com/MarketDataSubscription/user' \
-H 'accept: text/plain' \
-H 'Content-Type: application/json' \
-d '{
"userId": 123,
"subscriptionId": "CMEGROUP_DOM"
}'

Notes

info

Adjusting subscriptions to a user will not incur a double charge. You may add / remove subscriptions at your discretion.

warning

When the user has no active accounts, remove all subscriptions associated with the user as not to incur additional charges. You may re-attach a subscription when you create a new active account for the user.