Description Usage Arguments Value Examples
Updates an OTC position.
1 2 3 4 | IG_update_open_pos(headers,
url = "https://demo-api.ig.com/gateway/deal/positions/otc", limit_level,
stop_level, deal_id, trailingStop, trailingStopIncrement,
trailingStopDistance, timeo = 5)
|
headers |
Object returned from |
url |
API URL |
limit_level |
Limit level |
stop_level |
Stop level |
deal_id |
deal identifier |
trailingStop |
Whether the stop has to be moved towards the current level in case of a favourable trade |
trailingStopIncrement |
increment step in pips for the trailing stop |
trailingStopDistance |
Trailing stop distance |
timeo |
number of tries |
A data.frame
Deal reference of the transaction
1 2 | HEADERS = IG_Auth(" ","APIdemo1", " ")
IG_update_open_pos(HEADERS) # to be updated
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.