IG Streaming ACCOUNT:{account identifier}
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.
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
| Name | Type | Description |
|---|---|---|
| PNL | Not stated | The profit and loss of the account. |
| DEPOSIT | Not stated | The minimum deposit the account needs for its margins. |
| AVAILABLE_CASH | Not stated | The cash available to trade, once the balance, the profit and loss and the minimum deposit have been taken into account. |
| PNL_LR | Not stated | Profit and loss on limited risk positions. |
| PNL_NLR | Not stated | Profit and loss on positions that are not limited risk. |
| FUNDS | Not stated | The funds of the account. |
| MARGIN | Not stated | The margin in use. |
| MARGIN_LR | Not stated | Margin on limited risk positions. |
| MARGIN_NLR | Not stated | Margin on positions that are not limited risk. |
| AVAILABLE_TO_DEAL | Not stated | The amount available to trade. |
| EQUITY | Not stated | The equity of the account. |
| EQUITY_USED | Not stated | The equity in use. |
Limits that apply at IG
| Limit | Value | Scope | Source |
|---|---|---|---|
| Historical price data points a week | 10,000 | Per account, price history endpoints only | labs.ig.comchecked |
| Non trading requests a minute | 30 | Per account, non trading calls only | labs.ig.comchecked |
| Non trading requests a minute | 60 | Per application, that is per API key, non trading calls only | labs.ig.comchecked |
| Concurrent streaming subscriptions | 40 | Per streaming connection | labs.ig.comchecked corroborated by labs.ig.com/streaming-api-guide.html |
| Trading requests a minute | 100Sources 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 only | labs.ig.comchecked |