Skip to content

omex.proto

Generated from src/omsbridge/v1/proto/omex.proto on every documentation build.

Package: omsbridge.v1. Download this contract.

This reference describes wire types. See the integration guides for authentication, order recovery, units, and stream behavior. Proto3 scalar defaults do not indicate field presence; fields marked optional support explicit presence checks.

Field Number Type Cardinality / presence Description
account_id 1 string optional —
instrument_ids 2 string repeated —
commodity_markets 3 string repeated —

omsbridge.v1.OmexCustomerGetProfileRequest

Section titled “omsbridge.v1.OmexCustomerGetProfileRequest”
Field Number Type Cardinality / presence Description
account_id 1 string optional —

Field Number Type Cardinality / presence Description
avatar 1 string optional —
customer_type 2 string optional —
exchange_code 3 string optional —
gender 4 string optional —
is_legal 5 bool optional —
is_protected 6 bool optional —
first_name 7 string optional —
last_name 8 string optional —
principal_id 9 int64 optional —
username 10 string optional —

omsbridge.v1.OmexCustomerGetProfileResponse

Section titled “omsbridge.v1.OmexCustomerGetProfileResponse”
Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexCustomerInfo message —

omsbridge.v1.OmexDataGetCommoditiesRequest

Section titled “omsbridge.v1.OmexDataGetCommoditiesRequest”
Field Number Type Cardinality / presence Description
account_id 1 string optional —

Field Number Type Cardinality / presence Description
commodity_id 1 int64 optional —
market 2 string optional —
name 3 string optional —
caption 4 string optional —
base_instrument_ids 5 omsbridge.v1.OmexUnderlyingReference repeated —

Field Number Type Cardinality / presence Description
base_type 1 string optional —
instrument_id 2 string optional —

omsbridge.v1.OmexDataGetCommoditiesResponse

Section titled “omsbridge.v1.OmexDataGetCommoditiesResponse”
Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexCommodity repeated —

Field Number Type Cardinality / presence Description
account_id 1 string optional —
market 2 string optional —

Field Number Type Cardinality / presence Description
contract_id 1 int64 optional —
commodity_id 2 int64 optional —
market 3 string optional —
symbol 4 string optional —
description 5 string optional —
lot 6 int64 optional —
max_order_size 7 int64 optional —
status 8 string optional —
option_type 9 string optional —
strike_price 10 int64 optional —
last_trading_date 11 string optional —
last_exercise_date 12 string optional —

Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexContract repeated —

Field Number Type Cardinality / presence Description
account_id 1 string optional —

Field Number Type Cardinality / presence Description
instrument_id 1 string optional —
symbol 2 string optional —
title 3 string optional —
ins_code 4 int64 optional —

Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexStockInstrument repeated —

Field Number Type Cardinality / presence Description
account_id 1 string optional —
market 2 string optional —

Field Number Type Cardinality / presence Description
contract_id 1 int64 optional —
market 2 string optional —
contract_symbol 3 string optional —
version_id 4 int64 optional —
last_settlement_price 5 int64 optional —
last_traded_price 6 int64 optional —
trades_volume 7 int64 optional —
trades_value 8 int64 optional —
orders_date_time 9 string optional —
bid_price1 10 int64 optional —
bid_price2 11 int64 optional —
bid_price3 12 int64 optional —
bid_volume1 13 int64 optional —
bid_volume2 14 int64 optional —
bid_volume3 15 int64 optional —
ask_price1 16 int64 optional —
ask_price2 17 int64 optional —
ask_price3 18 int64 optional —
ask_volume1 19 int64 optional —
ask_volume2 20 int64 optional —
ask_volume3 21 int64 optional —

omsbridge.v1.OmexDataGetMarketViewResponse

Section titled “omsbridge.v1.OmexDataGetMarketViewResponse”
Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexCommodityUpdate repeated —

omsbridge.v1.OmexInstrumentGetBestLimitsRequest

Section titled “omsbridge.v1.OmexInstrumentGetBestLimitsRequest”
Field Number Type Cardinality / presence Description
account_id 1 string optional —
instrument_ids 2 string repeated —

Field Number Type Cardinality / presence Description
isin 1 string optional —
update_id 2 int64 optional —
limits 3 omsbridge.v1.OmexLimit repeated —

Field Number Type Cardinality / presence Description
row 1 int64 optional —
buy_price 2 int64 optional —
buy_volume 3 int64 optional —
buy_count 4 int64 optional —
sell_price 5 int64 optional —
sell_volume 6 int64 optional —
sell_count 7 int64 optional —

omsbridge.v1.OmexInstrumentGetBestLimitsResponse

Section titled “omsbridge.v1.OmexInstrumentGetBestLimitsResponse”
Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexBestLimits repeated —

omsbridge.v1.OmexInstrumentGetTradesRequest

Section titled “omsbridge.v1.OmexInstrumentGetTradesRequest”
Field Number Type Cardinality / presence Description
account_id 1 string optional —
instrument_ids 2 string repeated —

Field Number Type Cardinality / presence Description
isin 1 string optional —
update_id 2 int64 optional —
total_number_of_trades 3 int64 optional —
total_number_of_shares_traded 4 int64 optional —
total_traded_value 5 double optional —
today_first_price 6 double optional —
yesterday_price 7 double optional —
low_price 8 double optional —
high_price 9 double optional —
close_price 10 double optional —
last_price 11 double optional —

omsbridge.v1.OmexInstrumentGetTradesResponse

Section titled “omsbridge.v1.OmexInstrumentGetTradesResponse”
Field Number Type Cardinality / presence Description
result 1 omsbridge.v1.OmexInstrumentTrade repeated —

Field Number Type Cardinality / presence Description
isin 1 int64 optional —
real_buy_volume 2 int64 optional —
real_buy_count 3 int64 optional —
real_sell_volume 4 int64 optional —
real_sell_count 5 int64 optional —
legal_buy_volume 6 int64 optional —
legal_buy_count 7 int64 optional —
legal_sell_volume 8 int64 optional —
legal_sell_count 9 int64 optional —

Field Number Type Cardinality / presence Description
status 1 omsbridge.v1.HubStatus oneof event —
best_limit 2 omsbridge.v1.OmexBestLimits oneof event —
real_legal_trade 3 omsbridge.v1.OmexRealLegalTrade oneof event —
instrument_trade 4 omsbridge.v1.OmexInstrumentTrade oneof event —
commodity_update 5 omsbridge.v1.OmexCommodityUpdate oneof event —