MngUpdateGatewaySymbolMapping¶
Replaces an existing mapping record. Requires SESSION_ADMIN.
{"command":"MngUpdateGatewaySymbolMapping","id":8,"gateway_id":3,"provider_symbol":"EURUSD.r","source_name":"EURUSD","quote_enabled":true,"execution_enabled":true}
All fields shown above are required. gateway_id cannot be changed; delete the record and create another one to move a mapping to a different gateway.
The same uniqueness rules as MngAddGatewaySymbolMapping apply. An enabled gateway is restarted asynchronously after a successful update. Poll MngGetGatewayRuntime until it returns to READY.