export declare const schema = "syntax = \"proto3\"; \nimport \"google/protobuf/timestamp.proto\"; \n\noption saxobank_root = \"PriceResponse\";\n\nmessage PriceResponse {\n message Greeks {\n double delta = 1;\n double gamma = 2;\n double mid_vol = 3;\n double phi = 4;\n double rho = 5;\n double theta = 6;\n double vega = 7;\n }\n\n message HistoricalChanges {\n double percent_change1_month = 1;\n double percent_change1_year = 2;\n double percent_change2_months = 3;\n double percent_change2_years = 4;\n double percent_change3_months = 5;\n double percent_change5_years = 6;\n double percent_change6_months = 7;\n double percent_change_weekly = 8;\n }\n\n message InstrumentPriceDetails {\n double accrued_interest = 1;\n double ask_swap = 2;\n double bid_swap = 3;\n double cfd_borrowing_cost = 4;\n double cfd_hard_to_finance_rate = 5;\n bool cfd_price_adjustment = 6;\n bool dma = 7;\n double est_price_buy = 8;\n double est_price_sell = 9;\n google.protobuf.Timestamp expiry_date = 10;\n bool is_market_open = 11;\n double lower_barrier = 12;\n double mid_forward_price = 13;\n double mid_spot_price = 14;\n double mid_yield = 15;\n google.protobuf.Timestamp notice_date = 16;\n double open_interest = 17;\n double paid_cfd_interest = 18;\n double received_cfd_interest = 19;\n bool short_trade_disabled = 20;\n double spot_ask = 21;\n double spot_bid = 22;\n google.protobuf.Timestamp spot_date = 23;\n double strike_price = 24;\n double upper_barrier = 25;\n google.protobuf.Timestamp value_date = 26;\n }\n\n message MarginImpact {\n double impact_buy = 1;\n double impact_sell = 2;\n double initial_margin = 3;\n double maintenance_margin = 4;\n }\n\n message MarketDepth {\n repeated double ask = 1;\n repeated double ask_orders = 2;\n repeated double ask_size = 3;\n repeated double bid = 4;\n repeated double bid_orders = 5;\n repeated double bid_size = 6;\n int32 no_of_bids = 7;\n int32 no_of_offers = 8;\n bool using_orders = 9;\n }\n\n message PriceInfo {\n double high = 1;\n double low = 2;\n double net_change = 3;\n double percent_change = 4;\n }\n\n message TradableQuote {\n int32 amount = 1;\n double ask = 2;\n double bid = 3;\n int32 delayed_by_minutes = 4;\n string error_code = 5;\n double mid = 6;\n string price_type_ask = 7;\n string price_type_bid = 8;\n string quote_id = 9;\n string r_f_q_state = 10;\n }\n\n string asset_type = 1;\n Greeks greeks = 2;\n HistoricalChanges historical_changes = 3;\n InstrumentPriceDetails instrument_price_details = 4;\n google.protobuf.Timestamp last_updated = 5;\n MarginImpact margin_impact = 6;\n MarketDepth market_depth = 7;\n PriceInfo price_info = 8;\n string price_source = 9;\n TradableQuote quote = 10;\n int32 uic = 11;\n}"; export declare const fields: { asset_type: { type: string; id: number; }; greeks: { type: string; id: number; }; historical_changes: { type: string; id: number; }; instrument_price_details: { type: string; id: number; }; last_updated: { type: string; id: number; }; margin_impact: { type: string; id: number; }; market_depth: { type: string; id: number; }; price_info: { type: string; id: number; }; price_source: { type: string; id: number; }; quote: { type: string; id: number; }; uic: { type: string; id: number; }; }; export declare const objectMessage: { asset_type: string; greeks: { delta: number; gamma: number; mid_vol: number; phi: number; rho: number; theta: number; vega: number; }; historical_changes: { percent_change1_month: number; percent_change1_year: number; percent_change2_months: number; percent_change2_years: number; percent_change3_months: number; percent_change5_years: number; percent_change6_months: number; percent_change_weekly: number; }; instrument_price_details: { accrued_interest: number; ask_swap: number; bid_swap: number; cfd_borrowing_cost: number; cfd_hard_to_finance_rate: number; cfd_price_adjustment: boolean; dma: boolean; est_price_buy: number; est_price_sell: number; expiry_date: { seconds: string; }; is_market_open: boolean; lower_barrier: number; mid_forward_price: number; mid_spot_price: number; mid_yield: number; notice_date: { seconds: string; }; open_interest: number; paid_cfd_interest: number; received_cfd_interest: number; short_trade_disabled: boolean; spot_ask: number; spot_bid: number; spot_date: { seconds: string; }; strike_price: number; upper_barrier: number; value_date: { seconds: string; }; }; last_updated: { seconds: string; }; margin_impact: { impact_buy: number; impact_sell: number; initial_margin: number; maintenance_margin: number; }; market_depth: { ask: number[]; ask_orders: number[]; ask_size: number[]; bid: number[]; bid_orders: number[]; bid_size: number[]; no_of_bids: number; no_of_offers: number; using_orders: boolean; }; price_info: { high: number; low: number; net_change: number; percent_change: number; }; price_source: string; quote: { amount: number; ask: number; bid: number; delayed_by_minutes: number; error_code: string; mid: number; price_type_ask: string; price_type_bid: string; quote_id: string; r_f_q_state: string; }; uic: number; }; export declare const decodedObjectMessage: { asset_type: string; greeks: { delta: number; gamma: number; mid_vol: number; phi: number; rho: number; theta: number; vega: number; }; historical_changes: { percent_change1_month: number; percent_change1_year: number; percent_change2_months: number; percent_change2_years: number; percent_change3_months: number; percent_change5_years: number; percent_change6_months: number; percent_change_weekly: number; }; instrument_price_details: { accrued_interest: number; ask_swap: number; bid_swap: number; cfd_borrowing_cost: number; cfd_hard_to_finance_rate: number; cfd_price_adjustment: boolean; dma: boolean; est_price_buy: number; est_price_sell: number; expiry_date: string; is_market_open: boolean; lower_barrier: number; mid_forward_price: number; mid_spot_price: number; mid_yield: number; notice_date: string; open_interest: number; paid_cfd_interest: number; received_cfd_interest: number; short_trade_disabled: boolean; spot_ask: number; spot_bid: number; spot_date: string; strike_price: number; upper_barrier: number; value_date: string; }; last_updated: string; margin_impact: { impact_buy: number; impact_sell: number; initial_margin: number; maintenance_margin: number; }; market_depth: { ask: number[]; ask_orders: number[]; ask_size: number[]; bid: number[]; bid_orders: number[]; bid_size: number[]; no_of_bids: number; no_of_offers: number; using_orders: boolean; }; price_info: { high: number; low: number; net_change: number; percent_change: number; }; price_source: string; quote: { amount: number; ask: number; bid: number; delayed_by_minutes: number; error_code: string; mid: number; price_type_ask: string; price_type_bid: string; quote_id: string; r_f_q_state: string; }; uic: number; }; export declare const schemaOption = "syntax = \"proto3\";\n option saxobank_root = \"InstrumentPriceDetails\";\n \n message Greeks {\n double delta = 1;\n double gamma = 2;\n double mid_vol = 3;\n double phi = 4;\n double rho = 5;\n double theta = 6;\n double vega = 7;\n }\n\n message HistoricalChanges {\n double percent_change1_month = 1;\n double percent_change1_year = 2;\n double percent_change2_months = 3;\n double percent_change2_years = 4;\n double percent_change3_months = 5;\n double percent_change5_years = 6;\n double percent_change6_months = 7;\n double percent_change_weekly = 8;\n }\n\n message InstrumentPriceDetails {\n double accrued_interest = 1;\n double ask_swap = 2;\n double bid_swap = 3;\n double cfd_borrowing_cost = 4;\n double cfd_hard_to_finance_rate = 5;\n bool cfd_price_adjustment = 6;\n bool dma = 7;\n double est_price_buy = 8;\n double est_price_sell = 9;\n google.protobuf.Timestamp expiry_date = 10;\n bool is_market_open = 11;\n double lower_barrier = 12;\n double mid_forward_price = 13;\n double mid_spot_price = 14;\n double mid_yield = 15;\n google.protobuf.Timestamp notice_date = 16;\n double open_interest = 17;\n double paid_cfd_interest = 18;\n double received_cfd_interest = 19;\n bool short_trade_disabled = 20;\n double spot_ask = 21;\n double spot_bid = 22;\n google.protobuf.Timestamp spot_date = 23;\n double strike_price = 24;\n double upper_barrier = 25;\n google.protobuf.Timestamp value_date = 26;\n HistoricalChanges historical_change = 27;\n Greeks greeks = 28;\n }\n"; export declare const encodedMessage = "CghGeE9wdGlvbhI/CUw3iUFgpSRAEfgZFw6EpCZAGQAAAAAAQI9AIdeGinH+JlQ/KSUGgZVDi9Q/MXsUrkfhetQ/OSlcj8L1KLw/GkgJAAAAAAAA8D8RAAAAAACYn0AZAAAAAAAACEAhAAAAAABwn0ApAAAAAAAAFEAxAAAAAACMn0A5AAAAAAAAHEBBAAAAAAAAIEAi1QEJAAAAAAAA8D8RAAAAAAAAAEAZAAAAAAAACEAhAAAAAAAAEEApAAAAAAAAFEAwATgBQQAAAAAAACBASQAAAAAAACJAUgYI+NqL0AVYAWHcRgN4CyT1P2nrc7UV+8vxP3HPZtXnaiv1P3nWxW00gLfzP4IBBgj42ovQBYkBsHJoke18vz+RASUGgZVDi9Q/mQEYeO49XHK8P6ABAakBw/UoXI/C8T+xAR+F61G4HvU/ugEGCPjai9AFwQFrmnecoiP1P8kB+MJkqmBU9T/SAQYI+NqL0AUqBgj42ovQBTIkCR+F61G4HvU/EQrXo3A9CgFAGcP1KFyPwvE/IYlBYOXQIvU/OnIKEIlBYOXQIvU/w/UoXI/C8T8SEPYoXI/C9QhA4XoUrkfhCEAaEAAAAAAAQI9AAAAAAABAn0AiECPb+X5qvPY/iUFg5dAi9T8qELx0kxgEVvg/nu+nxks39z8yEAAAAAAAQJ9AAAAAAADAkkA4IEBISAFCJAmuR+F6FK7zPxHsUbgehevxPxkAAAAAAAAmQCG4HoXrUbi+P0oGTkFTREFRUksIzgkRrkfhehSu8z8Zw/UoXI/C8T8gFyoEMTIzNTFmZmZmZmbyPzoHYXNrdHlwZUIHYmlkdHlwZUoLMTIzMTNjZGFkYWRSBGlkbGVYrGA="; export declare const encodedMessageOrder = "Gi0iCEFMR08tVVNEUgNidXn6AQZhYmMxMjOKAggI+NqL0AUQAJECmbuWkA969T8aLSIDRVVSUgRzZWxs+gEGeHdjNDU2igIMCPjai9AFEMDDrvUCkQLl0CLb+T4iQA=="; export declare const orderObjectMessage: { Collection: { OrderId: string; BuySell: string; AccountId: string; Price: number; OrderTime: { seconds: string; nanos: string; }; }[]; }; export declare const orderSchema = "\n syntax = \"proto3\"; \n option saxobank_root = \"CollectionEnvelope\";\n import \"google/protobuf/timestamp.proto\";\n \n message Guid {\n repeated int32 __meta_nulls = 1;\n }\n \n message InstrumentDisplayAndFormat {\n repeated int32 __meta_nulls = 1;\n int32 BarrierDecimals = 2;\n string BarrierFormat = 3;\n string Currency = 4;\n int32 Decimals = 5;\n string Description = 6;\n string DisplayHint = 7;\n string Format = 8;\n int32 NumeratorDecimals = 9;\n int32 OrderDecimals = 10;\n int32 StrikeDecimals = 11;\n string StrikeFormat = 12;\n string Symbol = 13;\n }\n \n message OrderDuration {\n repeated int32 __meta_nulls = 1;\n string DurationType = 2;\n .google.protobuf.Timestamp ExpirationDate = 3;\n bool ExpirationDateContainsTime = 4;\n }\n \n message InstrumentExchangeDetails {\n repeated int32 __meta_nulls = 1;\n string Description = 2;\n string ExchangeId = 3;\n bool IsOpen = 4;\n }\n \n message OrderOptionsData {\n repeated int32 __meta_nulls = 1;\n .google.protobuf.Timestamp ExpiryDate = 2;\n string PutCall = 3;\n double Strike = 4;\n }\n \n message RelatedOrderInfo {\n repeated int32 __meta_nulls = 1;\n bool __meta_deleted = 2;\n double Amount = 3;\n OrderDuration Duration = 4;\n string OpenOrderType = 5;\n string OrderId = 6;\n double OrderPrice = 7;\n double StopLimitPrice = 8;\n double TrailingStopDistanceToMarket = 9;\n double TrailingStopStep = 10;\n }\n \n message OrderResponse {\n repeated int32 __meta_nulls = 1;\n bool __meta_deleted = 2;\n repeated int32 __meta_empty = 3;\n string AccountId = 4;\n string AccountKey = 5;\n string AlgoStrategyName = 6;\n double Amount = 7;\n string AmountAccountValueRatio = 8;\n string AssetType = 9;\n string BuySell = 10;\n string CalculationReliability = 11;\n double CashAmount = 12;\n string ClientKey = 13;\n string CopiedPositionId = 14;\n Guid CorrelationKey = 15;\n string CorrelationTypes = 16;\n double CurrentPrice = 17;\n int32 CurrentPriceDelayMinutes = 18;\n .google.protobuf.Timestamp CurrentPriceLastTraded = 19;\n string CurrentPriceType = 20;\n InstrumentDisplayAndFormat DisplayAndFormat = 21;\n double DistanceToMarket = 22;\n OrderDuration Duration = 23;\n InstrumentExchangeDetails Exchange = 24;\n .google.protobuf.Timestamp ExpiryDate = 25;\n double FilledAmount = 26;\n double MarketPrice = 27;\n string OpenOrderType = 28;\n OrderOptionsData OptionsData = 29;\n string OrderAmountType = 30;\n string OrderId = 31;\n string OrderRelation = 32;\n .google.protobuf.Timestamp OrderTime = 33;\n double Price = 34;\n repeated RelatedOrderInfo RelatedOpenOrders = 35;\n string RelatedPositionId = 36;\n string Status = 37;\n double StopLimitPrice = 38;\n int32 SwitchInstrumentUic = 39;\n string ToOpenClose = 40;\n string TradeIdeaId = 41;\n double TrailingStopDistanceToMarket = 42;\n double TrailingStopStep = 43;\n int32 Uic = 44;\n .google.protobuf.Timestamp ValueDate = 45;\n }\n \n message CollectionEnvelope {\n repeated int32 __meta_nulls = 1;\n repeated int32 __meta_empty = 2;\n repeated OrderResponse Collection = 3;\n }\n";