You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'])
The text was updated successfully, but these errors were encountered:
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'])
The text was updated successfully, but these errors were encountered: