Broker API HubMenu

IG Streaming ACCOUNT:{account identifier}

messageACCOUNT:{account identifier}IG Streaming APILightstreamerAccount and trades

Live figures for one account: profit and loss, margin, funds, equity and the cash available to trade, each sent again as it changes.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

Independent and unofficiallabs.ig.comchecked

This is a subscription of the IG Streaming API, not an HTTP endpoint. It has no method and no path: it travels over a Lightstreamer connection that stays open, which a Lightstreamer client library manages.

The message

Name
ACCOUNT:{account identifier}
Direction
Subscription, opened by the client and then fed by the server
Subscribed to as
ACCOUNT:{account identifier}, in the mode MERGE
Carried by
Lightstreamer. IG's Streaming API Guide (labs.ig.com/streaming-api-guide.html), opened the same day, says the server address is the Lightstreamer address returned by the REST /session call and should not be hard coded, that the user is the active account identifier, and that the password is built from the CST and X-SECURITY-TOKEN tokens of the REST session. It gives 40 as the default number of simultaneous subscriptions on one connection.

Fields

NameTypeDescription
PNLNot statedThe profit and loss of the account.
DEPOSITNot statedThe minimum deposit the account needs for its margins.
AVAILABLE_CASHNot statedThe cash available to trade, once the balance, the profit and loss and the minimum deposit have been taken into account.
PNL_LRNot statedProfit and loss on limited risk positions.
PNL_NLRNot statedProfit and loss on positions that are not limited risk.
FUNDSNot statedThe funds of the account.
MARGINNot statedThe margin in use.
MARGIN_LRNot statedMargin on limited risk positions.
MARGIN_NLRNot statedMargin on positions that are not limited risk.
AVAILABLE_TO_DEALNot statedThe amount available to trade.
EQUITYNot statedThe equity of the account.
EQUITY_USEDNot statedThe equity in use.

Limits that apply at IG

LimitValueScopeSource
Historical price data points a week10,000Per account, price history endpoints onlylabs.ig.comchecked
Non trading requests a minute30Per account, non trading calls onlylabs.ig.comchecked
Non trading requests a minute60Per application, that is per API key, non trading calls onlylabs.ig.comchecked
Concurrent streaming subscriptions40Per streaming connectionlabs.ig.comchecked corroborated by labs.ig.com/streaming-api-guide.html
Trading requests a minute100Sources conflict ig.com states around 40, checked . IG's own pages disagree. The conflict is labelled, not resolved. Pace against 40.Per account, trading calls onlylabs.ig.comchecked