Skip to content

Gateway symbol mappings

Mappings are stored in gateway_symbol_mappings, separately from provider_config:

{"id":8,"gateway_id":3,"provider_symbol":"EUR/USD","source_name":"EURUSD"}
  • MngGetGatewaySymbolMappings — optional gateway_id;
  • MngAddGatewaySymbolMapping — requires gateway_id, provider_symbol, source_name;
  • MngUpdateGatewaySymbolMapping — requires all fields including id;
  • MngDeleteGatewaySymbolMapping — requires id.

(gateway_id, provider_symbol) is unique. Matching is exact and case-sensitive. An unmapped name passes unchanged. Mapping writes restart an enabled gateway to install a new immutable lookup. Deleting a gateway deletes all its mappings.