I must say, I am not the best programmer. Can anyone help?
I want to replace the stoploss of Order 3204
data = {
"order": {
"units": "-1",
"instrument": "EUR_USD",
"price": "1.25000",
"type": "LIMIT"
}
}
api_order_limit_get_response = api.order.limit_replace(
accountID = "xxxxxxxx",
orderID = "3204",
data = data
)
print (api_order_limit_get_response.body['errorMessage'])