Professional Documents
Culture Documents
API Order Types - IG Labs PDF
API Order Types - IG Labs PDF
Trading basics
API order types
API order types
Client libs and Sample apps There are two types of order available on our API:
REST trading API Immediate orders
Guide Resting orders
Reference
API companion
Immediate order types
Streaming API
Guide There are two kinds of immediate order:
The market price is outside your specified limit (higher for buy orders, lower for sell orders)
There is insufficient volume available to satisfy the full order size
Examples
Resting orders
There are two kinds of resting order:
Limit order - This is an order to close a long position when the market reaches a higher level than the current price, or close a short position when the
market reaches a lower level. For example, let’s say you have a long position that’s currently in profit. If you have a target level at which you’d be happy
to collect your gains, you can set a limit to close out your position when and if this level is met. You may then avoid the risk of a subsequent change in
market direction wiping out your profit
Stop order - This is an order to close an open position by selling when the market reaches a lower level, or buying when the market reaches a higher
level. This type of order is known as a stop-loss and is commonly used to close out a position at a predetermined level, effectively restricting the amount
of money you could lose. Adding a stop order means your position will be closed if the market moves too far against you
© 2003-2019
The products we provide are leveraged products. Trading with leverage may not be suitable for everyone and can result in losses that exceed your deposits, so please ensure that you fully
understand the risks involved.
For more information about IG Group and our offices in the UK, across Europe, Australia, Japan, Singapore and South Africa please see IG.com.
The information on this site is not directed at residents of the United States and is not intended for distribution to, or use by, any person in any country or jurisdiction where such distribution or
use would be contrary to local law or regulation.
Spread betting is only available from our UK entities.
* For CFDs, based on revenue excluding FX, published financial statements, October 2016