From 28b532aee52350f5f62496b10da3a4fa44a7c0bb Mon Sep 17 00:00:00 2001 From: Vitaliy Artemov Date: Wed, 13 Jan 2021 17:02:55 +0300 Subject: [PATCH] update to version 0.9.0 --- DigitexConnector/DWConverter.cs | 2 +- DigitexConnector/DigitexConnector.csproj | 2 +- .../CtlMessages/OrderCanceledData.cs | 6 + .../EngineAPI/CtlMessages/OrderFilledData.cs | 6 + .../EngineAPI/CtlMessages/OrderStatusData.cs | 6 + .../EngineAPI/CtlMessages/TraderStatusData.cs | 6 + DigitexConnector/EngineAPI/DigitexWire.cs | 8781 ++++++++++++++--- DigitexConnector/EngineAPI/Symbol.cs | 12 +- DigitexConnector/Symbols.mainnet.json | 18 +- DigitexConnector/Symbols.testnet.json | 87 +- DigitexConnector/Trading/TraderInfo.cs | 29 +- Example/IntervalAlgorithm.cs | 18 + Example/Symbols.json | 87 +- messages-public.proto | 21 +- 14 files changed, 7862 insertions(+), 1219 deletions(-) diff --git a/DigitexConnector/DWConverter.cs b/DigitexConnector/DWConverter.cs index 68da5ad..428ff0e 100644 --- a/DigitexConnector/DWConverter.cs +++ b/DigitexConnector/DWConverter.cs @@ -117,7 +117,7 @@ static public Guid FromProtoUuid(ByteString uuid) }; return new Guid(newBytes); } - + static public Guid GuidToUuid(Guid guid) { byte[] bytes = guid.ToByteArray(); diff --git a/DigitexConnector/DigitexConnector.csproj b/DigitexConnector/DigitexConnector.csproj index 46b4398..ee858f6 100644 --- a/DigitexConnector/DigitexConnector.csproj +++ b/DigitexConnector/DigitexConnector.csproj @@ -5,7 +5,7 @@ true false DigitexConnectorCSharp - 0.8.7 + 0.9.0 SmartDec https://smartdec.com/ SmartDec MIT diff --git a/DigitexConnector/EngineAPI/CtlMessages/OrderCanceledData.cs b/DigitexConnector/EngineAPI/CtlMessages/OrderCanceledData.cs index d68ad08..737e212 100644 --- a/DigitexConnector/EngineAPI/CtlMessages/OrderCanceledData.cs +++ b/DigitexConnector/EngineAPI/CtlMessages/OrderCanceledData.cs @@ -35,6 +35,11 @@ public class OrderCanceledData : CommonFields /// public Guid OrigClientId { get; } + /// + /// For spot markets, balance in base currency. + /// + public decimal TraderBalance2 { get; } + /// /// Constructor. /// @@ -59,6 +64,7 @@ public OrderCanceledData(Message message) PositionMargin = DWConverter.FromProtoDecimal(orderCanceledMessage.PositionMargin); Status = orderCanceledMessage.Status; TraderBalance = DWConverter.FromProtoDecimal(orderCanceledMessage.TraderBalance); + TraderBalance2 = DWConverter.FromProtoDecimal(orderCanceledMessage.TraderBalance2); Upnl = DWConverter.FromProtoDecimal(orderCanceledMessage.Upnl); BuyOrderMargin = DWConverter.FromProtoDecimal(orderCanceledMessage.BuyOrderMargin); Pnl = DWConverter.FromProtoDecimal(orderCanceledMessage.Pnl); diff --git a/DigitexConnector/EngineAPI/CtlMessages/OrderFilledData.cs b/DigitexConnector/EngineAPI/CtlMessages/OrderFilledData.cs index 3c1d644..b44e932 100644 --- a/DigitexConnector/EngineAPI/CtlMessages/OrderFilledData.cs +++ b/DigitexConnector/EngineAPI/CtlMessages/OrderFilledData.cs @@ -129,6 +129,11 @@ public class OrderFilledData : CommonFields /// public decimal OrigQuantity { get; } + /// + /// For spot markets, balance in base currency. + /// + public decimal TraderBalance2 { get; } + /// /// Constructor. /// @@ -148,6 +153,7 @@ public OrderFilledData(Message message) PositionMargin = DWConverter.FromProtoDecimal(orderFilledMessage.PositionMargin); OrderMargin = DWConverter.FromProtoDecimal(orderFilledMessage.OrderMargin); TraderBalance = DWConverter.FromProtoDecimal(orderFilledMessage.TraderBalance); + TraderBalance2 = DWConverter.FromProtoDecimal(orderFilledMessage.TraderBalance2); Pnl = DWConverter.FromProtoDecimal(orderFilledMessage.Pnl); Upnl = DWConverter.FromProtoDecimal(orderFilledMessage.Upnl); NewClientId = Status == OrderStatus.Partial ? DWConverter.FromProtoUuid(orderFilledMessage.NewClientId) : Guid.Empty; diff --git a/DigitexConnector/EngineAPI/CtlMessages/OrderStatusData.cs b/DigitexConnector/EngineAPI/CtlMessages/OrderStatusData.cs index 662f1c4..f828385 100644 --- a/DigitexConnector/EngineAPI/CtlMessages/OrderStatusData.cs +++ b/DigitexConnector/EngineAPI/CtlMessages/OrderStatusData.cs @@ -90,6 +90,11 @@ public class OrderStatusData : CommonFields /// public decimal OrigQuantity { get; } + /// + /// For spot markets, balance in base currency. + /// + public decimal TraderBalance2 { get; } + /// /// Constructor. /// @@ -106,6 +111,7 @@ public OrderStatusData(Message message) PositionMargin = DWConverter.FromProtoDecimal(orderStatusMessage.PositionMargin); OrderMargin = DWConverter.FromProtoDecimal(orderStatusMessage.OrderMargin); TraderBalance = DWConverter.FromProtoDecimal(orderStatusMessage.TraderBalance); + TraderBalance2 = DWConverter.FromProtoDecimal(orderStatusMessage.TraderBalance2); MarkPrice = DWConverter.FromProtoDecimal(orderStatusMessage.MarkPrice); PaidPrice = DWConverter.FromProtoDecimal(orderStatusMessage.PaidPrice); Price = DWConverter.FromProtoDecimal(orderStatusMessage.Price); diff --git a/DigitexConnector/EngineAPI/CtlMessages/TraderStatusData.cs b/DigitexConnector/EngineAPI/CtlMessages/TraderStatusData.cs index 4a479e0..a92912b 100644 --- a/DigitexConnector/EngineAPI/CtlMessages/TraderStatusData.cs +++ b/DigitexConnector/EngineAPI/CtlMessages/TraderStatusData.cs @@ -70,6 +70,11 @@ public class TraderStatusData : CommonFields public uint MarketId { get; } + /// + /// For spot markets, balance in base currency. + /// + public decimal TraderBalance2 { get; } + /// /// Constructor. /// @@ -110,6 +115,7 @@ public TraderStatusData(Message message) BuyOrderQuantity = DWConverter.FromProtoDecimal(traderStatusMessage.BuyOrderQuantity); SellOrderQuantity = DWConverter.FromProtoDecimal(traderStatusMessage.SellOrderQuantity); TraderBalance = DWConverter.FromProtoDecimal(traderStatusMessage.TraderBalance); + TraderBalance2 = DWConverter.FromProtoDecimal(traderStatusMessage.TraderBalance2); PositionMargin = DWConverter.FromProtoDecimal(traderStatusMessage.PositionMargin); OrderMargin = DWConverter.FromProtoDecimal(traderStatusMessage.OrderMargin); BuyOrderMargin = DWConverter.FromProtoDecimal(traderStatusMessage.BuyOrderMargin); diff --git a/DigitexConnector/EngineAPI/DigitexWire.cs b/DigitexConnector/EngineAPI/DigitexWire.cs index 1a35c89..076eae9 100644 --- a/DigitexConnector/EngineAPI/DigitexWire.cs +++ b/DigitexConnector/EngineAPI/DigitexWire.cs @@ -42,7 +42,7 @@ static MessagesPublicReflection() { "FkNhbmNlbEFsbE9yZGVyc01lc3NhZ2USJQoEc2lkZRghIAEoDjIXLmRpZ2l0", "ZXhfd2lyZS5PcmRlclNpZGUSJAoFcHJpY2UYJiABKAsyFS5kaWdpdGV4X3dp", "cmUuRGVjaW1hbCIsChhDaGFuZ2VMZXZlcmFnZUFsbE1lc3NhZ2USEAoIbGV2", - "ZXJhZ2UYIiABKA0ilAwKEk9yZGVyU3RhdHVzTWVzc2FnZRIpCgZzdGF0dXMY", + "ZXJhZ2UYIiABKA0irAwKEk9yZGVyU3RhdHVzTWVzc2FnZRIpCgZzdGF0dXMY", "KiABKA4yGS5kaWdpdGV4X3dpcmUuT3JkZXJTdGF0dXMSLQoOdHJhZGVyX2Jh", "bGFuY2UYMyABKAsyFS5kaWdpdGV4X3dpcmUuRGVjaW1hbBIrCgxvcmRlcl9t", "YXJnaW4YTCABKAsyFS5kaWdpdGV4X3dpcmUuRGVjaW1hbBIuCg9wb3NpdGlv", @@ -76,428 +76,433 @@ static MessagesPublicReflection() { "d2lyZS5EZWNpbWFsEhMKCmlzX2Nsb3NpbmcYmAIgASgFEhcKD29yZGVyX2Ns", "aWVudF9pZBhHIAEoDBIXCg9vcmRlcl90aW1lc3RhbXAYSCABKAMSFwoOb3Jp", "Z19jbGllbnRfaWQYzAEgASgMEhIKCW9wZW5fdGltZRjNASABKAMSLQoNb3Jp", - "Z19xdWFudGl0eRjOASABKAsyFS5kaWdpdGV4X3dpcmUuRGVjaW1hbCKECQoP", - "TGV2ZXJhZ2VNZXNzYWdlEhAKCGxldmVyYWdlGCIgASgNEio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VRJT05fVU5ERUZJTkVEEAASBwoDR0ZEEAESBwoDR1RDEAISBwoD", - "R1RGEAMSBwoDSU9DEAQSBwoDRk9LEAUqnwEKC09yZGVyU3RhdHVzEhQKEFNU", - "QVRVU19VTkRFRklORUQQABILCgdQRU5ESU5HEAESDAoIQUNDRVBURUQQAhIM", - "CghSRUpFQ1RFRBADEgwKCENBTkNFTEVEEAQSCgoGRklMTEVEEAUSCwoHUEFS", - "VElBTBAGEg4KClRFUk1JTkFURUQQBxILCgdFWFBJUkVEEAgSDQoJVFJJR0dF", - "UkVEEAkqMwoNT3JkZXJQb3NpdGlvbhINCglVTkRFRklORUQQABIICgRMT05H", - "EAESCQoFU0hPUlQQAiozChFEZWxheWVkQWN0aW9uVHlwZRIQCgxEQV9VTkRF", - "RklORUQQABIMCghEQV9PUkRFUhABKlsKFkRlbGF5ZWRUcmlnZ2VyVmFyaWFi", - "bGUSEQoNRFRWX1VOREVGSU5FRBAAEhQKEERUVl9PUkFDTEVfUFJJQ0UQARIY", - "ChREVFZfTEFTVF9UUkFERV9QUklDRRACKl0KF0RlbGF5ZWRUcmlnZ2VyQ29u", - "ZGl0aW9uEhEKDURUQ19VTkRFRklORUQQABIYChREVENfR1JFQVRFUl9PUl9F", - "UVVBTBABEhUKEURUQ19MRVNTX09SX0VRVUFMEAJCFgoUY29tLnNtYXJ0ZGVj", - "LmRpZ2l0ZXhiBnByb3RvMw==")); + "X3dpcmUuT3JkZXJQb3NpdGlvbhIvChBsYXN0X3RyYWRlX3ByaWNlGHEgASgL", + "MhUuZGlnaXRleF93aXJlLkRlY2ltYWwSMgoTbGFzdF90cmFkZV9xdWFudGl0", + "eRh0IAEoCzIVLmRpZ2l0ZXhfd2lyZS5EZWNpbWFsEh0KFGxhc3RfdHJhZGVf", + "dGltZXN0YW1wGKgCIAEoAxIvChBidXlfb3JkZXJfbWFyZ2luGHYgASgLMhUu", + "ZGlnaXRleF93aXJlLkRlY2ltYWwSMAoRc2VsbF9vcmRlcl9tYX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ZRIRCg1EVFZfVU5ERUZJTkVEEAASFAoQ", + "RFRWX09SQUNMRV9QUklDRRABEhgKFERUVl9MQVNUX1RSQURFX1BSSUNFEAIq", + "XQoXRGVsYXllZFRyaWdnZXJDb25kaXRpb24SEQoNRFRDX1VOREVGSU5FRBAA", + "EhgKFERUQ19HUkVBVEVSX09SX0VRVUFMEAESFQoRRFRDX0xFU1NfT1JfRVFV", + "QUwQAkIWChRjb20uc21hcnRkZWMuZGlnaXRleGIGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::DigitexWire.OrderSide), typeof(global::DigitexWire.OrderType), typeof(global::DigitexWire.OrderDuration), typeof(global::DigitexWire.OrderStatus), typeof(global::DigitexWire.OrderPosition), typeof(global::DigitexWire.DelayedActionType), typeof(global::DigitexWire.DelayedTriggerVariable), typeof(global::DigitexWire.DelayedTriggerCondition), }, null, new pbr::GeneratedClrTypeInfo[] { @@ -507,14 +512,14 @@ static MessagesPublicReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.CancelOrderMessage), global::DigitexWire.CancelOrderMessage.Parser, new[]{ "PrevClientId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.CancelAllOrdersMessage), global::DigitexWire.CancelAllOrdersMessage.Parser, new[]{ "Side", "Price" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.ChangeLeverageAllMessage), global::DigitexWire.ChangeLeverageAllMessage.Parser, new[]{ "Leverage" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderStatusMessage), global::DigitexWire.OrderStatusMessage.Parser, new[]{ "Status", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "BuyOrderMargin", "SellOrderMargin", "BuyOrderQuantity", "SellOrderQuantity", "TraderBalance2", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "MarkPrice", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "OldContractId", "Volume", "IsClosing", "OrderClientId", "OrderTimestamp", "OrigClientId", "OpenTime", "OrigQuantity" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderStatusMessage), global::DigitexWire.OrderStatusMessage.Parser, new[]{ "Status", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "BuyOrderMargin", "SellOrderMargin", "BuyOrderQuantity", "SellOrderQuantity", "TraderBalance2", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "MarkPrice", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "OldContractId", "Volume", "IsClosing", "OrderClientId", "OrderTimestamp", "OrigClientId", "OpenTime", "OrigQuantity", "OrigOrderId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.LeverageMessage), global::DigitexWire.LeverageMessage.Parser, new[]{ "Leverage", "Trades", "Orders", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "BuyOrderMargin", "SellOrderMargin", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderQuantity", "SellOrderQuantity", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.TradeMessage), global::DigitexWire.TradeMessage.Parser, new[]{ "TradeTimestamp", "TradeTraderId", "Position", "Price", "PaidPrice", "LiquidationPrice", "BankruptcyPrice", "Quantity", "ExitPrice", "Leverage", "ContractId", "OldContractId", "OldClientId", "IsIncrease", "IsLiquidation", "OpenTime", "EntryQuantity", "ExitQuantity", "ExitVolume", "FundingPaidPrice", "FundingQuantity", "FundingVolume", "FundingCount", "IsFunding", "IsMaker", "OrigContractId", "IsSettlement", "Volume" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderFilledMessage), global::DigitexWire.OrderFilledMessage.Parser, new[]{ "Status", "NewClientId", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "OrigClientId", "OpenTime", "OrigQuantity", "Volume", "DroppedQuantity", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderMargin", "SellOrderMargin", "BuyOrderQuantity", "SellOrderQuantity", "MarkPrice", "TraderBalance2", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "Trades", "RawTrades" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.ExchangeRateUpdateMessage), global::DigitexWire.ExchangeRateUpdateMessage.Parser, new[]{ "CurrencyPairId", "Volume", "Quantity", "Unreliable" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderFilledMessage), global::DigitexWire.OrderFilledMessage.Parser, new[]{ "Status", "NewClientId", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "OrigClientId", "OpenTime", "OrigQuantity", "Volume", "DroppedQuantity", "OldOrderId", "OrigOrderId", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderMargin", "SellOrderMargin", "BuyOrderQuantity", "SellOrderQuantity", "MarkPrice", "TraderBalance2", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "Trades", "RawTrades" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.ExchangeRateUpdateMessage), global::DigitexWire.ExchangeRateUpdateMessage.Parser, new[]{ "CurrencyPairId", "Volume", "Quantity", "Unreliable", "SourceCount", "PriceUpdaterId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.ExchangeRateMessage), global::DigitexWire.ExchangeRateMessage.Parser, new[]{ "CurrencyPairId", "MarkPrice", "Unreliable" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.TraderBalanceMessage), global::DigitexWire.TraderBalanceMessage.Parser, new[]{ "CurrencyId", "TraderBalance", "OrderMargin", "PositionMargin" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.PositionEventMessage), global::DigitexWire.PositionEventMessage.Parser, new[]{ "LiquidatedTrades", "TerminatedOrders", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderMargin", "SellOrderMargin", "TraderBalanceIncrement", "BuyOrderQuantity", "SellOrderQuantity", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "MarkPrice", "FloorMarkPrice", "CeilMarkPrice" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.PositionEventMessage), global::DigitexWire.PositionEventMessage.Parser, new[]{ "LiquidatedTrades", "TerminatedOrders", "Orders", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderMargin", "SellOrderMargin", "TraderBalanceIncrement", "BuyOrderQuantity", "SellOrderQuantity", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "MarkPrice", "FloorMarkPrice", "CeilMarkPrice" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderBookRequestMessage), global::DigitexWire.OrderBookRequestMessage.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderBookEntryMessage), global::DigitexWire.OrderBookEntryMessage.Parser, new[]{ "Price", "Quantity", "EntryTimestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderBookTradeEntryMessage), global::DigitexWire.OrderBookTradeEntryMessage.Parser, new[]{ "Price", "Quantity", "EntryTimestamp", "Side" }, null, null, null, null), @@ -523,9 +528,9 @@ static MessagesPublicReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.PingMessage), global::DigitexWire.PingMessage.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.PongMessage), global::DigitexWire.PongMessage.Parser, new[]{ "PingSender", "PingSerial", "PingTimestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.GetTraderStatusMessage), global::DigitexWire.GetTraderStatusMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderMessage), global::DigitexWire.OrderMessage.Parser, new[]{ "OrderClientId", "OrderTimestamp", "OrderTraderId", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "Volume", "ContractId", "OldClientId", "OrigClientId", "OpenTime", "OrigQuantity", "IsClosing", "MayIncrease" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OrderMessage), global::DigitexWire.OrderMessage.Parser, new[]{ "OrderClientId", "OrderTimestamp", "OrderTraderId", "OrderType", "Side", "Leverage", "Duration", "Price", "Quantity", "PaidPrice", "Volume", "ContractId", "OldClientId", "OrigClientId", "OpenTime", "OrigQuantity", "IsClosing", "MayIncrease", "OrigOrderId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.TraderStatusMessage), global::DigitexWire.TraderStatusMessage.Parser, new[]{ "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "MarkPrice", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "BuyOrderMargin", "SellOrderMargin", "Trades", "Orders", "Leverage", "BuyOrderQuantity", "SellOrderQuantity", "TraderBalance2", "DelayedActions", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.FundingMessage), global::DigitexWire.FundingMessage.Parser, new[]{ "Trades", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "BuyOrderMargin", "SellOrderMargin", "PayoutPerContract", "Payout", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "MarkPrice", "PositionMarginChange", "BuyOrderQuantity", "SellOrderQuantity", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.FundingMessage), global::DigitexWire.FundingMessage.Parser, new[]{ "Trades", "TraderBalance", "OrderMargin", "PositionMargin", "Upnl", "Pnl", "AccumQuantity", "PositionContracts", "PositionVolume", "PositionLiquidationVolume", "PositionBankruptcyVolume", "PositionType", "BuyOrderMargin", "SellOrderMargin", "PayoutPerContract", "Payout", "LastTradePrice", "LastTradeQuantity", "LastTradeTimestamp", "MarkPrice", "PositionMarginChange", "BuyOrderQuantity", "SellOrderQuantity", "FullPositionMargin", "FullBuyOrderMargin", "FullSellOrderMargin", "FundingTime" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.OHLCVMessage), global::DigitexWire.OHLCVMessage.Parser, new[]{ "OpenPrice", "HighPrice", "LowPrice", "ClosePrice", "Volume", "AverageOraclePrice", "Timestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.SubscribeMessage), global::DigitexWire.SubscribeMessage.Parser, new[]{ "SubscribeMask", "UnsubscribeMask" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.SubscribeStatusMessage), global::DigitexWire.SubscribeStatusMessage.Parser, new[]{ "SubscribeMask" }, null, null, null, null), @@ -550,7 +555,7 @@ static MessagesPublicReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.LiquidationsMessage), global::DigitexWire.LiquidationsMessage.Parser, new[]{ "LiquidationEntries" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.FundingInfoMessage), global::DigitexWire.FundingInfoMessage.Parser, new[]{ "FundingTime", "FundingRate", "PayoutPerContract", "OpenInterest" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.ErrorMessage), global::DigitexWire.ErrorMessage.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.Message), global::DigitexWire.Message.Parser, new[]{ "Timestamp", "Serial", "MarketId", "TraderId", "ClientId", "ErrorCode", "PlaceOrderMsg", "CancelOrderMsg", "CancelAllOrdersMsg", "OrderStatusMsg", "OrderFilledMsg", "ChangeLeverageAllMsg", "TraderBalanceMsg", "PositionEventMsg", "LeverageMsg", "ExchangeRateMsg", "OrderBookRequestMsg", "OrderBookMsg", "OrderBookUpdatedMsg", "PingMsg", "PongMsg", "UpdateOrderMsg", "GetTraderStatusMsg", "TraderStatusMsg", "FundingMsg", "SubscribeMsg", "SubscribeStatusMsg", "CloseContractMsg", "CloseAllContractsMsg", "OrderCanceledMsg", "GetMarketStateMsg", "MarketStateMsg", "GetExchangeRatesMsg", "ExchangeRatesMsg", "MarketStateUpdateMsg", "ContractClosedMsg", "GetTraderBalanceMsg", "PlaceDelayedActionMsg", "UpdateDelayedActionMsg", "CancelDelayedActionMsg", "DelayedActionStatusMsg", "LiquidationsMsg", "FundingInfoMsg", "ErrorMsg" }, new[]{ "Kontent" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::DigitexWire.Message), global::DigitexWire.Message.Parser, new[]{ "Timestamp", "Serial", "MarketId", "TraderId", "ClientId", "ErrorCode", "SessionId", "Auth", "PlaceOrderMsg", "CancelOrderMsg", "CancelAllOrdersMsg", "OrderStatusMsg", "OrderFilledMsg", "ChangeLeverageAllMsg", "TraderBalanceMsg", "PositionEventMsg", "LeverageMsg", "ExchangeRateMsg", "OrderBookRequestMsg", "OrderBookMsg", "OrderBookUpdatedMsg", "PingMsg", "PongMsg", "UpdateOrderMsg", "GetTraderStatusMsg", "TraderStatusMsg", "FundingMsg", "SubscribeMsg", "SubscribeStatusMsg", "CloseContractMsg", "CloseAllContractsMsg", "OrderCanceledMsg", "GetMarketStateMsg", "MarketStateMsg", "GetExchangeRatesMsg", "ExchangeRatesMsg", "MarketStateUpdateMsg", "ContractClosedMsg", "GetTraderBalanceMsg", "PlaceDelayedActionMsg", "UpdateDelayedActionMsg", "CancelDelayedActionMsg", "DelayedActionStatusMsg", "LiquidationsMsg", "FundingInfoMsg", "ErrorMsg" }, new[]{ "Kontent" }, null, null, null) })); } #endregion @@ -632,7 +637,11 @@ public enum DelayedTriggerCondition { #endregion #region Messages - public sealed partial class Decimal : pb::IMessage { + public sealed partial class Decimal : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Decimal()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -725,6 +734,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Value64 != 0L) { output.WriteRawTag(160, 2); output.WriteInt64(Value64); @@ -736,7 +748,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Value64 != 0L) { + output.WriteRawTag(160, 2); + output.WriteInt64(Value64); + } + if (Scale != 0) { + output.WriteRawTag(168, 2); + output.WriteUInt32(Scale); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -769,6 +799,9 @@ public void MergeFrom(Decimal other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -785,11 +818,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 288: { + Value64 = input.ReadInt64(); + break; + } + case 296: { + Scale = input.ReadUInt32(); + break; + } + } + } } + #endif } - public sealed partial class PlaceOrderMessage : pb::IMessage { + public sealed partial class PlaceOrderMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlaceOrderMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -952,6 +1012,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -983,7 +1046,45 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) { + output.WriteRawTag(152, 2); + output.WriteEnum((int) Duration); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (IsClosing != 0) { + output.WriteRawTag(192, 17); + output.WriteInt32(IsClosing); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1052,6 +1153,9 @@ public void MergeFrom(PlaceOrderMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1094,11 +1198,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 280: { + Duration = (global::DigitexWire.OrderDuration) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 2240: { + IsClosing = input.ReadInt32(); + break; + } + } + } } + #endif } - public sealed partial class UpdateOrderMessage : pb::IMessage { + public sealed partial class UpdateOrderMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateOrderMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1261,6 +1418,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -1292,7 +1452,45 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) { + output.WriteRawTag(152, 2); + output.WriteEnum((int) Duration); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (PrevClientId.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteBytes(PrevClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1361,6 +1559,9 @@ public void MergeFrom(UpdateOrderMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1403,11 +1604,64 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 280: { + Duration = (global::DigitexWire.OrderDuration) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 322: { + PrevClientId = input.ReadBytes(); + break; + } + } + } } + #endif } - public sealed partial class CancelOrderMessage : pb::IMessage { + public sealed partial class CancelOrderMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CancelOrderMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1486,6 +1740,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PrevClientId.Length != 0) { output.WriteRawTag(194, 2); output.WriteBytes(PrevClientId); @@ -1493,7 +1750,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PrevClientId.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteBytes(PrevClientId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1520,6 +1791,9 @@ public void MergeFrom(CancelOrderMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1532,11 +1806,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 322: { + PrevClientId = input.ReadBytes(); + break; + } + } + } } + #endif } - public sealed partial class CancelAllOrdersMessage : pb::IMessage { + public sealed partial class CancelAllOrdersMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CancelAllOrdersMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1629,6 +1926,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Side != global::DigitexWire.OrderSide.SideUndefined) { output.WriteRawTag(136, 2); output.WriteEnum((int) Side); @@ -1640,7 +1940,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -1676,6 +1994,9 @@ public void MergeFrom(CancelAllOrdersMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1695,21 +2016,51 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - } - - public sealed partial class ChangeLeverageAllMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChangeLeverageAllMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::DigitexWire.MessagesPublicReflection.Descriptor.MessageTypes[5]; } - } - + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + } + } + } + #endif + + } + + public sealed partial class ChangeLeverageAllMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChangeLeverageAllMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::DigitexWire.MessagesPublicReflection.Descriptor.MessageTypes[5]; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] pbr::MessageDescriptor pb::IMessage.Descriptor { get { return Descriptor; } @@ -1778,6 +2129,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Leverage != 0) { output.WriteRawTag(144, 2); output.WriteUInt32(Leverage); @@ -1785,8 +2139,22 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -1812,6 +2180,9 @@ public void MergeFrom(ChangeLeverageAllMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -1824,11 +2195,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 272: { + Leverage = input.ReadUInt32(); + break; + } + } + } } + #endif } - public sealed partial class OrderStatusMessage : pb::IMessage { + public sealed partial class OrderStatusMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderStatusMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -1889,6 +2283,7 @@ public OrderStatusMessage(OrderStatusMessage other) : this() { origClientId_ = other.origClientId_; openTime_ = other.openTime_; origQuantity_ = other.origQuantity_ != null ? other.origQuantity_.Clone() : null; + origOrderId_ = other.origOrderId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -2299,6 +2694,20 @@ public long OpenTime { } } + /// Field number for the "orig_order_id" field. + public const int OrigOrderIdFieldNumber = 327; + private pb::ByteString origOrderId_ = pb::ByteString.Empty; + /// + /// from v129: the auto-generated order_id of the first order in chain + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString OrigOrderId { + get { return origOrderId_; } + set { + origOrderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as OrderStatusMessage); @@ -2348,6 +2757,7 @@ public bool Equals(OrderStatusMessage other) { if (OrigClientId != other.OrigClientId) return false; if (OpenTime != other.OpenTime) return false; if (!object.Equals(OrigQuantity, other.OrigQuantity)) return false; + if (OrigOrderId != other.OrigOrderId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2390,6 +2800,7 @@ public override int GetHashCode() { if (OrigClientId.Length != 0) hash ^= OrigClientId.GetHashCode(); if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); if (origQuantity_ != null) hash ^= OrigQuantity.GetHashCode(); + if (OrigOrderId.Length != 0) hash ^= OrigOrderId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2403,6 +2814,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -2547,10 +2961,172 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(226, 18); output.WriteMessage(FullSellOrderMargin); } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) { + output.WriteRawTag(152, 2); + output.WriteEnum((int) Duration); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (Status != global::DigitexWire.OrderStatus.StatusUndefined) { + output.WriteRawTag(208, 2); + output.WriteEnum((int) Status); + } + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (OldContractId != 0UL) { + output.WriteRawTag(200, 3); + output.WriteUInt64(OldContractId); + } + if (paidPrice_ != null) { + output.WriteRawTag(146, 4); + output.WriteMessage(PaidPrice); + } + if (OrderClientId.Length != 0) { + output.WriteRawTag(186, 4); + output.WriteBytes(OrderClientId); + } + if (OrderTimestamp != 0L) { + output.WriteRawTag(192, 4); + output.WriteInt64(OrderTimestamp); + } + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (OrigClientId.Length != 0) { + output.WriteRawTag(226, 12); + output.WriteBytes(OrigClientId); + } + if (OpenTime != 0L) { + output.WriteRawTag(232, 12); + output.WriteInt64(OpenTime); + } + if (origQuantity_ != null) { + output.WriteRawTag(242, 12); + output.WriteMessage(OrigQuantity); + } + if (traderBalance2_ != null) { + output.WriteRawTag(178, 17); + output.WriteMessage(TraderBalance2); + } + if (volume_ != null) { + output.WriteRawTag(186, 17); + output.WriteMessage(Volume); + } + if (IsClosing != 0) { + output.WriteRawTag(192, 17); + output.WriteInt32(IsClosing); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -2663,6 +3239,9 @@ public int CalculateSize() { if (origQuantity_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(OrigQuantity); } + if (OrigOrderId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(OrigOrderId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2854,11 +3433,17 @@ public void MergeFrom(OrderStatusMessage other) { } OrigQuantity.MergeFrom(other.OrigQuantity); } + if (other.OrigOrderId.Length != 0) { + OrigOrderId = other.OrigOrderId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -3081,51 +3666,294 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(FullSellOrderMargin); break; } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } } } + #endif } - } - - public sealed partial class LeverageMessage : pb::IMessage { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LeverageMessage()); - private pb::UnknownFieldSet _unknownFields; - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pb::MessageParser Parser { get { return _parser; } } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public static pbr::MessageDescriptor Descriptor { - get { return global::DigitexWire.MessagesPublicReflection.Descriptor.MessageTypes[7]; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - pbr::MessageDescriptor pb::IMessage.Descriptor { - get { return Descriptor; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LeverageMessage() { - OnConstruction(); - } - - partial void OnConstruction(); - + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public LeverageMessage(LeverageMessage other) : this() { - leverage_ = other.leverage_; - trades_ = other.trades_.Clone(); - orders_ = other.orders_.Clone(); - traderBalance_ = other.traderBalance_ != null ? other.traderBalance_.Clone() : null; - orderMargin_ = other.orderMargin_ != null ? other.orderMargin_.Clone() : null; - positionMargin_ = other.positionMargin_ != null ? other.positionMargin_.Clone() : null; - upnl_ = other.upnl_ != null ? other.upnl_.Clone() : null; - pnl_ = other.pnl_ != null ? other.pnl_.Clone() : null; - accumQuantity_ = other.accumQuantity_ != null ? other.accumQuantity_.Clone() : null; - positionContracts_ = other.positionContracts_ != null ? other.positionContracts_.Clone() : null; - positionVolume_ = other.positionVolume_ != null ? other.positionVolume_.Clone() : null; - positionLiquidationVolume_ = other.positionLiquidationVolume_ != null ? other.positionLiquidationVolume_.Clone() : null; - positionBankruptcyVolume_ = other.positionBankruptcyVolume_ != null ? other.positionBankruptcyVolume_.Clone() : null; - positionType_ = other.positionType_; + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 280: { + Duration = (global::DigitexWire.OrderDuration) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 336: { + Status = (global::DigitexWire.OrderStatus) input.ReadEnum(); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 456: { + OldContractId = input.ReadUInt64(); + break; + } + case 530: { + if (paidPrice_ == null) { + PaidPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PaidPrice); + break; + } + case 570: { + OrderClientId = input.ReadBytes(); + break; + } + case 576: { + OrderTimestamp = input.ReadInt64(); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 1634: { + OrigClientId = input.ReadBytes(); + break; + } + case 1640: { + OpenTime = input.ReadInt64(); + break; + } + case 1650: { + if (origQuantity_ == null) { + OrigQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrigQuantity); + break; + } + case 2226: { + if (traderBalance2_ == null) { + TraderBalance2 = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance2); + break; + } + case 2234: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 2240: { + IsClosing = input.ReadInt32(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } + } + } + } + #endif + + } + + public sealed partial class LeverageMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LeverageMessage()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::DigitexWire.MessagesPublicReflection.Descriptor.MessageTypes[7]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public LeverageMessage() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public LeverageMessage(LeverageMessage other) : this() { + leverage_ = other.leverage_; + trades_ = other.trades_.Clone(); + orders_ = other.orders_.Clone(); + traderBalance_ = other.traderBalance_ != null ? other.traderBalance_.Clone() : null; + orderMargin_ = other.orderMargin_ != null ? other.orderMargin_.Clone() : null; + positionMargin_ = other.positionMargin_ != null ? other.positionMargin_.Clone() : null; + upnl_ = other.upnl_ != null ? other.upnl_.Clone() : null; + pnl_ = other.pnl_ != null ? other.pnl_.Clone() : null; + accumQuantity_ = other.accumQuantity_ != null ? other.accumQuantity_.Clone() : null; + positionContracts_ = other.positionContracts_ != null ? other.positionContracts_.Clone() : null; + positionVolume_ = other.positionVolume_ != null ? other.positionVolume_.Clone() : null; + positionLiquidationVolume_ = other.positionLiquidationVolume_ != null ? other.positionLiquidationVolume_.Clone() : null; + positionBankruptcyVolume_ = other.positionBankruptcyVolume_ != null ? other.positionBankruptcyVolume_.Clone() : null; + positionType_ = other.positionType_; buyOrderMargin_ = other.buyOrderMargin_ != null ? other.buyOrderMargin_.Clone() : null; sellOrderMargin_ = other.sellOrderMargin_ != null ? other.sellOrderMargin_.Clone() : null; lastTradePrice_ = other.lastTradePrice_ != null ? other.lastTradePrice_.Clone() : null; @@ -3486,6 +4314,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Leverage != 0) { output.WriteRawTag(144, 2); output.WriteUInt32(Leverage); @@ -3579,8 +4410,108 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + trades_.WriteTo(ref output, _repeated_trades_codec); + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + orders_.WriteTo(ref output, _repeated_orders_codec); + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -3786,25 +4717,195 @@ public void MergeFrom(LeverageMessage other) { if (fullSellOrderMargin_ == null) { FullSellOrderMargin = new global::DigitexWire.Decimal(); } - FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 562: { + orders_.AddEntriesFrom(input, _repeated_orders_codec); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 272: { Leverage = input.ReadUInt32(); break; } case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 410: { @@ -3815,7 +4916,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 562: { - orders_.AddEntriesFrom(input, _repeated_orders_codec); + orders_.AddEntriesFrom(ref input, _repeated_orders_codec); break; } case 610: { @@ -3955,10 +5056,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class TradeMessage : pb::IMessage { + public sealed partial class TradeMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TradeMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4328,96 +5434,220 @@ public int IsSettlement { set { volume_ = value; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as TradeMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(TradeMessage other) { - if (ReferenceEquals(other, null)) { - return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as TradeMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(TradeMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (TradeTimestamp != other.TradeTimestamp) return false; + if (TradeTraderId != other.TradeTraderId) return false; + if (Position != other.Position) return false; + if (!object.Equals(Price, other.Price)) return false; + if (!object.Equals(PaidPrice, other.PaidPrice)) return false; + if (!object.Equals(LiquidationPrice, other.LiquidationPrice)) return false; + if (!object.Equals(BankruptcyPrice, other.BankruptcyPrice)) return false; + if (!object.Equals(Quantity, other.Quantity)) return false; + if (!object.Equals(ExitPrice, other.ExitPrice)) return false; + if (Leverage != other.Leverage) return false; + if (ContractId != other.ContractId) return false; + if (OldContractId != other.OldContractId) return false; + if (OldClientId != other.OldClientId) return false; + if (IsIncrease != other.IsIncrease) return false; + if (IsLiquidation != other.IsLiquidation) return false; + if (OpenTime != other.OpenTime) return false; + if (!object.Equals(EntryQuantity, other.EntryQuantity)) return false; + if (!object.Equals(ExitQuantity, other.ExitQuantity)) return false; + if (!object.Equals(ExitVolume, other.ExitVolume)) return false; + if (!object.Equals(FundingPaidPrice, other.FundingPaidPrice)) return false; + if (!object.Equals(FundingQuantity, other.FundingQuantity)) return false; + if (!object.Equals(FundingVolume, other.FundingVolume)) return false; + if (FundingCount != other.FundingCount) return false; + if (IsFunding != other.IsFunding) return false; + if (IsMaker != other.IsMaker) return false; + if (OrigContractId != other.OrigContractId) return false; + if (IsSettlement != other.IsSettlement) return false; + if (!object.Equals(Volume, other.Volume)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (TradeTimestamp != 0L) hash ^= TradeTimestamp.GetHashCode(); + if (TradeTraderId != 0) hash ^= TradeTraderId.GetHashCode(); + if (Position != global::DigitexWire.OrderPosition.Undefined) hash ^= Position.GetHashCode(); + if (price_ != null) hash ^= Price.GetHashCode(); + if (paidPrice_ != null) hash ^= PaidPrice.GetHashCode(); + if (liquidationPrice_ != null) hash ^= LiquidationPrice.GetHashCode(); + if (bankruptcyPrice_ != null) hash ^= BankruptcyPrice.GetHashCode(); + if (quantity_ != null) hash ^= Quantity.GetHashCode(); + if (exitPrice_ != null) hash ^= ExitPrice.GetHashCode(); + if (Leverage != 0) hash ^= Leverage.GetHashCode(); + if (ContractId != 0UL) hash ^= ContractId.GetHashCode(); + if (OldContractId != 0UL) hash ^= OldContractId.GetHashCode(); + if (OldClientId.Length != 0) hash ^= OldClientId.GetHashCode(); + if (IsIncrease != 0) hash ^= IsIncrease.GetHashCode(); + if (IsLiquidation != 0) hash ^= IsLiquidation.GetHashCode(); + if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); + if (entryQuantity_ != null) hash ^= EntryQuantity.GetHashCode(); + if (exitQuantity_ != null) hash ^= ExitQuantity.GetHashCode(); + if (exitVolume_ != null) hash ^= ExitVolume.GetHashCode(); + if (fundingPaidPrice_ != null) hash ^= FundingPaidPrice.GetHashCode(); + if (fundingQuantity_ != null) hash ^= FundingQuantity.GetHashCode(); + if (fundingVolume_ != null) hash ^= FundingVolume.GetHashCode(); + if (FundingCount != 0) hash ^= FundingCount.GetHashCode(); + if (IsFunding != 0) hash ^= IsFunding.GetHashCode(); + if (IsMaker != 0) hash ^= IsMaker.GetHashCode(); + if (OrigContractId != 0UL) hash ^= OrigContractId.GetHashCode(); + if (IsSettlement != 0) hash ^= IsSettlement.GetHashCode(); + if (volume_ != null) hash ^= Volume.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (ContractId != 0UL) { + output.WriteRawTag(200, 2); + output.WriteUInt64(ContractId); + } + if (Position != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(232, 2); + output.WriteEnum((int) Position); + } + if (OldContractId != 0UL) { + output.WriteRawTag(200, 3); + output.WriteUInt64(OldContractId); + } + if (OldClientId.Length != 0) { + output.WriteRawTag(138, 4); + output.WriteBytes(OldClientId); + } + if (paidPrice_ != null) { + output.WriteRawTag(146, 4); + output.WriteMessage(PaidPrice); + } + if (liquidationPrice_ != null) { + output.WriteRawTag(154, 4); + output.WriteMessage(LiquidationPrice); + } + if (TradeTimestamp != 0L) { + output.WriteRawTag(168, 4); + output.WriteInt64(TradeTimestamp); + } + if (TradeTraderId != 0) { + output.WriteRawTag(208, 4); + output.WriteUInt32(TradeTraderId); + } + if (IsIncrease != 0) { + output.WriteRawTag(160, 10); + output.WriteInt32(IsIncrease); + } + if (exitPrice_ != null) { + output.WriteRawTag(178, 10); + output.WriteMessage(ExitPrice); + } + if (IsLiquidation != 0) { + output.WriteRawTag(184, 10); + output.WriteInt32(IsLiquidation); + } + if (OpenTime != 0L) { + output.WriteRawTag(144, 12); + output.WriteInt64(OpenTime); + } + if (entryQuantity_ != null) { + output.WriteRawTag(154, 12); + output.WriteMessage(EntryQuantity); + } + if (exitQuantity_ != null) { + output.WriteRawTag(162, 12); + output.WriteMessage(ExitQuantity); + } + if (exitVolume_ != null) { + output.WriteRawTag(170, 12); + output.WriteMessage(ExitVolume); + } + if (fundingPaidPrice_ != null) { + output.WriteRawTag(178, 12); + output.WriteMessage(FundingPaidPrice); + } + if (fundingQuantity_ != null) { + output.WriteRawTag(186, 12); + output.WriteMessage(FundingQuantity); + } + if (fundingVolume_ != null) { + output.WriteRawTag(194, 12); + output.WriteMessage(FundingVolume); + } + if (FundingCount != 0) { + output.WriteRawTag(200, 12); + output.WriteInt32(FundingCount); + } + if (bankruptcyPrice_ != null) { + output.WriteRawTag(210, 12); + output.WriteMessage(BankruptcyPrice); + } + if (IsFunding != 0) { + output.WriteRawTag(216, 12); + output.WriteInt32(IsFunding); + } + if (IsMaker != 0) { + output.WriteRawTag(248, 12); + output.WriteInt32(IsMaker); + } + if (OrigContractId != 0UL) { + output.WriteRawTag(128, 13); + output.WriteUInt64(OrigContractId); + } + if (IsSettlement != 0) { + output.WriteRawTag(168, 17); + output.WriteInt32(IsSettlement); } - if (ReferenceEquals(other, this)) { - return true; + if (volume_ != null) { + output.WriteRawTag(186, 17); + output.WriteMessage(Volume); } - if (TradeTimestamp != other.TradeTimestamp) return false; - if (TradeTraderId != other.TradeTraderId) return false; - if (Position != other.Position) return false; - if (!object.Equals(Price, other.Price)) return false; - if (!object.Equals(PaidPrice, other.PaidPrice)) return false; - if (!object.Equals(LiquidationPrice, other.LiquidationPrice)) return false; - if (!object.Equals(BankruptcyPrice, other.BankruptcyPrice)) return false; - if (!object.Equals(Quantity, other.Quantity)) return false; - if (!object.Equals(ExitPrice, other.ExitPrice)) return false; - if (Leverage != other.Leverage) return false; - if (ContractId != other.ContractId) return false; - if (OldContractId != other.OldContractId) return false; - if (OldClientId != other.OldClientId) return false; - if (IsIncrease != other.IsIncrease) return false; - if (IsLiquidation != other.IsLiquidation) return false; - if (OpenTime != other.OpenTime) return false; - if (!object.Equals(EntryQuantity, other.EntryQuantity)) return false; - if (!object.Equals(ExitQuantity, other.ExitQuantity)) return false; - if (!object.Equals(ExitVolume, other.ExitVolume)) return false; - if (!object.Equals(FundingPaidPrice, other.FundingPaidPrice)) return false; - if (!object.Equals(FundingQuantity, other.FundingQuantity)) return false; - if (!object.Equals(FundingVolume, other.FundingVolume)) return false; - if (FundingCount != other.FundingCount) return false; - if (IsFunding != other.IsFunding) return false; - if (IsMaker != other.IsMaker) return false; - if (OrigContractId != other.OrigContractId) return false; - if (IsSettlement != other.IsSettlement) return false; - if (!object.Equals(Volume, other.Volume)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (TradeTimestamp != 0L) hash ^= TradeTimestamp.GetHashCode(); - if (TradeTraderId != 0) hash ^= TradeTraderId.GetHashCode(); - if (Position != global::DigitexWire.OrderPosition.Undefined) hash ^= Position.GetHashCode(); - if (price_ != null) hash ^= Price.GetHashCode(); - if (paidPrice_ != null) hash ^= PaidPrice.GetHashCode(); - if (liquidationPrice_ != null) hash ^= LiquidationPrice.GetHashCode(); - if (bankruptcyPrice_ != null) hash ^= BankruptcyPrice.GetHashCode(); - if (quantity_ != null) hash ^= Quantity.GetHashCode(); - if (exitPrice_ != null) hash ^= ExitPrice.GetHashCode(); - if (Leverage != 0) hash ^= Leverage.GetHashCode(); - if (ContractId != 0UL) hash ^= ContractId.GetHashCode(); - if (OldContractId != 0UL) hash ^= OldContractId.GetHashCode(); - if (OldClientId.Length != 0) hash ^= OldClientId.GetHashCode(); - if (IsIncrease != 0) hash ^= IsIncrease.GetHashCode(); - if (IsLiquidation != 0) hash ^= IsLiquidation.GetHashCode(); - if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); - if (entryQuantity_ != null) hash ^= EntryQuantity.GetHashCode(); - if (exitQuantity_ != null) hash ^= ExitQuantity.GetHashCode(); - if (exitVolume_ != null) hash ^= ExitVolume.GetHashCode(); - if (fundingPaidPrice_ != null) hash ^= FundingPaidPrice.GetHashCode(); - if (fundingQuantity_ != null) hash ^= FundingQuantity.GetHashCode(); - if (fundingVolume_ != null) hash ^= FundingVolume.GetHashCode(); - if (FundingCount != 0) hash ^= FundingCount.GetHashCode(); - if (IsFunding != 0) hash ^= IsFunding.GetHashCode(); - if (IsMaker != 0) hash ^= IsMaker.GetHashCode(); - if (OrigContractId != 0UL) hash ^= OrigContractId.GetHashCode(); - if (IsSettlement != 0) hash ^= IsSettlement.GetHashCode(); - if (volume_ != null) hash ^= Volume.GetHashCode(); if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Leverage != 0) { output.WriteRawTag(144, 2); output.WriteUInt32(Leverage); @@ -4531,9 +5761,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(Volume); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -4754,18 +5985,186 @@ public void MergeFrom(TradeMessage other) { if (volume_ == null) { Volume = new global::DigitexWire.Decimal(); } - Volume.MergeFrom(other.Volume); + Volume.MergeFrom(other.Volume); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 328: { + ContractId = input.ReadUInt64(); + break; + } + case 360: { + Position = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 456: { + OldContractId = input.ReadUInt64(); + break; + } + case 522: { + OldClientId = input.ReadBytes(); + break; + } + case 530: { + if (paidPrice_ == null) { + PaidPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PaidPrice); + break; + } + case 538: { + if (liquidationPrice_ == null) { + LiquidationPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LiquidationPrice); + break; + } + case 552: { + TradeTimestamp = input.ReadInt64(); + break; + } + case 592: { + TradeTraderId = input.ReadUInt32(); + break; + } + case 1312: { + IsIncrease = input.ReadInt32(); + break; + } + case 1330: { + if (exitPrice_ == null) { + ExitPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ExitPrice); + break; + } + case 1336: { + IsLiquidation = input.ReadInt32(); + break; + } + case 1552: { + OpenTime = input.ReadInt64(); + break; + } + case 1562: { + if (entryQuantity_ == null) { + EntryQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(EntryQuantity); + break; + } + case 1570: { + if (exitQuantity_ == null) { + ExitQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ExitQuantity); + break; + } + case 1578: { + if (exitVolume_ == null) { + ExitVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ExitVolume); + break; + } + case 1586: { + if (fundingPaidPrice_ == null) { + FundingPaidPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingPaidPrice); + break; + } + case 1594: { + if (fundingQuantity_ == null) { + FundingQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingQuantity); + break; + } + case 1602: { + if (fundingVolume_ == null) { + FundingVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingVolume); + break; + } + case 1608: { + FundingCount = input.ReadInt32(); + break; + } + case 1618: { + if (bankruptcyPrice_ == null) { + BankruptcyPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BankruptcyPrice); + break; + } + case 1624: { + IsFunding = input.ReadInt32(); + break; + } + case 1656: { + IsMaker = input.ReadInt32(); + break; + } + case 1664: { + OrigContractId = input.ReadUInt64(); + break; + } + case 2216: { + IsSettlement = input.ReadInt32(); + break; + } + case 2234: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 272: { Leverage = input.ReadUInt32(); @@ -4921,10 +6320,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class OrderFilledMessage : pb::IMessage { + public sealed partial class OrderFilledMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderFilledMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4963,6 +6367,8 @@ public OrderFilledMessage(OrderFilledMessage other) : this() { origQuantity_ = other.origQuantity_ != null ? other.origQuantity_.Clone() : null; volume_ = other.volume_ != null ? other.volume_.Clone() : null; droppedQuantity_ = other.droppedQuantity_ != null ? other.droppedQuantity_.Clone() : null; + oldOrderId_ = other.oldOrderId_; + origOrderId_ = other.origOrderId_; traderBalance_ = other.traderBalance_ != null ? other.traderBalance_.Clone() : null; orderMargin_ = other.orderMargin_ != null ? other.orderMargin_.Clone() : null; positionMargin_ = other.positionMargin_ != null ? other.positionMargin_.Clone() : null; @@ -5153,6 +6559,34 @@ public long OpenTime { } } + /// Field number for the "old_order_id" field. + public const int OldOrderIdFieldNumber = 153; + private pb::ByteString oldOrderId_ = pb::ByteString.Empty; + /// + /// from v129: the auto-generated order_id that matched + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString OldOrderId { + get { return oldOrderId_; } + set { + oldOrderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "orig_order_id" field. + public const int OrigOrderIdFieldNumber = 327; + private pb::ByteString origOrderId_ = pb::ByteString.Empty; + /// + /// from v129: the auto-generated order_id of the first order in chain + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString OrigOrderId { + get { return origOrderId_; } + set { + origOrderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "trader_balance" field. public const int TraderBalanceFieldNumber = 51; private global::DigitexWire.Decimal traderBalance_; @@ -5439,106 +6873,280 @@ public bool Equals(OrderFilledMessage other) { if (ReferenceEquals(other, null)) { return false; } - if (ReferenceEquals(other, this)) { - return true; + if (ReferenceEquals(other, this)) { + return true; + } + if (Status != other.Status) return false; + if (NewClientId != other.NewClientId) return false; + if (OrderType != other.OrderType) return false; + if (Side != other.Side) return false; + if (Leverage != other.Leverage) return false; + if (Duration != other.Duration) return false; + if (!object.Equals(Price, other.Price)) return false; + if (!object.Equals(Quantity, other.Quantity)) return false; + if (!object.Equals(PaidPrice, other.PaidPrice)) return false; + if (OrigClientId != other.OrigClientId) return false; + if (OpenTime != other.OpenTime) return false; + if (!object.Equals(OrigQuantity, other.OrigQuantity)) return false; + if (!object.Equals(Volume, other.Volume)) return false; + if (!object.Equals(DroppedQuantity, other.DroppedQuantity)) return false; + if (OldOrderId != other.OldOrderId) return false; + if (OrigOrderId != other.OrigOrderId) return false; + if (!object.Equals(TraderBalance, other.TraderBalance)) return false; + if (!object.Equals(OrderMargin, other.OrderMargin)) return false; + if (!object.Equals(PositionMargin, other.PositionMargin)) return false; + if (!object.Equals(Upnl, other.Upnl)) return false; + if (!object.Equals(Pnl, other.Pnl)) return false; + if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; + if (!object.Equals(PositionContracts, other.PositionContracts)) return false; + if (!object.Equals(PositionVolume, other.PositionVolume)) return false; + if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; + if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; + if (PositionType != other.PositionType) return false; + if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; + if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; + if (LastTradeTimestamp != other.LastTradeTimestamp) return false; + if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; + if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; + if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; + if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; + if (!object.Equals(MarkPrice, other.MarkPrice)) return false; + if (!object.Equals(TraderBalance2, other.TraderBalance2)) return false; + if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; + if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; + if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; + if(!trades_.Equals(other.trades_)) return false; + if(!rawTrades_.Equals(other.rawTrades_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (Status != global::DigitexWire.OrderStatus.StatusUndefined) hash ^= Status.GetHashCode(); + if (NewClientId.Length != 0) hash ^= NewClientId.GetHashCode(); + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) hash ^= OrderType.GetHashCode(); + if (Side != global::DigitexWire.OrderSide.SideUndefined) hash ^= Side.GetHashCode(); + if (Leverage != 0) hash ^= Leverage.GetHashCode(); + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) hash ^= Duration.GetHashCode(); + if (price_ != null) hash ^= Price.GetHashCode(); + if (quantity_ != null) hash ^= Quantity.GetHashCode(); + if (paidPrice_ != null) hash ^= PaidPrice.GetHashCode(); + if (OrigClientId.Length != 0) hash ^= OrigClientId.GetHashCode(); + if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); + if (origQuantity_ != null) hash ^= OrigQuantity.GetHashCode(); + if (volume_ != null) hash ^= Volume.GetHashCode(); + if (droppedQuantity_ != null) hash ^= DroppedQuantity.GetHashCode(); + if (OldOrderId.Length != 0) hash ^= OldOrderId.GetHashCode(); + if (OrigOrderId.Length != 0) hash ^= OrigOrderId.GetHashCode(); + if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); + if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); + if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); + if (upnl_ != null) hash ^= Upnl.GetHashCode(); + if (pnl_ != null) hash ^= Pnl.GetHashCode(); + if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); + if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); + if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); + if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); + if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); + if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); + if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); + if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); + if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); + if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); + if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); + if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); + if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); + if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); + if (traderBalance2_ != null) hash ^= TraderBalance2.GetHashCode(); + if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); + if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); + if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); + hash ^= trades_.GetHashCode(); + hash ^= rawTrades_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) { + output.WriteRawTag(152, 2); + output.WriteEnum((int) Duration); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (Status != global::DigitexWire.OrderStatus.StatusUndefined) { + output.WriteRawTag(208, 2); + output.WriteEnum((int) Status); + } + if (NewClientId.Length != 0) { + output.WriteRawTag(226, 2); + output.WriteBytes(NewClientId); + } + trades_.WriteTo(output, _repeated_trades_codec); + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (paidPrice_ != null) { + output.WriteRawTag(146, 4); + output.WriteMessage(PaidPrice); + } + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + rawTrades_.WriteTo(output, _repeated_rawTrades_codec); + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (droppedQuantity_ != null) { + output.WriteRawTag(194, 9); + output.WriteMessage(DroppedQuantity); + } + if (OldOrderId.Length != 0) { + output.WriteRawTag(202, 9); + output.WriteBytes(OldOrderId); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (OrigClientId.Length != 0) { + output.WriteRawTag(226, 12); + output.WriteBytes(OrigClientId); + } + if (OpenTime != 0L) { + output.WriteRawTag(232, 12); + output.WriteInt64(OpenTime); + } + if (origQuantity_ != null) { + output.WriteRawTag(242, 12); + output.WriteMessage(OrigQuantity); + } + if (traderBalance2_ != null) { + output.WriteRawTag(178, 17); + output.WriteMessage(TraderBalance2); + } + if (volume_ != null) { + output.WriteRawTag(186, 17); + output.WriteMessage(Volume); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); } - if (Status != other.Status) return false; - if (NewClientId != other.NewClientId) return false; - if (OrderType != other.OrderType) return false; - if (Side != other.Side) return false; - if (Leverage != other.Leverage) return false; - if (Duration != other.Duration) return false; - if (!object.Equals(Price, other.Price)) return false; - if (!object.Equals(Quantity, other.Quantity)) return false; - if (!object.Equals(PaidPrice, other.PaidPrice)) return false; - if (OrigClientId != other.OrigClientId) return false; - if (OpenTime != other.OpenTime) return false; - if (!object.Equals(OrigQuantity, other.OrigQuantity)) return false; - if (!object.Equals(Volume, other.Volume)) return false; - if (!object.Equals(DroppedQuantity, other.DroppedQuantity)) return false; - if (!object.Equals(TraderBalance, other.TraderBalance)) return false; - if (!object.Equals(OrderMargin, other.OrderMargin)) return false; - if (!object.Equals(PositionMargin, other.PositionMargin)) return false; - if (!object.Equals(Upnl, other.Upnl)) return false; - if (!object.Equals(Pnl, other.Pnl)) return false; - if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; - if (!object.Equals(PositionContracts, other.PositionContracts)) return false; - if (!object.Equals(PositionVolume, other.PositionVolume)) return false; - if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; - if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; - if (PositionType != other.PositionType) return false; - if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; - if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; - if (LastTradeTimestamp != other.LastTradeTimestamp) return false; - if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; - if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; - if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; - if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; - if (!object.Equals(MarkPrice, other.MarkPrice)) return false; - if (!object.Equals(TraderBalance2, other.TraderBalance2)) return false; - if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; - if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; - if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; - if(!trades_.Equals(other.trades_)) return false; - if(!rawTrades_.Equals(other.rawTrades_)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (Status != global::DigitexWire.OrderStatus.StatusUndefined) hash ^= Status.GetHashCode(); - if (NewClientId.Length != 0) hash ^= NewClientId.GetHashCode(); - if (OrderType != global::DigitexWire.OrderType.TypeUndefined) hash ^= OrderType.GetHashCode(); - if (Side != global::DigitexWire.OrderSide.SideUndefined) hash ^= Side.GetHashCode(); - if (Leverage != 0) hash ^= Leverage.GetHashCode(); - if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) hash ^= Duration.GetHashCode(); - if (price_ != null) hash ^= Price.GetHashCode(); - if (quantity_ != null) hash ^= Quantity.GetHashCode(); - if (paidPrice_ != null) hash ^= PaidPrice.GetHashCode(); - if (OrigClientId.Length != 0) hash ^= OrigClientId.GetHashCode(); - if (OpenTime != 0L) hash ^= OpenTime.GetHashCode(); - if (origQuantity_ != null) hash ^= OrigQuantity.GetHashCode(); - if (volume_ != null) hash ^= Volume.GetHashCode(); - if (droppedQuantity_ != null) hash ^= DroppedQuantity.GetHashCode(); - if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); - if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); - if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); - if (upnl_ != null) hash ^= Upnl.GetHashCode(); - if (pnl_ != null) hash ^= Pnl.GetHashCode(); - if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); - if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); - if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); - if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); - if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); - if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); - if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); - if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); - if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); - if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); - if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); - if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); - if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); - if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); - if (traderBalance2_ != null) hash ^= TraderBalance2.GetHashCode(); - if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); - if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); - if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); - hash ^= trades_.GetHashCode(); - hash ^= rawTrades_.GetHashCode(); if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -5571,7 +7179,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(226, 2); output.WriteBytes(NewClientId); } - trades_.WriteTo(output, _repeated_trades_codec); + trades_.WriteTo(ref output, _repeated_trades_codec); if (traderBalance_ != null) { output.WriteRawTag(154, 3); output.WriteMessage(TraderBalance); @@ -5596,7 +7204,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(250, 4); output.WriteMessage(Upnl); } - rawTrades_.WriteTo(output, _repeated_rawTrades_codec); + rawTrades_.WriteTo(ref output, _repeated_rawTrades_codec); if (positionContracts_ != null) { output.WriteRawTag(194, 6); output.WriteMessage(PositionContracts); @@ -5637,6 +7245,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(194, 9); output.WriteMessage(DroppedQuantity); } + if (OldOrderId.Length != 0) { + output.WriteRawTag(202, 9); + output.WriteBytes(OldOrderId); + } if (pnl_ != null) { output.WriteRawTag(210, 9); output.WriteMessage(Pnl); @@ -5689,10 +7301,15 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(226, 18); output.WriteMessage(FullSellOrderMargin); } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); + } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -5739,6 +7356,12 @@ public int CalculateSize() { if (droppedQuantity_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(DroppedQuantity); } + if (OldOrderId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(OldOrderId); + } + if (OrigOrderId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(OrigOrderId); + } if (traderBalance_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraderBalance); } @@ -5881,6 +7504,12 @@ public void MergeFrom(OrderFilledMessage other) { } DroppedQuantity.MergeFrom(other.DroppedQuantity); } + if (other.OldOrderId.Length != 0) { + OldOrderId = other.OldOrderId; + } + if (other.OrigOrderId.Length != 0) { + OrigOrderId = other.OrigOrderId; + } if (other.traderBalance_ != null) { if (traderBalance_ == null) { TraderBalance = new global::DigitexWire.Decimal(); @@ -6011,20 +7640,282 @@ public void MergeFrom(OrderFilledMessage other) { if (fullSellOrderMargin_ == null) { FullSellOrderMargin = new global::DigitexWire.Decimal(); } - FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + } + trades_.Add(other.trades_); + rawTrades_.Add(other.rawTrades_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 280: { + Duration = (global::DigitexWire.OrderDuration) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 336: { + Status = (global::DigitexWire.OrderStatus) input.ReadEnum(); + break; + } + case 354: { + NewClientId = input.ReadBytes(); + break; + } + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 530: { + if (paidPrice_ == null) { + PaidPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PaidPrice); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 658: { + rawTrades_.AddEntriesFrom(input, _repeated_rawTrades_codec); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1218: { + if (droppedQuantity_ == null) { + DroppedQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(DroppedQuantity); + break; + } + case 1226: { + OldOrderId = input.ReadBytes(); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 1634: { + OrigClientId = input.ReadBytes(); + break; + } + case 1640: { + OpenTime = input.ReadInt64(); + break; + } + case 1650: { + if (origQuantity_ == null) { + OrigQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrigQuantity); + break; + } + case 2226: { + if (traderBalance2_ == null) { + TraderBalance2 = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance2); + break; + } + case 2234: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } + } } - trades_.Add(other.trades_); - rawTrades_.Add(other.rawTrades_); - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 256: { OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); @@ -6065,7 +7956,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 410: { @@ -6111,7 +8002,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 658: { - rawTrades_.AddEntriesFrom(input, _repeated_rawTrades_codec); + rawTrades_.AddEntriesFrom(ref input, _repeated_rawTrades_codec); break; } case 834: { @@ -6181,6 +8072,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(DroppedQuantity); break; } + case 1226: { + OldOrderId = input.ReadBytes(); + break; + } case 1234: { if (pnl_ == null) { Pnl = new global::DigitexWire.Decimal(); @@ -6263,13 +8158,22 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(FullSellOrderMargin); break; } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } } } } + #endif } - public sealed partial class ExchangeRateUpdateMessage : pb::IMessage { + public sealed partial class ExchangeRateUpdateMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExchangeRateUpdateMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6298,6 +8202,8 @@ public ExchangeRateUpdateMessage(ExchangeRateUpdateMessage other) : this() { volume_ = other.volume_ != null ? other.volume_.Clone() : null; quantity_ = other.quantity_ != null ? other.quantity_.Clone() : null; unreliable_ = other.unreliable_; + sourceCount_ = other.sourceCount_; + priceUpdaterId_ = other.priceUpdaterId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -6350,6 +8256,28 @@ public int Unreliable { } } + /// Field number for the "source_count" field. + public const int SourceCountFieldNumber = 301; + private int sourceCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int SourceCount { + get { return sourceCount_; } + set { + sourceCount_ = value; + } + } + + /// Field number for the "price_updater_id" field. + public const int PriceUpdaterIdFieldNumber = 302; + private pb::ByteString priceUpdaterId_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString PriceUpdaterId { + get { return priceUpdaterId_; } + set { + priceUpdaterId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as ExchangeRateUpdateMessage); @@ -6367,6 +8295,8 @@ public bool Equals(ExchangeRateUpdateMessage other) { if (!object.Equals(Volume, other.Volume)) return false; if (!object.Equals(Quantity, other.Quantity)) return false; if (Unreliable != other.Unreliable) return false; + if (SourceCount != other.SourceCount) return false; + if (PriceUpdaterId != other.PriceUpdaterId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6377,6 +8307,8 @@ public override int GetHashCode() { if (volume_ != null) hash ^= Volume.GetHashCode(); if (quantity_ != null) hash ^= Quantity.GetHashCode(); if (Unreliable != 0) hash ^= Unreliable.GetHashCode(); + if (SourceCount != 0) hash ^= SourceCount.GetHashCode(); + if (PriceUpdaterId.Length != 0) hash ^= PriceUpdaterId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6390,6 +8322,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (quantity_ != null) { output.WriteRawTag(186, 2); output.WriteMessage(Quantity); @@ -6406,10 +8341,52 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(136, 13); output.WriteInt32(Unreliable); } + if (SourceCount != 0) { + output.WriteRawTag(232, 18); + output.WriteInt32(SourceCount); + } + if (PriceUpdaterId.Length != 0) { + output.WriteRawTag(242, 18); + output.WriteBytes(PriceUpdaterId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (CurrencyPairId != 0) { + output.WriteRawTag(248, 2); + output.WriteUInt32(CurrencyPairId); + } + if (volume_ != null) { + output.WriteRawTag(130, 3); + output.WriteMessage(Volume); + } + if (Unreliable != 0) { + output.WriteRawTag(136, 13); + output.WriteInt32(Unreliable); + } + if (SourceCount != 0) { + output.WriteRawTag(232, 18); + output.WriteInt32(SourceCount); + } + if (PriceUpdaterId.Length != 0) { + output.WriteRawTag(242, 18); + output.WriteBytes(PriceUpdaterId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6426,6 +8403,12 @@ public int CalculateSize() { if (Unreliable != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Unreliable); } + if (SourceCount != 0) { + size += 2 + pb::CodedOutputStream.ComputeInt32Size(SourceCount); + } + if (PriceUpdaterId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(PriceUpdaterId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6455,11 +8438,20 @@ public void MergeFrom(ExchangeRateUpdateMessage other) { if (other.Unreliable != 0) { Unreliable = other.Unreliable; } + if (other.SourceCount != 0) { + SourceCount = other.SourceCount; + } + if (other.PriceUpdaterId.Length != 0) { + PriceUpdaterId = other.PriceUpdaterId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6488,13 +8480,70 @@ public void MergeFrom(pb::CodedInputStream input) { Unreliable = input.ReadInt32(); break; } + case 2408: { + SourceCount = input.ReadInt32(); + break; + } + case 2418: { + PriceUpdaterId = input.ReadBytes(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 376: { + CurrencyPairId = input.ReadUInt32(); + break; + } + case 386: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 1672: { + Unreliable = input.ReadInt32(); + break; + } + case 2408: { + SourceCount = input.ReadInt32(); + break; + } + case 2418: { + PriceUpdaterId = input.ReadBytes(); + break; + } } } } + #endif } - public sealed partial class ExchangeRateMessage : pb::IMessage { + public sealed partial class ExchangeRateMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExchangeRateMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6601,6 +8650,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (CurrencyPairId != 0) { output.WriteRawTag(248, 2); output.WriteUInt32(CurrencyPairId); @@ -6616,7 +8668,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurrencyPairId != 0) { + output.WriteRawTag(248, 2); + output.WriteUInt32(CurrencyPairId); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (Unreliable != 0) { + output.WriteRawTag(136, 13); + output.WriteInt32(Unreliable); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6653,16 +8727,48 @@ public void MergeFrom(ExchangeRateMessage other) { if (other.Unreliable != 0) { Unreliable = other.Unreliable; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 376: { + CurrencyPairId = input.ReadUInt32(); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 1672: { + Unreliable = input.ReadInt32(); + break; + } + } + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 376: { CurrencyPairId = input.ReadUInt32(); @@ -6682,10 +8788,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class TraderBalanceMessage : pb::IMessage { + public sealed partial class TraderBalanceMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TraderBalanceMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6806,6 +8917,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (CurrencyId != 0) { output.WriteRawTag(136, 3); output.WriteUInt32(CurrencyId); @@ -6825,7 +8939,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurrencyId != 0) { + output.WriteRawTag(136, 3); + output.WriteUInt32(CurrencyId); + } + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -6879,6 +9019,9 @@ public void MergeFrom(TraderBalanceMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -6912,11 +9055,55 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 392: { + CurrencyId = input.ReadUInt32(); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + } + } } + #endif } - public sealed partial class PositionEventMessage : pb::IMessage { + public sealed partial class PositionEventMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PositionEventMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6943,6 +9130,7 @@ public PositionEventMessage() { public PositionEventMessage(PositionEventMessage other) : this() { liquidatedTrades_ = other.liquidatedTrades_.Clone(); terminatedOrders_ = other.terminatedOrders_.Clone(); + orders_ = other.orders_.Clone(); traderBalance_ = other.traderBalance_ != null ? other.traderBalance_.Clone() : null; orderMargin_ = other.orderMargin_ != null ? other.orderMargin_.Clone() : null; positionMargin_ = other.positionMargin_ != null ? other.positionMargin_.Clone() : null; @@ -6991,11 +9179,27 @@ public PositionEventMessage Clone() { private static readonly pb::FieldCodec _repeated_terminatedOrders_codec = pb::FieldCodec.ForBytes(770); private readonly pbc::RepeatedField terminatedOrders_ = new pbc::RepeatedField(); + /// + /// DEPRECATED, see orders + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pbc::RepeatedField TerminatedOrders { get { return terminatedOrders_; } } + /// Field number for the "orders" field. + public const int OrdersFieldNumber = 70; + private static readonly pb::FieldCodec _repeated_orders_codec + = pb::FieldCodec.ForMessage(562, global::DigitexWire.OrderMessage.Parser); + private readonly pbc::RepeatedField orders_ = new pbc::RepeatedField(); + /// + /// liquidated orders + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField Orders { + get { return orders_; } + } + /// Field number for the "trader_balance" field. public const int TraderBalanceFieldNumber = 51; private global::DigitexWire.Decimal traderBalance_; @@ -7269,94 +9473,211 @@ public long LastTradeTimestamp { set { ceilMarkPrice_ = value; } - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override bool Equals(object other) { - return Equals(other as PositionEventMessage); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public bool Equals(PositionEventMessage other) { - if (ReferenceEquals(other, null)) { - return false; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as PositionEventMessage); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(PositionEventMessage other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!liquidatedTrades_.Equals(other.liquidatedTrades_)) return false; + if(!terminatedOrders_.Equals(other.terminatedOrders_)) return false; + if(!orders_.Equals(other.orders_)) return false; + if (!object.Equals(TraderBalance, other.TraderBalance)) return false; + if (!object.Equals(OrderMargin, other.OrderMargin)) return false; + if (!object.Equals(PositionMargin, other.PositionMargin)) return false; + if (!object.Equals(Upnl, other.Upnl)) return false; + if (!object.Equals(Pnl, other.Pnl)) return false; + if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; + if (!object.Equals(PositionContracts, other.PositionContracts)) return false; + if (!object.Equals(PositionVolume, other.PositionVolume)) return false; + if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; + if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; + if (PositionType != other.PositionType) return false; + if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; + if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; + if (LastTradeTimestamp != other.LastTradeTimestamp) return false; + if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; + if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; + if (!object.Equals(TraderBalanceIncrement, other.TraderBalanceIncrement)) return false; + if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; + if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; + if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; + if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; + if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; + if (!object.Equals(MarkPrice, other.MarkPrice)) return false; + if (!object.Equals(FloorMarkPrice, other.FloorMarkPrice)) return false; + if (!object.Equals(CeilMarkPrice, other.CeilMarkPrice)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= liquidatedTrades_.GetHashCode(); + hash ^= terminatedOrders_.GetHashCode(); + hash ^= orders_.GetHashCode(); + if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); + if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); + if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); + if (upnl_ != null) hash ^= Upnl.GetHashCode(); + if (pnl_ != null) hash ^= Pnl.GetHashCode(); + if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); + if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); + if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); + if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); + if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); + if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); + if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); + if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); + if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); + if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); + if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); + if (traderBalanceIncrement_ != null) hash ^= TraderBalanceIncrement.GetHashCode(); + if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); + if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); + if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); + if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); + if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); + if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); + if (floorMarkPrice_ != null) hash ^= FloorMarkPrice.GetHashCode(); + if (ceilMarkPrice_ != null) hash ^= CeilMarkPrice.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + orders_.WriteTo(output, _repeated_orders_codec); + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + terminatedOrders_.WriteTo(output, _repeated_terminatedOrders_codec); + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (traderBalanceIncrement_ != null) { + output.WriteRawTag(178, 8); + output.WriteMessage(TraderBalanceIncrement); + } + if (floorMarkPrice_ != null) { + output.WriteRawTag(186, 8); + output.WriteMessage(FloorMarkPrice); + } + if (ceilMarkPrice_ != null) { + output.WriteRawTag(194, 8); + output.WriteMessage(CeilMarkPrice); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + liquidatedTrades_.WriteTo(output, _repeated_liquidatedTrades_codec); + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); } - if (ReferenceEquals(other, this)) { - return true; + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); } - if(!liquidatedTrades_.Equals(other.liquidatedTrades_)) return false; - if(!terminatedOrders_.Equals(other.terminatedOrders_)) return false; - if (!object.Equals(TraderBalance, other.TraderBalance)) return false; - if (!object.Equals(OrderMargin, other.OrderMargin)) return false; - if (!object.Equals(PositionMargin, other.PositionMargin)) return false; - if (!object.Equals(Upnl, other.Upnl)) return false; - if (!object.Equals(Pnl, other.Pnl)) return false; - if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; - if (!object.Equals(PositionContracts, other.PositionContracts)) return false; - if (!object.Equals(PositionVolume, other.PositionVolume)) return false; - if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; - if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; - if (PositionType != other.PositionType) return false; - if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; - if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; - if (LastTradeTimestamp != other.LastTradeTimestamp) return false; - if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; - if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; - if (!object.Equals(TraderBalanceIncrement, other.TraderBalanceIncrement)) return false; - if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; - if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; - if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; - if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; - if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; - if (!object.Equals(MarkPrice, other.MarkPrice)) return false; - if (!object.Equals(FloorMarkPrice, other.FloorMarkPrice)) return false; - if (!object.Equals(CeilMarkPrice, other.CeilMarkPrice)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - hash ^= liquidatedTrades_.GetHashCode(); - hash ^= terminatedOrders_.GetHashCode(); - if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); - if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); - if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); - if (upnl_ != null) hash ^= Upnl.GetHashCode(); - if (pnl_ != null) hash ^= Pnl.GetHashCode(); - if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); - if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); - if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); - if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); - if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); - if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); - if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); - if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); - if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); - if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); - if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); - if (traderBalanceIncrement_ != null) hash ^= TraderBalanceIncrement.GetHashCode(); - if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); - if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); - if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); - if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); - if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); - if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); - if (floorMarkPrice_ != null) hash ^= FloorMarkPrice.GetHashCode(); - if (ceilMarkPrice_ != null) hash ^= CeilMarkPrice.GetHashCode(); if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (traderBalance_ != null) { output.WriteRawTag(154, 3); output.WriteMessage(TraderBalance); @@ -7365,6 +9686,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 3); output.WriteMessage(MarkPrice); } + orders_.WriteTo(ref output, _repeated_orders_codec); if (orderMargin_ != null) { output.WriteRawTag(226, 4); output.WriteMessage(OrderMargin); @@ -7377,7 +9699,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(250, 4); output.WriteMessage(Upnl); } - terminatedOrders_.WriteTo(output, _repeated_terminatedOrders_codec); + terminatedOrders_.WriteTo(ref output, _repeated_terminatedOrders_codec); if (positionContracts_ != null) { output.WriteRawTag(194, 6); output.WriteMessage(PositionContracts); @@ -7430,7 +9752,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(210, 9); output.WriteMessage(Pnl); } - liquidatedTrades_.WriteTo(output, _repeated_liquidatedTrades_codec); + liquidatedTrades_.WriteTo(ref output, _repeated_liquidatedTrades_codec); if (accumQuantity_ != null) { output.WriteRawTag(170, 11); output.WriteMessage(AccumQuantity); @@ -7460,15 +9782,17 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(FullSellOrderMargin); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; size += liquidatedTrades_.CalculateSize(_repeated_liquidatedTrades_codec); size += terminatedOrders_.CalculateSize(_repeated_terminatedOrders_codec); + size += orders_.CalculateSize(_repeated_orders_codec); if (traderBalance_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(TraderBalance); } @@ -7557,6 +9881,7 @@ public void MergeFrom(PositionEventMessage other) { } liquidatedTrades_.Add(other.liquidatedTrades_); terminatedOrders_.Add(other.terminatedOrders_); + orders_.Add(other.orders_); if (other.traderBalance_ != null) { if (traderBalance_ == null) { TraderBalance = new global::DigitexWire.Decimal(); @@ -7699,18 +10024,216 @@ public void MergeFrom(PositionEventMessage other) { if (ceilMarkPrice_ == null) { CeilMarkPrice = new global::DigitexWire.Decimal(); } - CeilMarkPrice.MergeFrom(other.CeilMarkPrice); + CeilMarkPrice.MergeFrom(other.CeilMarkPrice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 562: { + orders_.AddEntriesFrom(input, _repeated_orders_codec); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 770: { + terminatedOrders_.AddEntriesFrom(input, _repeated_terminatedOrders_codec); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1074: { + if (traderBalanceIncrement_ == null) { + TraderBalanceIncrement = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalanceIncrement); + break; + } + case 1082: { + if (floorMarkPrice_ == null) { + FloorMarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FloorMarkPrice); + break; + } + case 1090: { + if (ceilMarkPrice_ == null) { + CeilMarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(CeilMarkPrice); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1346: { + liquidatedTrades_.AddEntriesFrom(input, _repeated_liquidatedTrades_codec); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 410: { if (traderBalance_ == null) { @@ -7726,6 +10249,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(MarkPrice); break; } + case 562: { + orders_.AddEntriesFrom(ref input, _repeated_orders_codec); + break; + } case 610: { if (orderMargin_ == null) { OrderMargin = new global::DigitexWire.Decimal(); @@ -7748,7 +10275,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 770: { - terminatedOrders_.AddEntriesFrom(input, _repeated_terminatedOrders_codec); + terminatedOrders_.AddEntriesFrom(ref input, _repeated_terminatedOrders_codec); break; } case 834: { @@ -7840,7 +10367,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 1346: { - liquidatedTrades_.AddEntriesFrom(input, _repeated_liquidatedTrades_codec); + liquidatedTrades_.AddEntriesFrom(ref input, _repeated_liquidatedTrades_codec); break; } case 1450: { @@ -7892,10 +10419,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class OrderBookRequestMessage : pb::IMessage { + public sealed partial class OrderBookRequestMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderBookRequestMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7960,10 +10492,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -7984,6 +10529,9 @@ public void MergeFrom(OrderBookRequestMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -7992,11 +10540,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class OrderBookEntryMessage : pb::IMessage { + public sealed partial class OrderBookEntryMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderBookEntryMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8103,6 +10670,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (price_ != null) { output.WriteRawTag(178, 2); output.WriteMessage(Price); @@ -8118,7 +10688,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (EntryTimestamp != 0L) { + output.WriteRawTag(216, 9); + output.WriteInt64(EntryTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -8163,6 +10755,9 @@ public void MergeFrom(OrderBookEntryMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -8189,11 +10784,48 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 1240: { + EntryTimestamp = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class OrderBookTradeEntryMessage : pb::IMessage { + public sealed partial class OrderBookTradeEntryMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderBookTradeEntryMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8314,6 +10946,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Side != global::DigitexWire.OrderSide.SideUndefined) { output.WriteRawTag(136, 2); output.WriteEnum((int) Side); @@ -8333,7 +10968,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (EntryTimestamp != 0L) { + output.WriteRawTag(216, 9); + output.WriteInt64(EntryTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -8384,6 +11045,9 @@ public void MergeFrom(OrderBookTradeEntryMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -8414,11 +11078,52 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 1240: { + EntryTimestamp = input.ReadInt64(); + break; + } + } + } + } + #endif + } - public sealed partial class OrderBookMessage : pb::IMessage { + public sealed partial class OrderBookMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderBookMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8565,6 +11270,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (markPrice_ != null) { output.WriteRawTag(162, 3); output.WriteMessage(MarkPrice); @@ -8586,8 +11294,36 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + bids_.WriteTo(ref output, _repeated_bids_codec); + asks_.WriteTo(ref output, _repeated_asks_codec); + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -8644,6 +11380,9 @@ public void MergeFrom(OrderBookMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -8685,11 +11424,63 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 426: { + bids_.AddEntriesFrom(ref input, _repeated_bids_codec); + break; + } + case 434: { + asks_.AddEntriesFrom(ref input, _repeated_asks_codec); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class OrderBookUpdatedMessage : pb::IMessage { + public sealed partial class OrderBookUpdatedMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderBookUpdatedMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8889,7 +11680,47 @@ public override string ToString() { } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (LastFullTimestamp != 0L) { + output.WriteRawTag(184, 3); + output.WriteInt64(LastFullTimestamp); + } + if (UpdateSerial != 0L) { + output.WriteRawTag(192, 3); + output.WriteInt64(UpdateSerial); + } + bidUpdates_.WriteTo(output, _repeated_bidUpdates_codec); + askUpdates_.WriteTo(output, _repeated_askUpdates_codec); + trades_.WriteTo(output, _repeated_trades_codec); + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + trades2_.WriteTo(output, _repeated_trades2_codec); + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (markPrice_ != null) { output.WriteRawTag(162, 3); output.WriteMessage(MarkPrice); @@ -8902,9 +11733,9 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(192, 3); output.WriteInt64(UpdateSerial); } - bidUpdates_.WriteTo(output, _repeated_bidUpdates_codec); - askUpdates_.WriteTo(output, _repeated_askUpdates_codec); - trades_.WriteTo(output, _repeated_trades_codec); + bidUpdates_.WriteTo(ref output, _repeated_bidUpdates_codec); + askUpdates_.WriteTo(ref output, _repeated_askUpdates_codec); + trades_.WriteTo(ref output, _repeated_trades_codec); if (lastTradePrice_ != null) { output.WriteRawTag(138, 7); output.WriteMessage(LastTradePrice); @@ -8913,15 +11744,16 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 7); output.WriteMessage(LastTradeQuantity); } - trades2_.WriteTo(output, _repeated_trades2_codec); + trades2_.WriteTo(ref output, _repeated_trades2_codec); if (LastTradeTimestamp != 0L) { output.WriteRawTag(192, 18); output.WriteInt64(LastTradeTimestamp); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -8995,6 +11827,9 @@ public void MergeFrom(OrderBookUpdatedMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9052,11 +11887,79 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 440: { + LastFullTimestamp = input.ReadInt64(); + break; + } + case 448: { + UpdateSerial = input.ReadInt64(); + break; + } + case 466: { + bidUpdates_.AddEntriesFrom(ref input, _repeated_bidUpdates_codec); + break; + } + case 474: { + askUpdates_.AddEntriesFrom(ref input, _repeated_askUpdates_codec); + break; + } + case 482: { + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 2338: { + trades2_.AddEntriesFrom(ref input, _repeated_trades2_codec); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class PingMessage : pb::IMessage { + public sealed partial class PingMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PingMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9121,10 +12024,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -9145,6 +12061,9 @@ public void MergeFrom(PingMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9153,11 +12072,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class PongMessage : pb::IMessage { + public sealed partial class PongMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PongMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9264,6 +12202,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PingSender != 0) { output.WriteRawTag(232, 3); output.WriteUInt32(PingSender); @@ -9279,7 +12220,29 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PingSender != 0) { + output.WriteRawTag(232, 3); + output.WriteUInt32(PingSender); + } + if (PingSerial != 0UL) { + output.WriteRawTag(240, 3); + output.WriteUInt64(PingSerial); + } + if (PingTimestamp != 0L) { + output.WriteRawTag(248, 3); + output.WriteInt64(PingTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -9318,6 +12281,9 @@ public void MergeFrom(PongMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9338,11 +12304,42 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 488: { + PingSender = input.ReadUInt32(); + break; + } + case 496: { + PingSerial = input.ReadUInt64(); + break; + } + case 504: { + PingTimestamp = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class GetTraderStatusMessage : pb::IMessage { + public sealed partial class GetTraderStatusMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTraderStatusMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9407,10 +12404,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -9431,6 +12441,9 @@ public void MergeFrom(GetTraderStatusMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -9439,11 +12452,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class OrderMessage : pb::IMessage { + public sealed partial class OrderMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9486,6 +12518,7 @@ public OrderMessage(OrderMessage other) : this() { origQuantity_ = other.origQuantity_ != null ? other.origQuantity_.Clone() : null; isClosing_ = other.isClosing_; mayIncrease_ = other.mayIncrease_; + origOrderId_ = other.origOrderId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -9497,6 +12530,9 @@ public OrderMessage Clone() { /// Field number for the "order_client_id" field. public const int OrderClientIdFieldNumber = 71; private pb::ByteString orderClientId_ = pb::ByteString.Empty; + /// + /// FIXME: rename to order_id + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pb::ByteString OrderClientId { get { return orderClientId_; } @@ -9632,6 +12668,9 @@ public ulong ContractId { /// Field number for the "old_client_id" field. public const int OldClientIdFieldNumber = 153; private pb::ByteString oldClientId_ = pb::ByteString.Empty; + /// + /// FIXME: rename to old_order_id + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public pb::ByteString OldClientId { get { return oldClientId_; } @@ -9695,6 +12734,20 @@ public int MayIncrease { } } + /// Field number for the "orig_order_id" field. + public const int OrigOrderIdFieldNumber = 327; + private pb::ByteString origOrderId_ = pb::ByteString.Empty; + /// + /// from v129: the auto-generated order_id of the first order in chain + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString OrigOrderId { + get { return origOrderId_; } + set { + origOrderId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as OrderMessage); @@ -9726,6 +12779,7 @@ public bool Equals(OrderMessage other) { if (!object.Equals(OrigQuantity, other.OrigQuantity)) return false; if (IsClosing != other.IsClosing) return false; if (MayIncrease != other.MayIncrease) return false; + if (OrigOrderId != other.OrigOrderId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9750,6 +12804,7 @@ public override int GetHashCode() { if (origQuantity_ != null) hash ^= OrigQuantity.GetHashCode(); if (IsClosing != 0) hash ^= IsClosing.GetHashCode(); if (MayIncrease != 0) hash ^= MayIncrease.GetHashCode(); + if (OrigOrderId.Length != 0) hash ^= OrigOrderId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9763,6 +12818,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -9835,10 +12893,100 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(168, 18); output.WriteInt32(MayIncrease); } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (Side != global::DigitexWire.OrderSide.SideUndefined) { + output.WriteRawTag(136, 2); + output.WriteEnum((int) Side); + } + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + if (Duration != global::DigitexWire.OrderDuration.DurationUndefined) { + output.WriteRawTag(152, 2); + output.WriteEnum((int) Duration); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (ContractId != 0UL) { + output.WriteRawTag(200, 2); + output.WriteUInt64(ContractId); + } + if (paidPrice_ != null) { + output.WriteRawTag(146, 4); + output.WriteMessage(PaidPrice); + } + if (OrderClientId.Length != 0) { + output.WriteRawTag(186, 4); + output.WriteBytes(OrderClientId); + } + if (OrderTimestamp != 0L) { + output.WriteRawTag(192, 4); + output.WriteInt64(OrderTimestamp); + } + if (OrderTraderId != 0) { + output.WriteRawTag(200, 4); + output.WriteUInt32(OrderTraderId); + } + if (OldClientId.Length != 0) { + output.WriteRawTag(202, 9); + output.WriteBytes(OldClientId); + } + if (OrigClientId.Length != 0) { + output.WriteRawTag(226, 12); + output.WriteBytes(OrigClientId); + } + if (OpenTime != 0L) { + output.WriteRawTag(232, 12); + output.WriteInt64(OpenTime); + } + if (origQuantity_ != null) { + output.WriteRawTag(242, 12); + output.WriteMessage(OrigQuantity); + } + if (volume_ != null) { + output.WriteRawTag(186, 17); + output.WriteMessage(Volume); + } + if (IsClosing != 0) { + output.WriteRawTag(192, 17); + output.WriteInt32(IsClosing); + } + if (MayIncrease != 0) { + output.WriteRawTag(168, 18); + output.WriteInt32(MayIncrease); + } + if (OrigOrderId.Length != 0) { + output.WriteRawTag(186, 20); + output.WriteBytes(OrigOrderId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -9897,6 +13045,9 @@ public int CalculateSize() { if (MayIncrease != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(MayIncrease); } + if (OrigOrderId.Length != 0) { + size += 2 + pb::CodedOutputStream.ComputeBytesSize(OrigOrderId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9969,24 +13120,135 @@ public void MergeFrom(OrderMessage other) { if (origQuantity_ == null) { OrigQuantity = new global::DigitexWire.Decimal(); } - OrigQuantity.MergeFrom(other.OrigQuantity); - } - if (other.IsClosing != 0) { - IsClosing = other.IsClosing; + OrigQuantity.MergeFrom(other.OrigQuantity); + } + if (other.IsClosing != 0) { + IsClosing = other.IsClosing; + } + if (other.MayIncrease != 0) { + MayIncrease = other.MayIncrease; + } + if (other.OrigOrderId.Length != 0) { + OrigOrderId = other.OrigOrderId; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 264: { + Side = (global::DigitexWire.OrderSide) input.ReadEnum(); + break; + } + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 280: { + Duration = (global::DigitexWire.OrderDuration) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 328: { + ContractId = input.ReadUInt64(); + break; + } + case 530: { + if (paidPrice_ == null) { + PaidPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PaidPrice); + break; + } + case 570: { + OrderClientId = input.ReadBytes(); + break; + } + case 576: { + OrderTimestamp = input.ReadInt64(); + break; + } + case 584: { + OrderTraderId = input.ReadUInt32(); + break; + } + case 1226: { + OldClientId = input.ReadBytes(); + break; + } + case 1634: { + OrigClientId = input.ReadBytes(); + break; + } + case 1640: { + OpenTime = input.ReadInt64(); + break; + } + case 1650: { + if (origQuantity_ == null) { + OrigQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrigQuantity); + break; + } + case 2234: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 2240: { + IsClosing = input.ReadInt32(); + break; + } + case 2344: { + MayIncrease = input.ReadInt32(); + break; + } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } + } } - if (other.MayIncrease != 0) { - MayIncrease = other.MayIncrease; - } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 256: { OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); @@ -10075,13 +13337,22 @@ public void MergeFrom(pb::CodedInputStream input) { MayIncrease = input.ReadInt32(); break; } + case 2618: { + OrigOrderId = input.ReadBytes(); + break; + } } } } + #endif } - public sealed partial class TraderStatusMessage : pb::IMessage { + public sealed partial class TraderStatusMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TraderStatusMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10448,84 +13719,195 @@ public bool Equals(TraderStatusMessage other) { if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(TraderBalance, other.TraderBalance)) return false; - if (!object.Equals(OrderMargin, other.OrderMargin)) return false; - if (!object.Equals(PositionMargin, other.PositionMargin)) return false; - if (!object.Equals(Upnl, other.Upnl)) return false; - if (!object.Equals(Pnl, other.Pnl)) return false; - if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; - if (!object.Equals(MarkPrice, other.MarkPrice)) return false; - if (!object.Equals(PositionContracts, other.PositionContracts)) return false; - if (!object.Equals(PositionVolume, other.PositionVolume)) return false; - if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; - if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; - if (PositionType != other.PositionType) return false; - if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; - if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; - if (LastTradeTimestamp != other.LastTradeTimestamp) return false; - if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; - if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; - if(!trades_.Equals(other.trades_)) return false; - if(!orders_.Equals(other.orders_)) return false; - if (Leverage != other.Leverage) return false; - if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; - if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; - if (!object.Equals(TraderBalance2, other.TraderBalance2)) return false; - if(!delayedActions_.Equals(other.delayedActions_)) return false; - if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; - if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; - if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; - return Equals(_unknownFields, other._unknownFields); - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override int GetHashCode() { - int hash = 1; - if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); - if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); - if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); - if (upnl_ != null) hash ^= Upnl.GetHashCode(); - if (pnl_ != null) hash ^= Pnl.GetHashCode(); - if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); - if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); - if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); - if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); - if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); - if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); - if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); - if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); - if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); - if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); - if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); - if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); - hash ^= trades_.GetHashCode(); - hash ^= orders_.GetHashCode(); - if (Leverage != 0) hash ^= Leverage.GetHashCode(); - if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); - if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); - if (traderBalance2_ != null) hash ^= TraderBalance2.GetHashCode(); - hash ^= delayedActions_.GetHashCode(); - if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); - if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); - if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); + if (!object.Equals(TraderBalance, other.TraderBalance)) return false; + if (!object.Equals(OrderMargin, other.OrderMargin)) return false; + if (!object.Equals(PositionMargin, other.PositionMargin)) return false; + if (!object.Equals(Upnl, other.Upnl)) return false; + if (!object.Equals(Pnl, other.Pnl)) return false; + if (!object.Equals(AccumQuantity, other.AccumQuantity)) return false; + if (!object.Equals(MarkPrice, other.MarkPrice)) return false; + if (!object.Equals(PositionContracts, other.PositionContracts)) return false; + if (!object.Equals(PositionVolume, other.PositionVolume)) return false; + if (!object.Equals(PositionLiquidationVolume, other.PositionLiquidationVolume)) return false; + if (!object.Equals(PositionBankruptcyVolume, other.PositionBankruptcyVolume)) return false; + if (PositionType != other.PositionType) return false; + if (!object.Equals(LastTradePrice, other.LastTradePrice)) return false; + if (!object.Equals(LastTradeQuantity, other.LastTradeQuantity)) return false; + if (LastTradeTimestamp != other.LastTradeTimestamp) return false; + if (!object.Equals(BuyOrderMargin, other.BuyOrderMargin)) return false; + if (!object.Equals(SellOrderMargin, other.SellOrderMargin)) return false; + if(!trades_.Equals(other.trades_)) return false; + if(!orders_.Equals(other.orders_)) return false; + if (Leverage != other.Leverage) return false; + if (!object.Equals(BuyOrderQuantity, other.BuyOrderQuantity)) return false; + if (!object.Equals(SellOrderQuantity, other.SellOrderQuantity)) return false; + if (!object.Equals(TraderBalance2, other.TraderBalance2)) return false; + if(!delayedActions_.Equals(other.delayedActions_)) return false; + if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; + if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; + if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (traderBalance_ != null) hash ^= TraderBalance.GetHashCode(); + if (orderMargin_ != null) hash ^= OrderMargin.GetHashCode(); + if (positionMargin_ != null) hash ^= PositionMargin.GetHashCode(); + if (upnl_ != null) hash ^= Upnl.GetHashCode(); + if (pnl_ != null) hash ^= Pnl.GetHashCode(); + if (accumQuantity_ != null) hash ^= AccumQuantity.GetHashCode(); + if (markPrice_ != null) hash ^= MarkPrice.GetHashCode(); + if (positionContracts_ != null) hash ^= PositionContracts.GetHashCode(); + if (positionVolume_ != null) hash ^= PositionVolume.GetHashCode(); + if (positionLiquidationVolume_ != null) hash ^= PositionLiquidationVolume.GetHashCode(); + if (positionBankruptcyVolume_ != null) hash ^= PositionBankruptcyVolume.GetHashCode(); + if (PositionType != global::DigitexWire.OrderPosition.Undefined) hash ^= PositionType.GetHashCode(); + if (lastTradePrice_ != null) hash ^= LastTradePrice.GetHashCode(); + if (lastTradeQuantity_ != null) hash ^= LastTradeQuantity.GetHashCode(); + if (LastTradeTimestamp != 0L) hash ^= LastTradeTimestamp.GetHashCode(); + if (buyOrderMargin_ != null) hash ^= BuyOrderMargin.GetHashCode(); + if (sellOrderMargin_ != null) hash ^= SellOrderMargin.GetHashCode(); + hash ^= trades_.GetHashCode(); + hash ^= orders_.GetHashCode(); + if (Leverage != 0) hash ^= Leverage.GetHashCode(); + if (buyOrderQuantity_ != null) hash ^= BuyOrderQuantity.GetHashCode(); + if (sellOrderQuantity_ != null) hash ^= SellOrderQuantity.GetHashCode(); + if (traderBalance2_ != null) hash ^= TraderBalance2.GetHashCode(); + hash ^= delayedActions_.GetHashCode(); + if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); + if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); + if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (Leverage != 0) { + output.WriteRawTag(144, 2); + output.WriteUInt32(Leverage); + } + trades_.WriteTo(output, _repeated_trades_codec); + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + orders_.WriteTo(output, _repeated_orders_codec); + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (traderBalance2_ != null) { + output.WriteRawTag(178, 17); + output.WriteMessage(TraderBalance2); + } + delayedActions_.WriteTo(output, _repeated_delayedActions_codec); + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + _unknownFields.WriteTo(output); } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (Leverage != 0) { output.WriteRawTag(144, 2); output.WriteUInt32(Leverage); } - trades_.WriteTo(output, _repeated_trades_codec); + trades_.WriteTo(ref output, _repeated_trades_codec); if (traderBalance_ != null) { output.WriteRawTag(154, 3); output.WriteMessage(TraderBalance); @@ -10534,7 +13916,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(162, 3); output.WriteMessage(MarkPrice); } - orders_.WriteTo(output, _repeated_orders_codec); + orders_.WriteTo(ref output, _repeated_orders_codec); if (orderMargin_ != null) { output.WriteRawTag(226, 4); output.WriteMessage(OrderMargin); @@ -10603,7 +13985,7 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(178, 17); output.WriteMessage(TraderBalance2); } - delayedActions_.WriteTo(output, _repeated_delayedActions_codec); + delayedActions_.WriteTo(ref output, _repeated_delayedActions_codec); if (LastTradeTimestamp != 0L) { output.WriteRawTag(192, 18); output.WriteInt64(LastTradeTimestamp); @@ -10621,9 +14003,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(FullSellOrderMargin); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -10850,25 +14233,213 @@ public void MergeFrom(TraderStatusMessage other) { if (fullSellOrderMargin_ == null) { FullSellOrderMargin = new global::DigitexWire.Decimal(); } - FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 272: { + Leverage = input.ReadUInt32(); + break; + } + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 562: { + orders_.AddEntriesFrom(input, _repeated_orders_codec); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 2226: { + if (traderBalance2_ == null) { + TraderBalance2 = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance2); + break; + } + case 2306: { + delayedActions_.AddEntriesFrom(input, _repeated_delayedActions_codec); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 272: { Leverage = input.ReadUInt32(); break; } case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 410: { @@ -10886,7 +14457,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 562: { - orders_.AddEntriesFrom(input, _repeated_orders_codec); + orders_.AddEntriesFrom(ref input, _repeated_orders_codec); break; } case 610: { @@ -11006,7 +14577,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 2306: { - delayedActions_.AddEntriesFrom(input, _repeated_delayedActions_codec); + delayedActions_.AddEntriesFrom(ref input, _repeated_delayedActions_codec); break; } case 2368: { @@ -11037,10 +14608,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class FundingMessage : pb::IMessage { + public sealed partial class FundingMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FundingMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11091,6 +14667,7 @@ public FundingMessage(FundingMessage other) : this() { fullPositionMargin_ = other.fullPositionMargin_ != null ? other.fullPositionMargin_.Clone() : null; fullBuyOrderMargin_ = other.fullBuyOrderMargin_ != null ? other.fullBuyOrderMargin_.Clone() : null; fullSellOrderMargin_ = other.fullSellOrderMargin_ != null ? other.fullSellOrderMargin_.Clone() : null; + fundingTime_ = other.fundingTime_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -11384,6 +14961,17 @@ public long LastTradeTimestamp { } } + /// Field number for the "funding_time" field. + public const int FundingTimeFieldNumber = 127; + private long fundingTime_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public long FundingTime { + get { return fundingTime_; } + set { + fundingTime_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as FundingMessage); @@ -11423,6 +15011,7 @@ public bool Equals(FundingMessage other) { if (!object.Equals(FullPositionMargin, other.FullPositionMargin)) return false; if (!object.Equals(FullBuyOrderMargin, other.FullBuyOrderMargin)) return false; if (!object.Equals(FullSellOrderMargin, other.FullSellOrderMargin)) return false; + if (FundingTime != other.FundingTime) return false; return Equals(_unknownFields, other._unknownFields); } @@ -11455,6 +15044,7 @@ public override int GetHashCode() { if (fullPositionMargin_ != null) hash ^= FullPositionMargin.GetHashCode(); if (fullBuyOrderMargin_ != null) hash ^= FullBuyOrderMargin.GetHashCode(); if (fullSellOrderMargin_ != null) hash ^= FullSellOrderMargin.GetHashCode(); + if (FundingTime != 0L) hash ^= FundingTime.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -11468,6 +15058,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else trades_.WriteTo(output, _repeated_trades_codec); if (traderBalance_ != null) { output.WriteRawTag(154, 3); @@ -11533,6 +15126,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(186, 7); output.WriteMessage(SellOrderMargin); } + if (FundingTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(FundingTime); + } if (pnl_ != null) { output.WriteRawTag(210, 9); output.WriteMessage(Pnl); @@ -11572,7 +15169,122 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + trades_.WriteTo(ref output, _repeated_trades_codec); + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + if (payout_ != null) { + output.WriteRawTag(170, 6); + output.WriteMessage(Payout); + } + if (payoutPerContract_ != null) { + output.WriteRawTag(178, 6); + output.WriteMessage(PayoutPerContract); + } + if (positionContracts_ != null) { + output.WriteRawTag(194, 6); + output.WriteMessage(PositionContracts); + } + if (positionVolume_ != null) { + output.WriteRawTag(202, 6); + output.WriteMessage(PositionVolume); + } + if (positionLiquidationVolume_ != null) { + output.WriteRawTag(210, 6); + output.WriteMessage(PositionLiquidationVolume); + } + if (PositionType != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(216, 6); + output.WriteEnum((int) PositionType); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (positionBankruptcyVolume_ != null) { + output.WriteRawTag(170, 7); + output.WriteMessage(PositionBankruptcyVolume); + } + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (FundingTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(FundingTime); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (positionMarginChange_ != null) { + output.WriteRawTag(154, 10); + output.WriteMessage(PositionMarginChange); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -11653,6 +15365,9 @@ public int CalculateSize() { if (fullSellOrderMargin_ != null) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(FullSellOrderMargin); } + if (FundingTime != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(FundingTime); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -11807,21 +15522,218 @@ public void MergeFrom(FundingMessage other) { if (fullSellOrderMargin_ == null) { FullSellOrderMargin = new global::DigitexWire.Decimal(); } - FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + FullSellOrderMargin.MergeFrom(other.FullSellOrderMargin); + } + if (other.FundingTime != 0L) { + FundingTime = other.FundingTime; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 810: { + if (payout_ == null) { + Payout = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Payout); + break; + } + case 818: { + if (payoutPerContract_ == null) { + PayoutPerContract = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PayoutPerContract); + break; + } + case 834: { + if (positionContracts_ == null) { + PositionContracts = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionContracts); + break; + } + case 842: { + if (positionVolume_ == null) { + PositionVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionVolume); + break; + } + case 850: { + if (positionLiquidationVolume_ == null) { + PositionLiquidationVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionLiquidationVolume); + break; + } + case 856: { + PositionType = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 938: { + if (positionBankruptcyVolume_ == null) { + PositionBankruptcyVolume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionBankruptcyVolume); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1016: { + FundingTime = input.ReadInt64(); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1306: { + if (positionMarginChange_ == null) { + PositionMarginChange = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMarginChange); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 410: { @@ -11933,6 +15845,10 @@ public void MergeFrom(pb::CodedInputStream input) { input.ReadMessage(SellOrderMargin); break; } + case 1016: { + FundingTime = input.ReadInt64(); + break; + } case 1234: { if (pnl_ == null) { Pnl = new global::DigitexWire.Decimal(); @@ -11996,10 +15912,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class OHLCVMessage : pb::IMessage { + public sealed partial class OHLCVMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OHLCVMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12162,6 +16083,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Timestamp != 0L) { output.WriteRawTag(16); output.WriteInt64(Timestamp); @@ -12193,7 +16117,45 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Timestamp != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Timestamp); + } + if (volume_ != null) { + output.WriteRawTag(130, 3); + output.WriteMessage(Volume); + } + if (openPrice_ != null) { + output.WriteRawTag(186, 5); + output.WriteMessage(OpenPrice); + } + if (highPrice_ != null) { + output.WriteRawTag(194, 5); + output.WriteMessage(HighPrice); + } + if (lowPrice_ != null) { + output.WriteRawTag(202, 5); + output.WriteMessage(LowPrice); + } + if (closePrice_ != null) { + output.WriteRawTag(210, 5); + output.WriteMessage(ClosePrice); + } + if (averageOraclePrice_ != null) { + output.WriteRawTag(146, 8); + output.WriteMessage(AverageOraclePrice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -12274,6 +16236,9 @@ public void MergeFrom(OHLCVMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -12328,11 +16293,76 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 16: { + Timestamp = input.ReadInt64(); + break; + } + case 386: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 698: { + if (openPrice_ == null) { + OpenPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OpenPrice); + break; + } + case 706: { + if (highPrice_ == null) { + HighPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(HighPrice); + break; + } + case 714: { + if (lowPrice_ == null) { + LowPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LowPrice); + break; + } + case 722: { + if (closePrice_ == null) { + ClosePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ClosePrice); + break; + } + case 1042: { + if (averageOraclePrice_ == null) { + AverageOraclePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AverageOraclePrice); + break; + } + } + } } + #endif } - public sealed partial class SubscribeMessage : pb::IMessage { + public sealed partial class SubscribeMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12425,6 +16455,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (SubscribeMask != 0UL) { output.WriteRawTag(240, 5); output.WriteUInt64(SubscribeMask); @@ -12436,7 +16469,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SubscribeMask != 0UL) { + output.WriteRawTag(240, 5); + output.WriteUInt64(SubscribeMask); + } + if (UnsubscribeMask != 0UL) { + output.WriteRawTag(248, 5); + output.WriteUInt64(UnsubscribeMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -12469,6 +16520,9 @@ public void MergeFrom(SubscribeMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -12485,11 +16539,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 752: { + SubscribeMask = input.ReadUInt64(); + break; + } + case 760: { + UnsubscribeMask = input.ReadUInt64(); + break; + } + } + } + } + #endif + } - public sealed partial class SubscribeStatusMessage : pb::IMessage { + public sealed partial class SubscribeStatusMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SubscribeStatusMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12568,6 +16649,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (SubscribeMask != 0UL) { output.WriteRawTag(240, 5); output.WriteUInt64(SubscribeMask); @@ -12575,7 +16659,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (SubscribeMask != 0UL) { + output.WriteRawTag(240, 5); + output.WriteUInt64(SubscribeMask); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -12602,6 +16700,9 @@ public void MergeFrom(SubscribeStatusMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -12614,11 +16715,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 752: { + SubscribeMask = input.ReadUInt64(); + break; + } + } + } } + #endif } - public sealed partial class CloseContractMessage : pb::IMessage { + public sealed partial class CloseContractMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CloseContractMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12727,18 +16851,46 @@ public override int GetHashCode() { if (price_ != null) hash ^= Price.GetHashCode(); if (quantity_ != null) hash ^= Quantity.GetHashCode(); if (_unknownFields != null) { - hash ^= _unknownFields.GetHashCode(); + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (ContractId != 0UL) { + output.WriteRawTag(200, 2); + output.WriteUInt64(ContractId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -12756,9 +16908,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteUInt64(ContractId); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -12809,6 +16962,9 @@ public void MergeFrom(CloseContractMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -12839,11 +16995,52 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 328: { + ContractId = input.ReadUInt64(); + break; + } + } + } } + #endif } - public sealed partial class CloseAllContractsMessage : pb::IMessage { + public sealed partial class CloseAllContractsMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CloseAllContractsMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12936,6 +17133,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { output.WriteRawTag(128, 2); output.WriteEnum((int) OrderType); @@ -12947,8 +17147,26 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (OrderType != global::DigitexWire.OrderType.TypeUndefined) { + output.WriteRawTag(128, 2); + output.WriteEnum((int) OrderType); + } + if (price_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(Price); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -12983,6 +17201,9 @@ public void MergeFrom(CloseAllContractsMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -13002,11 +17223,41 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 256: { + OrderType = (global::DigitexWire.OrderType) input.ReadEnum(); + break; + } + case 306: { + if (price_ == null) { + Price = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Price); + break; + } + } + } } + #endif } - public sealed partial class OrderCanceledMessage : pb::IMessage { + public sealed partial class OrderCanceledMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new OrderCanceledMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13344,6 +17595,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PrevClientId.Length != 0) { output.WriteRawTag(194, 2); output.WriteBytes(PrevClientId); @@ -13417,7 +17671,87 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PrevClientId.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteBytes(PrevClientId); + } + if (Status != global::DigitexWire.OrderStatus.StatusUndefined) { + output.WriteRawTag(208, 2); + output.WriteEnum((int) Status); + } + if (traderBalance_ != null) { + output.WriteRawTag(154, 3); + output.WriteMessage(TraderBalance); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + orders_.WriteTo(ref output, _repeated_orders_codec); + if (orderMargin_ != null) { + output.WriteRawTag(226, 4); + output.WriteMessage(OrderMargin); + } + if (positionMargin_ != null) { + output.WriteRawTag(242, 4); + output.WriteMessage(PositionMargin); + } + if (upnl_ != null) { + output.WriteRawTag(250, 4); + output.WriteMessage(Upnl); + } + orderIds_.WriteTo(ref output, _repeated_orderIds_codec); + if (buyOrderMargin_ != null) { + output.WriteRawTag(178, 7); + output.WriteMessage(BuyOrderMargin); + } + if (sellOrderMargin_ != null) { + output.WriteRawTag(186, 7); + output.WriteMessage(SellOrderMargin); + } + if (pnl_ != null) { + output.WriteRawTag(210, 9); + output.WriteMessage(Pnl); + } + if (accumQuantity_ != null) { + output.WriteRawTag(170, 11); + output.WriteMessage(AccumQuantity); + } + if (buyOrderQuantity_ != null) { + output.WriteRawTag(178, 11); + output.WriteMessage(BuyOrderQuantity); + } + if (sellOrderQuantity_ != null) { + output.WriteRawTag(186, 11); + output.WriteMessage(SellOrderQuantity); + } + if (traderBalance2_ != null) { + output.WriteRawTag(178, 17); + output.WriteMessage(TraderBalance2); + } + if (fullPositionMargin_ != null) { + output.WriteRawTag(210, 18); + output.WriteMessage(FullPositionMargin); + } + if (fullBuyOrderMargin_ != null) { + output.WriteRawTag(218, 18); + output.WriteMessage(FullBuyOrderMargin); + } + if (fullSellOrderMargin_ != null) { + output.WriteRawTag(226, 18); + output.WriteMessage(FullSellOrderMargin); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -13582,18 +17916,156 @@ public void MergeFrom(OrderCanceledMessage other) { if (markPrice_ == null) { MarkPrice = new global::DigitexWire.Decimal(); } - MarkPrice.MergeFrom(other.MarkPrice); + MarkPrice.MergeFrom(other.MarkPrice); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 322: { + PrevClientId = input.ReadBytes(); + break; + } + case 336: { + Status = (global::DigitexWire.OrderStatus) input.ReadEnum(); + break; + } + case 410: { + if (traderBalance_ == null) { + TraderBalance = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 562: { + orders_.AddEntriesFrom(input, _repeated_orders_codec); + break; + } + case 610: { + if (orderMargin_ == null) { + OrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OrderMargin); + break; + } + case 626: { + if (positionMargin_ == null) { + PositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PositionMargin); + break; + } + case 634: { + if (upnl_ == null) { + Upnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Upnl); + break; + } + case 826: { + orderIds_.AddEntriesFrom(input, _repeated_orderIds_codec); + break; + } + case 946: { + if (buyOrderMargin_ == null) { + BuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderMargin); + break; + } + case 954: { + if (sellOrderMargin_ == null) { + SellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderMargin); + break; + } + case 1234: { + if (pnl_ == null) { + Pnl = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Pnl); + break; + } + case 1450: { + if (accumQuantity_ == null) { + AccumQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(AccumQuantity); + break; + } + case 1458: { + if (buyOrderQuantity_ == null) { + BuyOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(BuyOrderQuantity); + break; + } + case 1466: { + if (sellOrderQuantity_ == null) { + SellOrderQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SellOrderQuantity); + break; + } + case 2226: { + if (traderBalance2_ == null) { + TraderBalance2 = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TraderBalance2); + break; + } + case 2386: { + if (fullPositionMargin_ == null) { + FullPositionMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullPositionMargin); + break; + } + case 2394: { + if (fullBuyOrderMargin_ == null) { + FullBuyOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullBuyOrderMargin); + break; + } + case 2402: { + if (fullSellOrderMargin_ == null) { + FullSellOrderMargin = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FullSellOrderMargin); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 322: { PrevClientId = input.ReadBytes(); @@ -13618,7 +18090,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 562: { - orders_.AddEntriesFrom(input, _repeated_orders_codec); + orders_.AddEntriesFrom(ref input, _repeated_orders_codec); break; } case 610: { @@ -13643,7 +18115,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 826: { - orderIds_.AddEntriesFrom(input, _repeated_orderIds_codec); + orderIds_.AddEntriesFrom(ref input, _repeated_orderIds_codec); break; } case 946: { @@ -13719,10 +18191,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GetMarketStateMessage : pb::IMessage { + public sealed partial class GetMarketStateMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetMarketStateMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13787,11 +18264,24 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -13811,6 +18301,9 @@ public void MergeFrom(GetMarketStateMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -13819,11 +18312,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class DailyStatisticsMessage : pb::IMessage { + public sealed partial class DailyStatisticsMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DailyStatisticsMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -13958,6 +18470,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (StartTimestamp != 0L) { output.WriteRawTag(224, 7); output.WriteInt64(StartTimestamp); @@ -13981,7 +18496,37 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (StartTimestamp != 0L) { + output.WriteRawTag(224, 7); + output.WriteInt64(StartTimestamp); + } + if (volume_ != null) { + output.WriteRawTag(234, 7); + output.WriteMessage(Volume); + } + if (gross_ != null) { + output.WriteRawTag(242, 7); + output.WriteMessage(Gross); + } + if (highPrice_ != null) { + output.WriteRawTag(226, 9); + output.WriteMessage(HighPrice); + } + if (lowPrice_ != null) { + output.WriteRawTag(234, 9); + output.WriteMessage(LowPrice); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -14044,6 +18589,9 @@ public void MergeFrom(DailyStatisticsMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -14084,11 +18632,62 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 992: { + StartTimestamp = input.ReadInt64(); + break; + } + case 1002: { + if (volume_ == null) { + Volume = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Volume); + break; + } + case 1010: { + if (gross_ == null) { + Gross = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Gross); + break; + } + case 1250: { + if (highPrice_ == null) { + HighPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(HighPrice); + break; + } + case 1258: { + if (lowPrice_ == null) { + LowPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LowPrice); + break; + } + } + } } + #endif } - public sealed partial class MarketStateMessage : pb::IMessage { + public sealed partial class MarketStateMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MarketStateMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -14416,6 +19015,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else trades_.WriteTo(output, _repeated_trades_codec); ohlcvs_.WriteTo(output, _repeated_ohlcvs_codec); if (payoutPerContract_ != null) { @@ -14486,7 +19088,84 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + trades_.WriteTo(ref output, _repeated_trades_codec); + ohlcvs_.WriteTo(ref output, _repeated_ohlcvs_codec); + if (payoutPerContract_ != null) { + output.WriteRawTag(178, 6); + output.WriteMessage(PayoutPerContract); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (EventTimestamp != 0L) { + output.WriteRawTag(208, 7); + output.WriteInt64(EventTimestamp); + } + dailyStats_.WriteTo(ref output, _repeated_dailyStats_codec); + if (FundingTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(FundingTime); + } + if (fundingRate_ != null) { + output.WriteRawTag(130, 8); + output.WriteMessage(FundingRate); + } + if (nextFundingRate_ != null) { + output.WriteRawTag(138, 8); + output.WriteMessage(NextFundingRate); + } + if (tickValue_ != null) { + output.WriteRawTag(154, 8); + output.WriteMessage(TickValue); + } + if (tickPrice_ != null) { + output.WriteRawTag(162, 8); + output.WriteMessage(TickPrice); + } + if (contractValue_ != null) { + output.WriteRawTag(170, 8); + output.WriteMessage(ContractValue); + } + if (FundingInterval != 0L) { + output.WriteRawTag(144, 10); + output.WriteInt64(FundingInterval); + } + if (AlertTimestamp != 0L) { + output.WriteRawTag(144, 13); + output.WriteInt64(AlertTimestamp); + } + if (AlertText.Length != 0) { + output.WriteRawTag(154, 13); + output.WriteString(AlertText); + } + if (openInterest_ != null) { + output.WriteRawTag(186, 18); + output.WriteMessage(OpenInterest); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (insuranceFund_ != null) { + output.WriteRawTag(202, 18); + output.WriteMessage(InsuranceFund); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -14632,25 +19311,148 @@ public void MergeFrom(MarketStateMessage other) { if (insuranceFund_ == null) { InsuranceFund = new global::DigitexWire.Decimal(); } - InsuranceFund.MergeFrom(other.InsuranceFund); + InsuranceFund.MergeFrom(other.InsuranceFund); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 730: { + ohlcvs_.AddEntriesFrom(input, _repeated_ohlcvs_codec); + break; + } + case 818: { + if (payoutPerContract_ == null) { + PayoutPerContract = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PayoutPerContract); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 976: { + EventTimestamp = input.ReadInt64(); + break; + } + case 986: { + dailyStats_.AddEntriesFrom(input, _repeated_dailyStats_codec); + break; + } + case 1016: { + FundingTime = input.ReadInt64(); + break; + } + case 1026: { + if (fundingRate_ == null) { + FundingRate = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingRate); + break; + } + case 1034: { + if (nextFundingRate_ == null) { + NextFundingRate = new global::DigitexWire.Decimal(); + } + input.ReadMessage(NextFundingRate); + break; + } + case 1050: { + if (tickValue_ == null) { + TickValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TickValue); + break; + } + case 1058: { + if (tickPrice_ == null) { + TickPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TickPrice); + break; + } + case 1066: { + if (contractValue_ == null) { + ContractValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ContractValue); + break; + } + case 1296: { + FundingInterval = input.ReadInt64(); + break; + } + case 1680: { + AlertTimestamp = input.ReadInt64(); + break; + } + case 1690: { + AlertText = input.ReadString(); + break; + } + case 2362: { + if (openInterest_ == null) { + OpenInterest = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OpenInterest); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2378: { + if (insuranceFund_ == null) { + InsuranceFund = new global::DigitexWire.Decimal(); + } + input.ReadMessage(InsuranceFund); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 730: { - ohlcvs_.AddEntriesFrom(input, _repeated_ohlcvs_codec); + ohlcvs_.AddEntriesFrom(ref input, _repeated_ohlcvs_codec); break; } case 818: { @@ -14679,7 +19481,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 986: { - dailyStats_.AddEntriesFrom(input, _repeated_dailyStats_codec); + dailyStats_.AddEntriesFrom(ref input, _repeated_dailyStats_codec); break; } case 1016: { @@ -14754,10 +19556,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class MarketStateUpdateMessage : pb::IMessage { + public sealed partial class MarketStateUpdateMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MarketStateUpdateMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15183,6 +19990,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else trades_.WriteTo(output, _repeated_trades_codec); ohlcvs_.WriteTo(output, _repeated_ohlcvs_codec); if (payoutPerContract_ != null) { @@ -15281,7 +20091,112 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + trades_.WriteTo(ref output, _repeated_trades_codec); + ohlcvs_.WriteTo(ref output, _repeated_ohlcvs_codec); + if (payoutPerContract_ != null) { + output.WriteRawTag(178, 6); + output.WriteMessage(PayoutPerContract); + } + if (lastTradePrice_ != null) { + output.WriteRawTag(138, 7); + output.WriteMessage(LastTradePrice); + } + if (lastTradeQuantity_ != null) { + output.WriteRawTag(162, 7); + output.WriteMessage(LastTradeQuantity); + } + if (EventTimestamp != 0L) { + output.WriteRawTag(208, 7); + output.WriteInt64(EventTimestamp); + } + dailyStats_.WriteTo(ref output, _repeated_dailyStats_codec); + if (FundingTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(FundingTime); + } + if (fundingRate_ != null) { + output.WriteRawTag(130, 8); + output.WriteMessage(FundingRate); + } + if (impactBaseQuantity_ != null) { + output.WriteRawTag(202, 8); + output.WriteMessage(ImpactBaseQuantity); + } + if (dgtxToBasePrice_ != null) { + output.WriteRawTag(210, 8); + output.WriteMessage(DgtxToBasePrice); + } + if (spotPrice_ != null) { + output.WriteRawTag(218, 8); + output.WriteMessage(SpotPrice); + } + if (impactQuantity_ != null) { + output.WriteRawTag(226, 8); + output.WriteMessage(ImpactQuantity); + } + if (impactBidValue_ != null) { + output.WriteRawTag(234, 8); + output.WriteMessage(ImpactBidValue); + } + if (impactAskValue_ != null) { + output.WriteRawTag(242, 8); + output.WriteMessage(ImpactAskValue); + } + if (futureValue_ != null) { + output.WriteRawTag(250, 8); + output.WriteMessage(FutureValue); + } + if (impactValue_ != null) { + output.WriteRawTag(242, 9); + output.WriteMessage(ImpactValue); + } + if (impactBidCount_ != null) { + output.WriteRawTag(250, 9); + output.WriteMessage(ImpactBidCount); + } + if (impactAskCount_ != null) { + output.WriteRawTag(130, 10); + output.WriteMessage(ImpactAskCount); + } + if (futureCount_ != null) { + output.WriteRawTag(138, 10); + output.WriteMessage(FutureCount); + } + if (FundingInterval != 0L) { + output.WriteRawTag(144, 10); + output.WriteInt64(FundingInterval); + } + if (AlertTimestamp != 0L) { + output.WriteRawTag(144, 13); + output.WriteInt64(AlertTimestamp); + } + if (AlertText.Length != 0) { + output.WriteRawTag(154, 13); + output.WriteString(AlertText); + } + if (openInterest_ != null) { + output.WriteRawTag(186, 18); + output.WriteMessage(OpenInterest); + } + if (LastTradeTimestamp != 0L) { + output.WriteRawTag(192, 18); + output.WriteInt64(LastTradeTimestamp); + } + if (insuranceFund_ != null) { + output.WriteRawTag(202, 18); + output.WriteMessage(InsuranceFund); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -15490,25 +20405,197 @@ public void MergeFrom(MarketStateUpdateMessage other) { if (insuranceFund_ == null) { InsuranceFund = new global::DigitexWire.Decimal(); } - InsuranceFund.MergeFrom(other.InsuranceFund); + InsuranceFund.MergeFrom(other.InsuranceFund); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 370: { + trades_.AddEntriesFrom(input, _repeated_trades_codec); + break; + } + case 730: { + ohlcvs_.AddEntriesFrom(input, _repeated_ohlcvs_codec); + break; + } + case 818: { + if (payoutPerContract_ == null) { + PayoutPerContract = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PayoutPerContract); + break; + } + case 906: { + if (lastTradePrice_ == null) { + LastTradePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradePrice); + break; + } + case 930: { + if (lastTradeQuantity_ == null) { + LastTradeQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LastTradeQuantity); + break; + } + case 976: { + EventTimestamp = input.ReadInt64(); + break; + } + case 986: { + dailyStats_.AddEntriesFrom(input, _repeated_dailyStats_codec); + break; + } + case 1016: { + FundingTime = input.ReadInt64(); + break; + } + case 1026: { + if (fundingRate_ == null) { + FundingRate = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingRate); + break; + } + case 1098: { + if (impactBaseQuantity_ == null) { + ImpactBaseQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactBaseQuantity); + break; + } + case 1106: { + if (dgtxToBasePrice_ == null) { + DgtxToBasePrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(DgtxToBasePrice); + break; + } + case 1114: { + if (spotPrice_ == null) { + SpotPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(SpotPrice); + break; + } + case 1122: { + if (impactQuantity_ == null) { + ImpactQuantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactQuantity); + break; + } + case 1130: { + if (impactBidValue_ == null) { + ImpactBidValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactBidValue); + break; + } + case 1138: { + if (impactAskValue_ == null) { + ImpactAskValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactAskValue); + break; + } + case 1146: { + if (futureValue_ == null) { + FutureValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FutureValue); + break; + } + case 1266: { + if (impactValue_ == null) { + ImpactValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactValue); + break; + } + case 1274: { + if (impactBidCount_ == null) { + ImpactBidCount = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactBidCount); + break; + } + case 1282: { + if (impactAskCount_ == null) { + ImpactAskCount = new global::DigitexWire.Decimal(); + } + input.ReadMessage(ImpactAskCount); + break; + } + case 1290: { + if (futureCount_ == null) { + FutureCount = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FutureCount); + break; + } + case 1296: { + FundingInterval = input.ReadInt64(); + break; + } + case 1680: { + AlertTimestamp = input.ReadInt64(); + break; + } + case 1690: { + AlertText = input.ReadString(); + break; + } + case 2362: { + if (openInterest_ == null) { + OpenInterest = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OpenInterest); + break; + } + case 2368: { + LastTradeTimestamp = input.ReadInt64(); + break; + } + case 2378: { + if (insuranceFund_ == null) { + InsuranceFund = new global::DigitexWire.Decimal(); + } + input.ReadMessage(InsuranceFund); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 370: { - trades_.AddEntriesFrom(input, _repeated_trades_codec); + trades_.AddEntriesFrom(ref input, _repeated_trades_codec); break; } case 730: { - ohlcvs_.AddEntriesFrom(input, _repeated_ohlcvs_codec); + ohlcvs_.AddEntriesFrom(ref input, _repeated_ohlcvs_codec); break; } case 818: { @@ -15537,7 +20624,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 986: { - dailyStats_.AddEntriesFrom(input, _repeated_dailyStats_codec); + dailyStats_.AddEntriesFrom(ref input, _repeated_dailyStats_codec); break; } case 1016: { @@ -15661,10 +20748,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class GetExchangeRatesMessage : pb::IMessage { + public sealed partial class GetExchangeRatesMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetExchangeRatesMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15729,10 +20821,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -15753,6 +20858,9 @@ public void MergeFrom(GetExchangeRatesMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -15761,11 +20869,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class ExchangeRateItemMessage : pb::IMessage { + public sealed partial class ExchangeRateItemMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExchangeRateItemMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -15886,6 +21013,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (CurrencyPairId != 0) { output.WriteRawTag(248, 2); output.WriteUInt32(CurrencyPairId); @@ -15905,7 +21035,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurrencyPairId != 0) { + output.WriteRawTag(248, 2); + output.WriteUInt32(CurrencyPairId); + } + if (markPrice_ != null) { + output.WriteRawTag(162, 3); + output.WriteMessage(MarkPrice); + } + if (LastUpdateTime != 0L) { + output.WriteRawTag(200, 7); + output.WriteInt64(LastUpdateTime); + } + if (Unreliable != 0) { + output.WriteRawTag(136, 13); + output.WriteInt32(Unreliable); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -15953,6 +21109,9 @@ public void MergeFrom(ExchangeRateItemMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -15980,11 +21139,49 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 376: { + CurrencyPairId = input.ReadUInt32(); + break; + } + case 418: { + if (markPrice_ == null) { + MarkPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(MarkPrice); + break; + } + case 968: { + LastUpdateTime = input.ReadInt64(); + break; + } + case 1672: { + Unreliable = input.ReadInt32(); + break; + } + } + } } + #endif } - public sealed partial class ExchangeRatesMessage : pb::IMessage { + public sealed partial class ExchangeRatesMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExchangeRatesMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16062,12 +21259,26 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else items_.WriteTo(output, _repeated_items_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + items_.WriteTo(ref output, _repeated_items_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; @@ -16089,6 +21300,9 @@ public void MergeFrom(ExchangeRatesMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -16101,11 +21315,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 962: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + } + } } + #endif } - public sealed partial class ContractClosedMessage : pb::IMessage { + public sealed partial class ContractClosedMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ContractClosedMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16183,11 +21420,25 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else orderIds_.WriteTo(output, _repeated_orderIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + orderIds_.WriteTo(ref output, _repeated_orderIds_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -16210,6 +21461,9 @@ public void MergeFrom(ContractClosedMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -16222,11 +21476,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 826: { + orderIds_.AddEntriesFrom(ref input, _repeated_orderIds_codec); + break; + } + } + } } + #endif } - public sealed partial class GetTraderBalanceMessage : pb::IMessage { + public sealed partial class GetTraderBalanceMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GetTraderBalanceMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16305,6 +21582,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (CurrencyId != 0) { output.WriteRawTag(136, 3); output.WriteUInt32(CurrencyId); @@ -16312,7 +21592,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (CurrencyId != 0) { + output.WriteRawTag(136, 3); + output.WriteUInt32(CurrencyId); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -16339,6 +21633,9 @@ public void MergeFrom(GetTraderBalanceMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -16351,11 +21648,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 392: { + CurrencyId = input.ReadUInt32(); + break; + } + } + } } + #endif } - public sealed partial class DelayedActionMessage : pb::IMessage { + public sealed partial class DelayedActionMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DelayedActionMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16532,6 +21852,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (ActionType != global::DigitexWire.DelayedActionType.DaUndefined) { output.WriteRawTag(200, 17); output.WriteEnum((int) ActionType); @@ -16567,7 +21890,49 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (ActionType != global::DigitexWire.DelayedActionType.DaUndefined) { + output.WriteRawTag(200, 17); + output.WriteEnum((int) ActionType); + } + if (TriggerVariable != global::DigitexWire.DelayedTriggerVariable.DtvUndefined) { + output.WriteRawTag(208, 17); + output.WriteEnum((int) TriggerVariable); + } + if (TriggerCondition != global::DigitexWire.DelayedTriggerCondition.DtcUndefined) { + output.WriteRawTag(216, 17); + output.WriteEnum((int) TriggerCondition); + } + if (triggerValue_ != null) { + output.WriteRawTag(226, 17); + output.WriteMessage(TriggerValue); + } + if (order_ != null) { + output.WriteRawTag(250, 17); + output.WriteMessage(Order); + } + if (DelayedActionClientId.Length != 0) { + output.WriteRawTag(138, 18); + output.WriteBytes(DelayedActionClientId); + } + if (OldDelayedActionClientId.Length != 0) { + output.WriteRawTag(146, 18); + output.WriteBytes(OldDelayedActionClientId); + } + if (DelayedActionTimestamp != 0L) { + output.WriteRawTag(152, 18); + output.WriteInt64(DelayedActionTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -16635,18 +22000,73 @@ public void MergeFrom(DelayedActionMessage other) { if (order_ == null) { Order = new global::DigitexWire.OrderMessage(); } - Order.MergeFrom(other.Order); + Order.MergeFrom(other.Order); + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 2248: { + ActionType = (global::DigitexWire.DelayedActionType) input.ReadEnum(); + break; + } + case 2256: { + TriggerVariable = (global::DigitexWire.DelayedTriggerVariable) input.ReadEnum(); + break; + } + case 2264: { + TriggerCondition = (global::DigitexWire.DelayedTriggerCondition) input.ReadEnum(); + break; + } + case 2274: { + if (triggerValue_ == null) { + TriggerValue = new global::DigitexWire.Decimal(); + } + input.ReadMessage(TriggerValue); + break; + } + case 2298: { + if (order_ == null) { + Order = new global::DigitexWire.OrderMessage(); + } + input.ReadMessage(Order); + break; + } + case 2314: { + DelayedActionClientId = input.ReadBytes(); + break; + } + case 2322: { + OldDelayedActionClientId = input.ReadBytes(); + break; + } + case 2328: { + DelayedActionTimestamp = input.ReadInt64(); + break; + } + } } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 2248: { ActionType = (global::DigitexWire.DelayedActionType) input.ReadEnum(); @@ -16689,10 +22109,15 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } - public sealed partial class PlaceDelayedActionMessage : pb::IMessage { + public sealed partial class PlaceDelayedActionMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlaceDelayedActionMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16771,6 +22196,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (delayedAction_ != null) { output.WriteRawTag(234, 17); output.WriteMessage(DelayedAction); @@ -16778,7 +22206,21 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (delayedAction_ != null) { + output.WriteRawTag(234, 17); + output.WriteMessage(DelayedAction); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -16808,6 +22250,9 @@ public void MergeFrom(PlaceDelayedActionMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -16823,11 +22268,37 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 2282: { + if (delayedAction_ == null) { + DelayedAction = new global::DigitexWire.DelayedActionMessage(); + } + input.ReadMessage(DelayedAction); + break; + } + } + } } + #endif } - public sealed partial class UpdateDelayedActionMessage : pb::IMessage { + public sealed partial class UpdateDelayedActionMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UpdateDelayedActionMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -16920,6 +22391,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PrevClientId.Length != 0) { output.WriteRawTag(194, 2); output.WriteBytes(PrevClientId); @@ -16931,7 +22405,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PrevClientId.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteBytes(PrevClientId); + } + if (delayedAction_ != null) { + output.WriteRawTag(234, 17); + output.WriteMessage(DelayedAction); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -16967,6 +22459,9 @@ public void MergeFrom(UpdateDelayedActionMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -16986,11 +22481,41 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 322: { + PrevClientId = input.ReadBytes(); + break; + } + case 2282: { + if (delayedAction_ == null) { + DelayedAction = new global::DigitexWire.DelayedActionMessage(); + } + input.ReadMessage(DelayedAction); + break; + } + } + } } + #endif } - public sealed partial class CancelDelayedActionMessage : pb::IMessage { + public sealed partial class CancelDelayedActionMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CancelDelayedActionMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17083,6 +22608,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (PrevClientId.Length != 0) { output.WriteRawTag(194, 2); output.WriteBytes(PrevClientId); @@ -17094,7 +22622,25 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PrevClientId.Length != 0) { + output.WriteRawTag(194, 2); + output.WriteBytes(PrevClientId); + } + if (AllForTrader != 0) { + output.WriteRawTag(240, 17); + output.WriteInt32(AllForTrader); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17127,6 +22673,9 @@ public void MergeFrom(CancelDelayedActionMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17143,11 +22692,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 322: { + PrevClientId = input.ReadBytes(); + break; + } + case 2288: { + AllForTrader = input.ReadInt32(); + break; + } + } + } } + #endif } - public sealed partial class DelayedActionStatusMessage : pb::IMessage { + public sealed partial class DelayedActionStatusMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DelayedActionStatusMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17239,6 +22815,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Status != global::DigitexWire.OrderStatus.StatusUndefined) { output.WriteRawTag(208, 2); output.WriteEnum((int) Status); @@ -17247,7 +22826,22 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Status != global::DigitexWire.OrderStatus.StatusUndefined) { + output.WriteRawTag(208, 2); + output.WriteEnum((int) Status); + } + delayedActions_.WriteTo(ref output, _repeated_delayedActions_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17276,6 +22870,9 @@ public void MergeFrom(DelayedActionStatusMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17292,11 +22889,38 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 336: { + Status = (global::DigitexWire.OrderStatus) input.ReadEnum(); + break; + } + case 2306: { + delayedActions_.AddEntriesFrom(ref input, _repeated_delayedActions_codec); + break; + } + } + } } + #endif } - public sealed partial class LiquidationEntryMessage : pb::IMessage { + public sealed partial class LiquidationEntryMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LiquidationEntryMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17417,6 +23041,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (quantity_ != null) { output.WriteRawTag(186, 2); output.WriteMessage(Quantity); @@ -17436,7 +23063,33 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (quantity_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(Quantity); + } + if (Position != global::DigitexWire.OrderPosition.Undefined) { + output.WriteRawTag(232, 2); + output.WriteEnum((int) Position); + } + if (liquidationPrice_ != null) { + output.WriteRawTag(154, 4); + output.WriteMessage(LiquidationPrice); + } + if (EntryTimestamp != 0L) { + output.WriteRawTag(216, 9); + output.WriteInt64(EntryTimestamp); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17487,6 +23140,9 @@ public void MergeFrom(LiquidationEntryMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17517,11 +23173,52 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 314: { + if (quantity_ == null) { + Quantity = new global::DigitexWire.Decimal(); + } + input.ReadMessage(Quantity); + break; + } + case 360: { + Position = (global::DigitexWire.OrderPosition) input.ReadEnum(); + break; + } + case 538: { + if (liquidationPrice_ == null) { + LiquidationPrice = new global::DigitexWire.Decimal(); + } + input.ReadMessage(LiquidationPrice); + break; + } + case 1240: { + EntryTimestamp = input.ReadInt64(); + break; + } + } + } } + #endif } - public sealed partial class LiquidationsMessage : pb::IMessage { + public sealed partial class LiquidationsMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new LiquidationsMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17599,11 +23296,25 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else liquidationEntries_.WriteTo(output, _repeated_liquidationEntries_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + liquidationEntries_.WriteTo(ref output, _repeated_liquidationEntries_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17626,6 +23337,9 @@ public void MergeFrom(LiquidationsMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17638,11 +23352,34 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 2354: { + liquidationEntries_.AddEntriesFrom(ref input, _repeated_liquidationEntries_codec); + break; + } + } + } } + #endif } - public sealed partial class FundingInfoMessage : pb::IMessage { + public sealed partial class FundingInfoMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FundingInfoMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17753,16 +23490,44 @@ public override int GetHashCode() { if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } - return hash; - } - - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public override string ToString() { - return pb::JsonFormatter.ToDiagnosticString(this); + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (payoutPerContract_ != null) { + output.WriteRawTag(178, 6); + output.WriteMessage(PayoutPerContract); + } + if (FundingTime != 0L) { + output.WriteRawTag(248, 7); + output.WriteInt64(FundingTime); + } + if (fundingRate_ != null) { + output.WriteRawTag(130, 8); + output.WriteMessage(FundingRate); + } + if (openInterest_ != null) { + output.WriteRawTag(186, 18); + output.WriteMessage(OpenInterest); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void WriteTo(pb::CodedOutputStream output) { + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { if (payoutPerContract_ != null) { output.WriteRawTag(178, 6); output.WriteMessage(PayoutPerContract); @@ -17780,9 +23545,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteMessage(OpenInterest); } if (_unknownFields != null) { - _unknownFields.WriteTo(output); + _unknownFields.WriteTo(ref output); } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17836,6 +23602,9 @@ public void MergeFrom(FundingInfoMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17869,14 +23638,58 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 818: { + if (payoutPerContract_ == null) { + PayoutPerContract = new global::DigitexWire.Decimal(); + } + input.ReadMessage(PayoutPerContract); + break; + } + case 1016: { + FundingTime = input.ReadInt64(); + break; + } + case 1026: { + if (fundingRate_ == null) { + FundingRate = new global::DigitexWire.Decimal(); + } + input.ReadMessage(FundingRate); + break; + } + case 2362: { + if (openInterest_ == null) { + OpenInterest = new global::DigitexWire.Decimal(); + } + input.ReadMessage(OpenInterest); + break; + } + } + } } + #endif } /// /// minimal message to return the error code /// - public sealed partial class ErrorMessage : pb::IMessage { + public sealed partial class ErrorMessage : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ErrorMessage()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -17941,10 +23754,23 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -17965,6 +23791,9 @@ public void MergeFrom(ErrorMessage other) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { @@ -17973,11 +23802,30 @@ public void MergeFrom(pb::CodedInputStream input) { break; } } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } } + #endif } - public sealed partial class Message : pb::IMessage { + public sealed partial class Message : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Message()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18008,6 +23856,8 @@ public Message(Message other) : this() { traderId_ = other.traderId_; clientId_ = other.clientId_; errorCode_ = other.errorCode_; + sessionId_ = other.sessionId_; + auth_ = other.auth_; switch (other.KontentCase) { case KontentOneofCase.PlaceOrderMsg: PlaceOrderMsg = other.PlaceOrderMsg.Clone(); @@ -18199,6 +24049,28 @@ public uint ErrorCode { } } + /// Field number for the "session_id" field. + public const int SessionIdFieldNumber = 8; + private long sessionId_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public long SessionId { + get { return sessionId_; } + set { + sessionId_ = value; + } + } + + /// Field number for the "auth" field. + public const int AuthFieldNumber = 9; + private pb::ByteString auth_ = pb::ByteString.Empty; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pb::ByteString Auth { + get { return auth_; } + set { + auth_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + /// Field number for the "place_order_msg" field. public const int PlaceOrderMsgFieldNumber = 513; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -18691,6 +24563,8 @@ public bool Equals(Message other) { if (TraderId != other.TraderId) return false; if (ClientId != other.ClientId) return false; if (ErrorCode != other.ErrorCode) return false; + if (SessionId != other.SessionId) return false; + if (Auth != other.Auth) return false; if (!object.Equals(PlaceOrderMsg, other.PlaceOrderMsg)) return false; if (!object.Equals(CancelOrderMsg, other.CancelOrderMsg)) return false; if (!object.Equals(CancelAllOrdersMsg, other.CancelAllOrdersMsg)) return false; @@ -18742,6 +24616,8 @@ public override int GetHashCode() { if (TraderId != 0) hash ^= TraderId.GetHashCode(); if (ClientId.Length != 0) hash ^= ClientId.GetHashCode(); if (ErrorCode != 0) hash ^= ErrorCode.GetHashCode(); + if (SessionId != 0L) hash ^= SessionId.GetHashCode(); + if (Auth.Length != 0) hash ^= Auth.GetHashCode(); if (kontentCase_ == KontentOneofCase.PlaceOrderMsg) hash ^= PlaceOrderMsg.GetHashCode(); if (kontentCase_ == KontentOneofCase.CancelOrderMsg) hash ^= CancelOrderMsg.GetHashCode(); if (kontentCase_ == KontentOneofCase.CancelAllOrdersMsg) hash ^= CancelAllOrdersMsg.GetHashCode(); @@ -18794,6 +24670,9 @@ public override string ToString() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else if (Timestamp != 0L) { output.WriteRawTag(16); output.WriteInt64(Timestamp); @@ -18814,6 +24693,14 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(58); output.WriteBytes(ClientId); } + if (SessionId != 0L) { + output.WriteRawTag(64); + output.WriteInt64(SessionId); + } + if (Auth.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(Auth); + } if (ErrorCode != 0) { output.WriteRawTag(216, 2); output.WriteUInt32(ErrorCode); @@ -18973,7 +24860,201 @@ public void WriteTo(pb::CodedOutputStream output) { if (_unknownFields != null) { _unknownFields.WriteTo(output); } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (Timestamp != 0L) { + output.WriteRawTag(16); + output.WriteInt64(Timestamp); + } + if (Serial != 0UL) { + output.WriteRawTag(32); + output.WriteUInt64(Serial); + } + if (MarketId != 0) { + output.WriteRawTag(40); + output.WriteUInt32(MarketId); + } + if (TraderId != 0) { + output.WriteRawTag(48); + output.WriteUInt32(TraderId); + } + if (ClientId.Length != 0) { + output.WriteRawTag(58); + output.WriteBytes(ClientId); + } + if (SessionId != 0L) { + output.WriteRawTag(64); + output.WriteInt64(SessionId); + } + if (Auth.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(Auth); + } + if (ErrorCode != 0) { + output.WriteRawTag(216, 2); + output.WriteUInt32(ErrorCode); + } + if (kontentCase_ == KontentOneofCase.PlaceOrderMsg) { + output.WriteRawTag(138, 32); + output.WriteMessage(PlaceOrderMsg); + } + if (kontentCase_ == KontentOneofCase.CancelOrderMsg) { + output.WriteRawTag(146, 32); + output.WriteMessage(CancelOrderMsg); + } + if (kontentCase_ == KontentOneofCase.CancelAllOrdersMsg) { + output.WriteRawTag(154, 32); + output.WriteMessage(CancelAllOrdersMsg); + } + if (kontentCase_ == KontentOneofCase.OrderStatusMsg) { + output.WriteRawTag(170, 32); + output.WriteMessage(OrderStatusMsg); + } + if (kontentCase_ == KontentOneofCase.OrderFilledMsg) { + output.WriteRawTag(178, 32); + output.WriteMessage(OrderFilledMsg); + } + if (kontentCase_ == KontentOneofCase.ChangeLeverageAllMsg) { + output.WriteRawTag(186, 32); + output.WriteMessage(ChangeLeverageAllMsg); + } + if (kontentCase_ == KontentOneofCase.TraderBalanceMsg) { + output.WriteRawTag(210, 32); + output.WriteMessage(TraderBalanceMsg); + } + if (kontentCase_ == KontentOneofCase.PositionEventMsg) { + output.WriteRawTag(218, 32); + output.WriteMessage(PositionEventMsg); + } + if (kontentCase_ == KontentOneofCase.LeverageMsg) { + output.WriteRawTag(226, 32); + output.WriteMessage(LeverageMsg); + } + if (kontentCase_ == KontentOneofCase.ExchangeRateMsg) { + output.WriteRawTag(234, 32); + output.WriteMessage(ExchangeRateMsg); + } + if (kontentCase_ == KontentOneofCase.OrderBookRequestMsg) { + output.WriteRawTag(242, 32); + output.WriteMessage(OrderBookRequestMsg); + } + if (kontentCase_ == KontentOneofCase.OrderBookMsg) { + output.WriteRawTag(250, 32); + output.WriteMessage(OrderBookMsg); + } + if (kontentCase_ == KontentOneofCase.OrderBookUpdatedMsg) { + output.WriteRawTag(130, 33); + output.WriteMessage(OrderBookUpdatedMsg); + } + if (kontentCase_ == KontentOneofCase.PingMsg) { + output.WriteRawTag(138, 33); + output.WriteMessage(PingMsg); + } + if (kontentCase_ == KontentOneofCase.PongMsg) { + output.WriteRawTag(146, 33); + output.WriteMessage(PongMsg); + } + if (kontentCase_ == KontentOneofCase.UpdateOrderMsg) { + output.WriteRawTag(154, 33); + output.WriteMessage(UpdateOrderMsg); + } + if (kontentCase_ == KontentOneofCase.GetTraderStatusMsg) { + output.WriteRawTag(162, 33); + output.WriteMessage(GetTraderStatusMsg); + } + if (kontentCase_ == KontentOneofCase.TraderStatusMsg) { + output.WriteRawTag(170, 33); + output.WriteMessage(TraderStatusMsg); + } + if (kontentCase_ == KontentOneofCase.FundingMsg) { + output.WriteRawTag(186, 33); + output.WriteMessage(FundingMsg); + } + if (kontentCase_ == KontentOneofCase.SubscribeMsg) { + output.WriteRawTag(210, 33); + output.WriteMessage(SubscribeMsg); + } + if (kontentCase_ == KontentOneofCase.SubscribeStatusMsg) { + output.WriteRawTag(218, 33); + output.WriteMessage(SubscribeStatusMsg); + } + if (kontentCase_ == KontentOneofCase.CloseContractMsg) { + output.WriteRawTag(242, 33); + output.WriteMessage(CloseContractMsg); + } + if (kontentCase_ == KontentOneofCase.CloseAllContractsMsg) { + output.WriteRawTag(250, 33); + output.WriteMessage(CloseAllContractsMsg); + } + if (kontentCase_ == KontentOneofCase.OrderCanceledMsg) { + output.WriteRawTag(146, 34); + output.WriteMessage(OrderCanceledMsg); + } + if (kontentCase_ == KontentOneofCase.GetMarketStateMsg) { + output.WriteRawTag(162, 34); + output.WriteMessage(GetMarketStateMsg); + } + if (kontentCase_ == KontentOneofCase.MarketStateMsg) { + output.WriteRawTag(170, 34); + output.WriteMessage(MarketStateMsg); + } + if (kontentCase_ == KontentOneofCase.GetExchangeRatesMsg) { + output.WriteRawTag(178, 34); + output.WriteMessage(GetExchangeRatesMsg); + } + if (kontentCase_ == KontentOneofCase.ExchangeRatesMsg) { + output.WriteRawTag(186, 34); + output.WriteMessage(ExchangeRatesMsg); + } + if (kontentCase_ == KontentOneofCase.MarketStateUpdateMsg) { + output.WriteRawTag(194, 34); + output.WriteMessage(MarketStateUpdateMsg); + } + if (kontentCase_ == KontentOneofCase.ContractClosedMsg) { + output.WriteRawTag(202, 34); + output.WriteMessage(ContractClosedMsg); + } + if (kontentCase_ == KontentOneofCase.GetTraderBalanceMsg) { + output.WriteRawTag(146, 35); + output.WriteMessage(GetTraderBalanceMsg); + } + if (kontentCase_ == KontentOneofCase.PlaceDelayedActionMsg) { + output.WriteRawTag(178, 35); + output.WriteMessage(PlaceDelayedActionMsg); + } + if (kontentCase_ == KontentOneofCase.UpdateDelayedActionMsg) { + output.WriteRawTag(186, 35); + output.WriteMessage(UpdateDelayedActionMsg); + } + if (kontentCase_ == KontentOneofCase.CancelDelayedActionMsg) { + output.WriteRawTag(194, 35); + output.WriteMessage(CancelDelayedActionMsg); + } + if (kontentCase_ == KontentOneofCase.DelayedActionStatusMsg) { + output.WriteRawTag(202, 35); + output.WriteMessage(DelayedActionStatusMsg); + } + if (kontentCase_ == KontentOneofCase.LiquidationsMsg) { + output.WriteRawTag(210, 35); + output.WriteMessage(LiquidationsMsg); + } + if (kontentCase_ == KontentOneofCase.FundingInfoMsg) { + output.WriteRawTag(218, 35); + output.WriteMessage(FundingInfoMsg); + } + if (kontentCase_ == KontentOneofCase.ErrorMsg) { + output.WriteRawTag(226, 35); + output.WriteMessage(ErrorMsg); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } } + #endif [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { @@ -18996,6 +25077,12 @@ public int CalculateSize() { if (ErrorCode != 0) { size += 2 + pb::CodedOutputStream.ComputeUInt32Size(ErrorCode); } + if (SessionId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(SessionId); + } + if (Auth.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Auth); + } if (kontentCase_ == KontentOneofCase.PlaceOrderMsg) { size += 2 + pb::CodedOutputStream.ComputeMessageSize(PlaceOrderMsg); } @@ -19139,247 +25226,644 @@ public void MergeFrom(Message other) { if (other.ErrorCode != 0) { ErrorCode = other.ErrorCode; } + if (other.SessionId != 0L) { + SessionId = other.SessionId; + } + if (other.Auth.Length != 0) { + Auth = other.Auth; + } switch (other.KontentCase) { case KontentOneofCase.PlaceOrderMsg: if (PlaceOrderMsg == null) { PlaceOrderMsg = new global::DigitexWire.PlaceOrderMessage(); } - PlaceOrderMsg.MergeFrom(other.PlaceOrderMsg); - break; - case KontentOneofCase.CancelOrderMsg: - if (CancelOrderMsg == null) { - CancelOrderMsg = new global::DigitexWire.CancelOrderMessage(); + PlaceOrderMsg.MergeFrom(other.PlaceOrderMsg); + break; + case KontentOneofCase.CancelOrderMsg: + if (CancelOrderMsg == null) { + CancelOrderMsg = new global::DigitexWire.CancelOrderMessage(); + } + CancelOrderMsg.MergeFrom(other.CancelOrderMsg); + break; + case KontentOneofCase.CancelAllOrdersMsg: + if (CancelAllOrdersMsg == null) { + CancelAllOrdersMsg = new global::DigitexWire.CancelAllOrdersMessage(); + } + CancelAllOrdersMsg.MergeFrom(other.CancelAllOrdersMsg); + break; + case KontentOneofCase.OrderStatusMsg: + if (OrderStatusMsg == null) { + OrderStatusMsg = new global::DigitexWire.OrderStatusMessage(); + } + OrderStatusMsg.MergeFrom(other.OrderStatusMsg); + break; + case KontentOneofCase.OrderFilledMsg: + if (OrderFilledMsg == null) { + OrderFilledMsg = new global::DigitexWire.OrderFilledMessage(); + } + OrderFilledMsg.MergeFrom(other.OrderFilledMsg); + break; + case KontentOneofCase.ChangeLeverageAllMsg: + if (ChangeLeverageAllMsg == null) { + ChangeLeverageAllMsg = new global::DigitexWire.ChangeLeverageAllMessage(); + } + ChangeLeverageAllMsg.MergeFrom(other.ChangeLeverageAllMsg); + break; + case KontentOneofCase.TraderBalanceMsg: + if (TraderBalanceMsg == null) { + TraderBalanceMsg = new global::DigitexWire.TraderBalanceMessage(); + } + TraderBalanceMsg.MergeFrom(other.TraderBalanceMsg); + break; + case KontentOneofCase.PositionEventMsg: + if (PositionEventMsg == null) { + PositionEventMsg = new global::DigitexWire.PositionEventMessage(); + } + PositionEventMsg.MergeFrom(other.PositionEventMsg); + break; + case KontentOneofCase.LeverageMsg: + if (LeverageMsg == null) { + LeverageMsg = new global::DigitexWire.LeverageMessage(); + } + LeverageMsg.MergeFrom(other.LeverageMsg); + break; + case KontentOneofCase.ExchangeRateMsg: + if (ExchangeRateMsg == null) { + ExchangeRateMsg = new global::DigitexWire.ExchangeRateMessage(); + } + ExchangeRateMsg.MergeFrom(other.ExchangeRateMsg); + break; + case KontentOneofCase.OrderBookRequestMsg: + if (OrderBookRequestMsg == null) { + OrderBookRequestMsg = new global::DigitexWire.OrderBookRequestMessage(); + } + OrderBookRequestMsg.MergeFrom(other.OrderBookRequestMsg); + break; + case KontentOneofCase.OrderBookMsg: + if (OrderBookMsg == null) { + OrderBookMsg = new global::DigitexWire.OrderBookMessage(); + } + OrderBookMsg.MergeFrom(other.OrderBookMsg); + break; + case KontentOneofCase.OrderBookUpdatedMsg: + if (OrderBookUpdatedMsg == null) { + OrderBookUpdatedMsg = new global::DigitexWire.OrderBookUpdatedMessage(); + } + OrderBookUpdatedMsg.MergeFrom(other.OrderBookUpdatedMsg); + break; + case KontentOneofCase.PingMsg: + if (PingMsg == null) { + PingMsg = new global::DigitexWire.PingMessage(); + } + PingMsg.MergeFrom(other.PingMsg); + break; + case KontentOneofCase.PongMsg: + if (PongMsg == null) { + PongMsg = new global::DigitexWire.PongMessage(); + } + PongMsg.MergeFrom(other.PongMsg); + break; + case KontentOneofCase.UpdateOrderMsg: + if (UpdateOrderMsg == null) { + UpdateOrderMsg = new global::DigitexWire.UpdateOrderMessage(); + } + UpdateOrderMsg.MergeFrom(other.UpdateOrderMsg); + break; + case KontentOneofCase.GetTraderStatusMsg: + if (GetTraderStatusMsg == null) { + GetTraderStatusMsg = new global::DigitexWire.GetTraderStatusMessage(); + } + GetTraderStatusMsg.MergeFrom(other.GetTraderStatusMsg); + break; + case KontentOneofCase.TraderStatusMsg: + if (TraderStatusMsg == null) { + TraderStatusMsg = new global::DigitexWire.TraderStatusMessage(); + } + TraderStatusMsg.MergeFrom(other.TraderStatusMsg); + break; + case KontentOneofCase.FundingMsg: + if (FundingMsg == null) { + FundingMsg = new global::DigitexWire.FundingMessage(); + } + FundingMsg.MergeFrom(other.FundingMsg); + break; + case KontentOneofCase.SubscribeMsg: + if (SubscribeMsg == null) { + SubscribeMsg = new global::DigitexWire.SubscribeMessage(); + } + SubscribeMsg.MergeFrom(other.SubscribeMsg); + break; + case KontentOneofCase.SubscribeStatusMsg: + if (SubscribeStatusMsg == null) { + SubscribeStatusMsg = new global::DigitexWire.SubscribeStatusMessage(); + } + SubscribeStatusMsg.MergeFrom(other.SubscribeStatusMsg); + break; + case KontentOneofCase.CloseContractMsg: + if (CloseContractMsg == null) { + CloseContractMsg = new global::DigitexWire.CloseContractMessage(); + } + CloseContractMsg.MergeFrom(other.CloseContractMsg); + break; + case KontentOneofCase.CloseAllContractsMsg: + if (CloseAllContractsMsg == null) { + CloseAllContractsMsg = new global::DigitexWire.CloseAllContractsMessage(); + } + CloseAllContractsMsg.MergeFrom(other.CloseAllContractsMsg); + break; + case KontentOneofCase.OrderCanceledMsg: + if (OrderCanceledMsg == null) { + OrderCanceledMsg = new global::DigitexWire.OrderCanceledMessage(); + } + OrderCanceledMsg.MergeFrom(other.OrderCanceledMsg); + break; + case KontentOneofCase.GetMarketStateMsg: + if (GetMarketStateMsg == null) { + GetMarketStateMsg = new global::DigitexWire.GetMarketStateMessage(); + } + GetMarketStateMsg.MergeFrom(other.GetMarketStateMsg); + break; + case KontentOneofCase.MarketStateMsg: + if (MarketStateMsg == null) { + MarketStateMsg = new global::DigitexWire.MarketStateMessage(); + } + MarketStateMsg.MergeFrom(other.MarketStateMsg); + break; + case KontentOneofCase.GetExchangeRatesMsg: + if (GetExchangeRatesMsg == null) { + GetExchangeRatesMsg = new global::DigitexWire.GetExchangeRatesMessage(); + } + GetExchangeRatesMsg.MergeFrom(other.GetExchangeRatesMsg); + break; + case KontentOneofCase.ExchangeRatesMsg: + if (ExchangeRatesMsg == null) { + ExchangeRatesMsg = new global::DigitexWire.ExchangeRatesMessage(); + } + ExchangeRatesMsg.MergeFrom(other.ExchangeRatesMsg); + break; + case KontentOneofCase.MarketStateUpdateMsg: + if (MarketStateUpdateMsg == null) { + MarketStateUpdateMsg = new global::DigitexWire.MarketStateUpdateMessage(); + } + MarketStateUpdateMsg.MergeFrom(other.MarketStateUpdateMsg); + break; + case KontentOneofCase.ContractClosedMsg: + if (ContractClosedMsg == null) { + ContractClosedMsg = new global::DigitexWire.ContractClosedMessage(); + } + ContractClosedMsg.MergeFrom(other.ContractClosedMsg); + break; + case KontentOneofCase.GetTraderBalanceMsg: + if (GetTraderBalanceMsg == null) { + GetTraderBalanceMsg = new global::DigitexWire.GetTraderBalanceMessage(); + } + GetTraderBalanceMsg.MergeFrom(other.GetTraderBalanceMsg); + break; + case KontentOneofCase.PlaceDelayedActionMsg: + if (PlaceDelayedActionMsg == null) { + PlaceDelayedActionMsg = new global::DigitexWire.PlaceDelayedActionMessage(); + } + PlaceDelayedActionMsg.MergeFrom(other.PlaceDelayedActionMsg); + break; + case KontentOneofCase.UpdateDelayedActionMsg: + if (UpdateDelayedActionMsg == null) { + UpdateDelayedActionMsg = new global::DigitexWire.UpdateDelayedActionMessage(); + } + UpdateDelayedActionMsg.MergeFrom(other.UpdateDelayedActionMsg); + break; + case KontentOneofCase.CancelDelayedActionMsg: + if (CancelDelayedActionMsg == null) { + CancelDelayedActionMsg = new global::DigitexWire.CancelDelayedActionMessage(); + } + CancelDelayedActionMsg.MergeFrom(other.CancelDelayedActionMsg); + break; + case KontentOneofCase.DelayedActionStatusMsg: + if (DelayedActionStatusMsg == null) { + DelayedActionStatusMsg = new global::DigitexWire.DelayedActionStatusMessage(); + } + DelayedActionStatusMsg.MergeFrom(other.DelayedActionStatusMsg); + break; + case KontentOneofCase.LiquidationsMsg: + if (LiquidationsMsg == null) { + LiquidationsMsg = new global::DigitexWire.LiquidationsMessage(); + } + LiquidationsMsg.MergeFrom(other.LiquidationsMsg); + break; + case KontentOneofCase.FundingInfoMsg: + if (FundingInfoMsg == null) { + FundingInfoMsg = new global::DigitexWire.FundingInfoMessage(); + } + FundingInfoMsg.MergeFrom(other.FundingInfoMsg); + break; + case KontentOneofCase.ErrorMsg: + if (ErrorMsg == null) { + ErrorMsg = new global::DigitexWire.ErrorMessage(); + } + ErrorMsg.MergeFrom(other.ErrorMsg); + break; + } + + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 16: { + Timestamp = input.ReadInt64(); + break; + } + case 32: { + Serial = input.ReadUInt64(); + break; + } + case 40: { + MarketId = input.ReadUInt32(); + break; + } + case 48: { + TraderId = input.ReadUInt32(); + break; + } + case 58: { + ClientId = input.ReadBytes(); + break; + } + case 64: { + SessionId = input.ReadInt64(); + break; } - CancelOrderMsg.MergeFrom(other.CancelOrderMsg); - break; - case KontentOneofCase.CancelAllOrdersMsg: - if (CancelAllOrdersMsg == null) { - CancelAllOrdersMsg = new global::DigitexWire.CancelAllOrdersMessage(); + case 74: { + Auth = input.ReadBytes(); + break; } - CancelAllOrdersMsg.MergeFrom(other.CancelAllOrdersMsg); - break; - case KontentOneofCase.OrderStatusMsg: - if (OrderStatusMsg == null) { - OrderStatusMsg = new global::DigitexWire.OrderStatusMessage(); + case 344: { + ErrorCode = input.ReadUInt32(); + break; } - OrderStatusMsg.MergeFrom(other.OrderStatusMsg); - break; - case KontentOneofCase.OrderFilledMsg: - if (OrderFilledMsg == null) { - OrderFilledMsg = new global::DigitexWire.OrderFilledMessage(); + case 4106: { + global::DigitexWire.PlaceOrderMessage subBuilder = new global::DigitexWire.PlaceOrderMessage(); + if (kontentCase_ == KontentOneofCase.PlaceOrderMsg) { + subBuilder.MergeFrom(PlaceOrderMsg); + } + input.ReadMessage(subBuilder); + PlaceOrderMsg = subBuilder; + break; } - OrderFilledMsg.MergeFrom(other.OrderFilledMsg); - break; - case KontentOneofCase.ChangeLeverageAllMsg: - if (ChangeLeverageAllMsg == null) { - ChangeLeverageAllMsg = new global::DigitexWire.ChangeLeverageAllMessage(); + case 4114: { + global::DigitexWire.CancelOrderMessage subBuilder = new global::DigitexWire.CancelOrderMessage(); + if (kontentCase_ == KontentOneofCase.CancelOrderMsg) { + subBuilder.MergeFrom(CancelOrderMsg); + } + input.ReadMessage(subBuilder); + CancelOrderMsg = subBuilder; + break; } - ChangeLeverageAllMsg.MergeFrom(other.ChangeLeverageAllMsg); - break; - case KontentOneofCase.TraderBalanceMsg: - if (TraderBalanceMsg == null) { - TraderBalanceMsg = new global::DigitexWire.TraderBalanceMessage(); + case 4122: { + global::DigitexWire.CancelAllOrdersMessage subBuilder = new global::DigitexWire.CancelAllOrdersMessage(); + if (kontentCase_ == KontentOneofCase.CancelAllOrdersMsg) { + subBuilder.MergeFrom(CancelAllOrdersMsg); + } + input.ReadMessage(subBuilder); + CancelAllOrdersMsg = subBuilder; + break; } - TraderBalanceMsg.MergeFrom(other.TraderBalanceMsg); - break; - case KontentOneofCase.PositionEventMsg: - if (PositionEventMsg == null) { - PositionEventMsg = new global::DigitexWire.PositionEventMessage(); + case 4138: { + global::DigitexWire.OrderStatusMessage subBuilder = new global::DigitexWire.OrderStatusMessage(); + if (kontentCase_ == KontentOneofCase.OrderStatusMsg) { + subBuilder.MergeFrom(OrderStatusMsg); + } + input.ReadMessage(subBuilder); + OrderStatusMsg = subBuilder; + break; } - PositionEventMsg.MergeFrom(other.PositionEventMsg); - break; - case KontentOneofCase.LeverageMsg: - if (LeverageMsg == null) { - LeverageMsg = new global::DigitexWire.LeverageMessage(); + case 4146: { + global::DigitexWire.OrderFilledMessage subBuilder = new global::DigitexWire.OrderFilledMessage(); + if (kontentCase_ == KontentOneofCase.OrderFilledMsg) { + subBuilder.MergeFrom(OrderFilledMsg); + } + input.ReadMessage(subBuilder); + OrderFilledMsg = subBuilder; + break; } - LeverageMsg.MergeFrom(other.LeverageMsg); - break; - case KontentOneofCase.ExchangeRateMsg: - if (ExchangeRateMsg == null) { - ExchangeRateMsg = new global::DigitexWire.ExchangeRateMessage(); + case 4154: { + global::DigitexWire.ChangeLeverageAllMessage subBuilder = new global::DigitexWire.ChangeLeverageAllMessage(); + if (kontentCase_ == KontentOneofCase.ChangeLeverageAllMsg) { + subBuilder.MergeFrom(ChangeLeverageAllMsg); + } + input.ReadMessage(subBuilder); + ChangeLeverageAllMsg = subBuilder; + break; } - ExchangeRateMsg.MergeFrom(other.ExchangeRateMsg); - break; - case KontentOneofCase.OrderBookRequestMsg: - if (OrderBookRequestMsg == null) { - OrderBookRequestMsg = new global::DigitexWire.OrderBookRequestMessage(); + case 4178: { + global::DigitexWire.TraderBalanceMessage subBuilder = new global::DigitexWire.TraderBalanceMessage(); + if (kontentCase_ == KontentOneofCase.TraderBalanceMsg) { + subBuilder.MergeFrom(TraderBalanceMsg); + } + input.ReadMessage(subBuilder); + TraderBalanceMsg = subBuilder; + break; } - OrderBookRequestMsg.MergeFrom(other.OrderBookRequestMsg); - break; - case KontentOneofCase.OrderBookMsg: - if (OrderBookMsg == null) { - OrderBookMsg = new global::DigitexWire.OrderBookMessage(); + case 4186: { + global::DigitexWire.PositionEventMessage subBuilder = new global::DigitexWire.PositionEventMessage(); + if (kontentCase_ == KontentOneofCase.PositionEventMsg) { + subBuilder.MergeFrom(PositionEventMsg); + } + input.ReadMessage(subBuilder); + PositionEventMsg = subBuilder; + break; } - OrderBookMsg.MergeFrom(other.OrderBookMsg); - break; - case KontentOneofCase.OrderBookUpdatedMsg: - if (OrderBookUpdatedMsg == null) { - OrderBookUpdatedMsg = new global::DigitexWire.OrderBookUpdatedMessage(); + case 4194: { + global::DigitexWire.LeverageMessage subBuilder = new global::DigitexWire.LeverageMessage(); + if (kontentCase_ == KontentOneofCase.LeverageMsg) { + subBuilder.MergeFrom(LeverageMsg); + } + input.ReadMessage(subBuilder); + LeverageMsg = subBuilder; + break; } - OrderBookUpdatedMsg.MergeFrom(other.OrderBookUpdatedMsg); - break; - case KontentOneofCase.PingMsg: - if (PingMsg == null) { - PingMsg = new global::DigitexWire.PingMessage(); + case 4202: { + global::DigitexWire.ExchangeRateMessage subBuilder = new global::DigitexWire.ExchangeRateMessage(); + if (kontentCase_ == KontentOneofCase.ExchangeRateMsg) { + subBuilder.MergeFrom(ExchangeRateMsg); + } + input.ReadMessage(subBuilder); + ExchangeRateMsg = subBuilder; + break; } - PingMsg.MergeFrom(other.PingMsg); - break; - case KontentOneofCase.PongMsg: - if (PongMsg == null) { - PongMsg = new global::DigitexWire.PongMessage(); + case 4210: { + global::DigitexWire.OrderBookRequestMessage subBuilder = new global::DigitexWire.OrderBookRequestMessage(); + if (kontentCase_ == KontentOneofCase.OrderBookRequestMsg) { + subBuilder.MergeFrom(OrderBookRequestMsg); + } + input.ReadMessage(subBuilder); + OrderBookRequestMsg = subBuilder; + break; } - PongMsg.MergeFrom(other.PongMsg); - break; - case KontentOneofCase.UpdateOrderMsg: - if (UpdateOrderMsg == null) { - UpdateOrderMsg = new global::DigitexWire.UpdateOrderMessage(); + case 4218: { + global::DigitexWire.OrderBookMessage subBuilder = new global::DigitexWire.OrderBookMessage(); + if (kontentCase_ == KontentOneofCase.OrderBookMsg) { + subBuilder.MergeFrom(OrderBookMsg); + } + input.ReadMessage(subBuilder); + OrderBookMsg = subBuilder; + break; } - UpdateOrderMsg.MergeFrom(other.UpdateOrderMsg); - break; - case KontentOneofCase.GetTraderStatusMsg: - if (GetTraderStatusMsg == null) { - GetTraderStatusMsg = new global::DigitexWire.GetTraderStatusMessage(); + case 4226: { + global::DigitexWire.OrderBookUpdatedMessage subBuilder = new global::DigitexWire.OrderBookUpdatedMessage(); + if (kontentCase_ == KontentOneofCase.OrderBookUpdatedMsg) { + subBuilder.MergeFrom(OrderBookUpdatedMsg); + } + input.ReadMessage(subBuilder); + OrderBookUpdatedMsg = subBuilder; + break; } - GetTraderStatusMsg.MergeFrom(other.GetTraderStatusMsg); - break; - case KontentOneofCase.TraderStatusMsg: - if (TraderStatusMsg == null) { - TraderStatusMsg = new global::DigitexWire.TraderStatusMessage(); + case 4234: { + global::DigitexWire.PingMessage subBuilder = new global::DigitexWire.PingMessage(); + if (kontentCase_ == KontentOneofCase.PingMsg) { + subBuilder.MergeFrom(PingMsg); + } + input.ReadMessage(subBuilder); + PingMsg = subBuilder; + break; } - TraderStatusMsg.MergeFrom(other.TraderStatusMsg); - break; - case KontentOneofCase.FundingMsg: - if (FundingMsg == null) { - FundingMsg = new global::DigitexWire.FundingMessage(); + case 4242: { + global::DigitexWire.PongMessage subBuilder = new global::DigitexWire.PongMessage(); + if (kontentCase_ == KontentOneofCase.PongMsg) { + subBuilder.MergeFrom(PongMsg); + } + input.ReadMessage(subBuilder); + PongMsg = subBuilder; + break; } - FundingMsg.MergeFrom(other.FundingMsg); - break; - case KontentOneofCase.SubscribeMsg: - if (SubscribeMsg == null) { - SubscribeMsg = new global::DigitexWire.SubscribeMessage(); + case 4250: { + global::DigitexWire.UpdateOrderMessage subBuilder = new global::DigitexWire.UpdateOrderMessage(); + if (kontentCase_ == KontentOneofCase.UpdateOrderMsg) { + subBuilder.MergeFrom(UpdateOrderMsg); + } + input.ReadMessage(subBuilder); + UpdateOrderMsg = subBuilder; + break; + } + case 4258: { + global::DigitexWire.GetTraderStatusMessage subBuilder = new global::DigitexWire.GetTraderStatusMessage(); + if (kontentCase_ == KontentOneofCase.GetTraderStatusMsg) { + subBuilder.MergeFrom(GetTraderStatusMsg); + } + input.ReadMessage(subBuilder); + GetTraderStatusMsg = subBuilder; + break; + } + case 4266: { + global::DigitexWire.TraderStatusMessage subBuilder = new global::DigitexWire.TraderStatusMessage(); + if (kontentCase_ == KontentOneofCase.TraderStatusMsg) { + subBuilder.MergeFrom(TraderStatusMsg); + } + input.ReadMessage(subBuilder); + TraderStatusMsg = subBuilder; + break; + } + case 4282: { + global::DigitexWire.FundingMessage subBuilder = new global::DigitexWire.FundingMessage(); + if (kontentCase_ == KontentOneofCase.FundingMsg) { + subBuilder.MergeFrom(FundingMsg); + } + input.ReadMessage(subBuilder); + FundingMsg = subBuilder; + break; } - SubscribeMsg.MergeFrom(other.SubscribeMsg); - break; - case KontentOneofCase.SubscribeStatusMsg: - if (SubscribeStatusMsg == null) { - SubscribeStatusMsg = new global::DigitexWire.SubscribeStatusMessage(); + case 4306: { + global::DigitexWire.SubscribeMessage subBuilder = new global::DigitexWire.SubscribeMessage(); + if (kontentCase_ == KontentOneofCase.SubscribeMsg) { + subBuilder.MergeFrom(SubscribeMsg); + } + input.ReadMessage(subBuilder); + SubscribeMsg = subBuilder; + break; } - SubscribeStatusMsg.MergeFrom(other.SubscribeStatusMsg); - break; - case KontentOneofCase.CloseContractMsg: - if (CloseContractMsg == null) { - CloseContractMsg = new global::DigitexWire.CloseContractMessage(); + case 4314: { + global::DigitexWire.SubscribeStatusMessage subBuilder = new global::DigitexWire.SubscribeStatusMessage(); + if (kontentCase_ == KontentOneofCase.SubscribeStatusMsg) { + subBuilder.MergeFrom(SubscribeStatusMsg); + } + input.ReadMessage(subBuilder); + SubscribeStatusMsg = subBuilder; + break; } - CloseContractMsg.MergeFrom(other.CloseContractMsg); - break; - case KontentOneofCase.CloseAllContractsMsg: - if (CloseAllContractsMsg == null) { - CloseAllContractsMsg = new global::DigitexWire.CloseAllContractsMessage(); + case 4338: { + global::DigitexWire.CloseContractMessage subBuilder = new global::DigitexWire.CloseContractMessage(); + if (kontentCase_ == KontentOneofCase.CloseContractMsg) { + subBuilder.MergeFrom(CloseContractMsg); + } + input.ReadMessage(subBuilder); + CloseContractMsg = subBuilder; + break; } - CloseAllContractsMsg.MergeFrom(other.CloseAllContractsMsg); - break; - case KontentOneofCase.OrderCanceledMsg: - if (OrderCanceledMsg == null) { - OrderCanceledMsg = new global::DigitexWire.OrderCanceledMessage(); + case 4346: { + global::DigitexWire.CloseAllContractsMessage subBuilder = new global::DigitexWire.CloseAllContractsMessage(); + if (kontentCase_ == KontentOneofCase.CloseAllContractsMsg) { + subBuilder.MergeFrom(CloseAllContractsMsg); + } + input.ReadMessage(subBuilder); + CloseAllContractsMsg = subBuilder; + break; } - OrderCanceledMsg.MergeFrom(other.OrderCanceledMsg); - break; - case KontentOneofCase.GetMarketStateMsg: - if (GetMarketStateMsg == null) { - GetMarketStateMsg = new global::DigitexWire.GetMarketStateMessage(); + case 4370: { + global::DigitexWire.OrderCanceledMessage subBuilder = new global::DigitexWire.OrderCanceledMessage(); + if (kontentCase_ == KontentOneofCase.OrderCanceledMsg) { + subBuilder.MergeFrom(OrderCanceledMsg); + } + input.ReadMessage(subBuilder); + OrderCanceledMsg = subBuilder; + break; } - GetMarketStateMsg.MergeFrom(other.GetMarketStateMsg); - break; - case KontentOneofCase.MarketStateMsg: - if (MarketStateMsg == null) { - MarketStateMsg = new global::DigitexWire.MarketStateMessage(); + case 4386: { + global::DigitexWire.GetMarketStateMessage subBuilder = new global::DigitexWire.GetMarketStateMessage(); + if (kontentCase_ == KontentOneofCase.GetMarketStateMsg) { + subBuilder.MergeFrom(GetMarketStateMsg); + } + input.ReadMessage(subBuilder); + GetMarketStateMsg = subBuilder; + break; } - MarketStateMsg.MergeFrom(other.MarketStateMsg); - break; - case KontentOneofCase.GetExchangeRatesMsg: - if (GetExchangeRatesMsg == null) { - GetExchangeRatesMsg = new global::DigitexWire.GetExchangeRatesMessage(); + case 4394: { + global::DigitexWire.MarketStateMessage subBuilder = new global::DigitexWire.MarketStateMessage(); + if (kontentCase_ == KontentOneofCase.MarketStateMsg) { + subBuilder.MergeFrom(MarketStateMsg); + } + input.ReadMessage(subBuilder); + MarketStateMsg = subBuilder; + break; } - GetExchangeRatesMsg.MergeFrom(other.GetExchangeRatesMsg); - break; - case KontentOneofCase.ExchangeRatesMsg: - if (ExchangeRatesMsg == null) { - ExchangeRatesMsg = new global::DigitexWire.ExchangeRatesMessage(); + case 4402: { + global::DigitexWire.GetExchangeRatesMessage subBuilder = new global::DigitexWire.GetExchangeRatesMessage(); + if (kontentCase_ == KontentOneofCase.GetExchangeRatesMsg) { + subBuilder.MergeFrom(GetExchangeRatesMsg); + } + input.ReadMessage(subBuilder); + GetExchangeRatesMsg = subBuilder; + break; } - ExchangeRatesMsg.MergeFrom(other.ExchangeRatesMsg); - break; - case KontentOneofCase.MarketStateUpdateMsg: - if (MarketStateUpdateMsg == null) { - MarketStateUpdateMsg = new global::DigitexWire.MarketStateUpdateMessage(); + case 4410: { + global::DigitexWire.ExchangeRatesMessage subBuilder = new global::DigitexWire.ExchangeRatesMessage(); + if (kontentCase_ == KontentOneofCase.ExchangeRatesMsg) { + subBuilder.MergeFrom(ExchangeRatesMsg); + } + input.ReadMessage(subBuilder); + ExchangeRatesMsg = subBuilder; + break; } - MarketStateUpdateMsg.MergeFrom(other.MarketStateUpdateMsg); - break; - case KontentOneofCase.ContractClosedMsg: - if (ContractClosedMsg == null) { - ContractClosedMsg = new global::DigitexWire.ContractClosedMessage(); + case 4418: { + global::DigitexWire.MarketStateUpdateMessage subBuilder = new global::DigitexWire.MarketStateUpdateMessage(); + if (kontentCase_ == KontentOneofCase.MarketStateUpdateMsg) { + subBuilder.MergeFrom(MarketStateUpdateMsg); + } + input.ReadMessage(subBuilder); + MarketStateUpdateMsg = subBuilder; + break; } - ContractClosedMsg.MergeFrom(other.ContractClosedMsg); - break; - case KontentOneofCase.GetTraderBalanceMsg: - if (GetTraderBalanceMsg == null) { - GetTraderBalanceMsg = new global::DigitexWire.GetTraderBalanceMessage(); + case 4426: { + global::DigitexWire.ContractClosedMessage subBuilder = new global::DigitexWire.ContractClosedMessage(); + if (kontentCase_ == KontentOneofCase.ContractClosedMsg) { + subBuilder.MergeFrom(ContractClosedMsg); + } + input.ReadMessage(subBuilder); + ContractClosedMsg = subBuilder; + break; } - GetTraderBalanceMsg.MergeFrom(other.GetTraderBalanceMsg); - break; - case KontentOneofCase.PlaceDelayedActionMsg: - if (PlaceDelayedActionMsg == null) { - PlaceDelayedActionMsg = new global::DigitexWire.PlaceDelayedActionMessage(); + case 4498: { + global::DigitexWire.GetTraderBalanceMessage subBuilder = new global::DigitexWire.GetTraderBalanceMessage(); + if (kontentCase_ == KontentOneofCase.GetTraderBalanceMsg) { + subBuilder.MergeFrom(GetTraderBalanceMsg); + } + input.ReadMessage(subBuilder); + GetTraderBalanceMsg = subBuilder; + break; } - PlaceDelayedActionMsg.MergeFrom(other.PlaceDelayedActionMsg); - break; - case KontentOneofCase.UpdateDelayedActionMsg: - if (UpdateDelayedActionMsg == null) { - UpdateDelayedActionMsg = new global::DigitexWire.UpdateDelayedActionMessage(); + case 4530: { + global::DigitexWire.PlaceDelayedActionMessage subBuilder = new global::DigitexWire.PlaceDelayedActionMessage(); + if (kontentCase_ == KontentOneofCase.PlaceDelayedActionMsg) { + subBuilder.MergeFrom(PlaceDelayedActionMsg); + } + input.ReadMessage(subBuilder); + PlaceDelayedActionMsg = subBuilder; + break; } - UpdateDelayedActionMsg.MergeFrom(other.UpdateDelayedActionMsg); - break; - case KontentOneofCase.CancelDelayedActionMsg: - if (CancelDelayedActionMsg == null) { - CancelDelayedActionMsg = new global::DigitexWire.CancelDelayedActionMessage(); + case 4538: { + global::DigitexWire.UpdateDelayedActionMessage subBuilder = new global::DigitexWire.UpdateDelayedActionMessage(); + if (kontentCase_ == KontentOneofCase.UpdateDelayedActionMsg) { + subBuilder.MergeFrom(UpdateDelayedActionMsg); + } + input.ReadMessage(subBuilder); + UpdateDelayedActionMsg = subBuilder; + break; } - CancelDelayedActionMsg.MergeFrom(other.CancelDelayedActionMsg); - break; - case KontentOneofCase.DelayedActionStatusMsg: - if (DelayedActionStatusMsg == null) { - DelayedActionStatusMsg = new global::DigitexWire.DelayedActionStatusMessage(); + case 4546: { + global::DigitexWire.CancelDelayedActionMessage subBuilder = new global::DigitexWire.CancelDelayedActionMessage(); + if (kontentCase_ == KontentOneofCase.CancelDelayedActionMsg) { + subBuilder.MergeFrom(CancelDelayedActionMsg); + } + input.ReadMessage(subBuilder); + CancelDelayedActionMsg = subBuilder; + break; } - DelayedActionStatusMsg.MergeFrom(other.DelayedActionStatusMsg); - break; - case KontentOneofCase.LiquidationsMsg: - if (LiquidationsMsg == null) { - LiquidationsMsg = new global::DigitexWire.LiquidationsMessage(); + case 4554: { + global::DigitexWire.DelayedActionStatusMessage subBuilder = new global::DigitexWire.DelayedActionStatusMessage(); + if (kontentCase_ == KontentOneofCase.DelayedActionStatusMsg) { + subBuilder.MergeFrom(DelayedActionStatusMsg); + } + input.ReadMessage(subBuilder); + DelayedActionStatusMsg = subBuilder; + break; } - LiquidationsMsg.MergeFrom(other.LiquidationsMsg); - break; - case KontentOneofCase.FundingInfoMsg: - if (FundingInfoMsg == null) { - FundingInfoMsg = new global::DigitexWire.FundingInfoMessage(); + case 4562: { + global::DigitexWire.LiquidationsMessage subBuilder = new global::DigitexWire.LiquidationsMessage(); + if (kontentCase_ == KontentOneofCase.LiquidationsMsg) { + subBuilder.MergeFrom(LiquidationsMsg); + } + input.ReadMessage(subBuilder); + LiquidationsMsg = subBuilder; + break; } - FundingInfoMsg.MergeFrom(other.FundingInfoMsg); - break; - case KontentOneofCase.ErrorMsg: - if (ErrorMsg == null) { - ErrorMsg = new global::DigitexWire.ErrorMessage(); + case 4570: { + global::DigitexWire.FundingInfoMessage subBuilder = new global::DigitexWire.FundingInfoMessage(); + if (kontentCase_ == KontentOneofCase.FundingInfoMsg) { + subBuilder.MergeFrom(FundingInfoMsg); + } + input.ReadMessage(subBuilder); + FundingInfoMsg = subBuilder; + break; } - ErrorMsg.MergeFrom(other.ErrorMsg); - break; + case 4578: { + global::DigitexWire.ErrorMessage subBuilder = new global::DigitexWire.ErrorMessage(); + if (kontentCase_ == KontentOneofCase.ErrorMsg) { + subBuilder.MergeFrom(ErrorMsg); + } + input.ReadMessage(subBuilder); + ErrorMsg = subBuilder; + break; + } + } } - - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + #endif } + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public void MergeFrom(pb::CodedInputStream input) { + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch(tag) { default: - _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 16: { Timestamp = input.ReadInt64(); @@ -19401,6 +25885,14 @@ public void MergeFrom(pb::CodedInputStream input) { ClientId = input.ReadBytes(); break; } + case 64: { + SessionId = input.ReadInt64(); + break; + } + case 74: { + Auth = input.ReadBytes(); + break; + } case 344: { ErrorCode = input.ReadUInt32(); break; @@ -19750,6 +26242,7 @@ public void MergeFrom(pb::CodedInputStream input) { } } } + #endif } diff --git a/DigitexConnector/EngineAPI/Symbol.cs b/DigitexConnector/EngineAPI/Symbol.cs index ee67278..6d0d8c5 100644 --- a/DigitexConnector/EngineAPI/Symbol.cs +++ b/DigitexConnector/EngineAPI/Symbol.cs @@ -58,6 +58,12 @@ public class Symbol : IEquatable [DataMember] public readonly int CurrencyPairId; + /// + /// Indicates that market is spot. + /// + [DataMember] + public readonly bool IsSpot; + /// /// Constructor. /// @@ -65,13 +71,14 @@ public class Symbol : IEquatable /// Name of symbol at exchange. /// Symbol's price step /// Symbol's quantity step - public Symbol(int marketId, string name, decimal priceStep, decimal quantityStep, int currencyPairId) + public Symbol(int marketId, string name, decimal priceStep, decimal quantityStep, int currencyPairId, bool isSpot) { MarketId = marketId; Name = name; PriceStep = priceStep; QuantityStep = quantityStep; CurrencyPairId = currencyPairId; + IsSpot = isSpot; } public Symbol() @@ -98,7 +105,8 @@ public bool Equals(Symbol other) MarketId == other.MarketId && PriceStep == other.PriceStep && QuantityStep == other.QuantityStep && - CurrencyPairId == other.CurrencyPairId) + CurrencyPairId == other.CurrencyPairId && + IsSpot == other.IsSpot) { return true; } else { return false; } diff --git a/DigitexConnector/Symbols.mainnet.json b/DigitexConnector/Symbols.mainnet.json index 19bb474..aeb142e 100644 --- a/DigitexConnector/Symbols.mainnet.json +++ b/DigitexConnector/Symbols.mainnet.json @@ -5,42 +5,48 @@ "Name": "BTC/USD", "PriceStep": 5, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 2, "Name": "ETH/USD", "PriceStep": 0.25, "QuantityStep": 1, - "CurrencyPairId": 2 + "CurrencyPairId": 2, + "IsSpot": false }, { "MarketId": 3, "Name": "XRP/USD", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 6 + "CurrencyPairId": 6, + "IsSpot": false }, { "MarketId": 7, "Name": "EUR/USD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 26 + "CurrencyPairId": 26, + "IsSpot": false }, { "MarketId": 9, "Name": "BTC/USD1", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 10, "Name": "USD/JPY", "PriceStep": 0.01, "QuantityStep": 1, - "CurrencyPairId": 28 + "CurrencyPairId": 28, + "IsSpot": false } ] } \ No newline at end of file diff --git a/DigitexConnector/Symbols.testnet.json b/DigitexConnector/Symbols.testnet.json index 98aa345..63e6afb 100644 --- a/DigitexConnector/Symbols.testnet.json +++ b/DigitexConnector/Symbols.testnet.json @@ -5,203 +5,232 @@ "Name": "BTC/USD DGTX", "PriceStep": 5, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 2, "Name": "ETH/USD DGTX", "PriceStep": 0.25, "QuantityStep": 1, - "CurrencyPairId": 2 + "CurrencyPairId": 2, + "IsSpot": false }, { "MarketId": 3, "Name": "XRP/USD DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 6 + "CurrencyPairId": 6, + "IsSpot": false }, { "MarketId": 4, "Name": "DGTX/ETH SPOT", "PriceStep": 0.000001, "QuantityStep": 1, - "CurrencyPairId": 3 + "CurrencyPairId": 3, + "IsSpot": true }, { "MarketId": 5, "Name": "XAU/USD DGTX", "PriceStep": 0.5, "QuantityStep": 1, - "CurrencyPairId": 7 + "CurrencyPairId": 7, + "IsSpot": false }, { "MarketId": 7, "Name": "EUR/USD DGTX", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 26 + "CurrencyPairId": 26, + "IsSpot": false }, { "MarketId": 8, "Name": "AMZN DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 21 + "CurrencyPairId": 21, + "IsSpot": false }, { "MarketId": 9, "Name": "BTC/USD1 DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 10, "Name": "USD/JPY DGTX", "PriceStep": 0.01, "QuantityStep": 1, - "CurrencyPairId": 28 + "CurrencyPairId": 28, + "IsSpot": false }, { "MarketId": 12, "Name": "FB DGTX", "PriceStep": 0.1, "QuantityStep": 1, - "CurrencyPairId": 20 + "CurrencyPairId": 20, + "IsSpot": false }, { "MarketId": 13, "Name": "AAPL DGTX", "PriceStep": 0.1, "QuantityStep": 1, - "CurrencyPairId": 19 + "CurrencyPairId": 19, + "IsSpot": false }, { "MarketId": 14, "Name": "BTC/USD DUSD", "PriceStep": 5, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 15, "Name": "BTC1/USD DUSD", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 16, "Name": "ETH/USD DUSD", "PriceStep": 0.25, "QuantityStep": 1, - "CurrencyPairId": 2 + "CurrencyPairId": 2, + "IsSpot": false }, { "MarketId": 17, "Name": "XRP/USD DUSD", "PriceStep": 0.001, "QuantityStep": 1, - "CurrencyPairId": 8 + "CurrencyPairId": 8, + "IsSpot": false }, { "MarketId": 31, "Name": "XAU/USD DUSD", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 7 + "CurrencyPairId": 7, + "IsSpot": false }, { "MarketId": 18, "Name": "BTC/DUSD SPOT", "PriceStep": 1, "QuantityStep": 0.0001, - "CurrencyPairId": 36 + "CurrencyPairId": 36, + "IsSpot": true }, { "MarketId": 19, "Name": "ETH/BTC SPOT", "PriceStep": 0.00001, "QuantityStep": 0.001, - "CurrencyPairId": 37 + "CurrencyPairId": 37, + "IsSpot": true }, { "MarketId": 20, "Name": "ETH/DUSD SPOT", "PriceStep": 0.1, "QuantityStep": 0.001, - "CurrencyPairId": 38 + "CurrencyPairId": 38, + "IsSpot": true }, { "MarketId": 21, "Name": "DUSD/USDC SPOT", "PriceStep": 0.001, "QuantityStep": 0.01, - "CurrencyPairId": 39 + "CurrencyPairId": 39, + "IsSpot": true }, { "MarketId": 22, "Name": "LINK/DUSD SPOT", "PriceStep": 0.01, "QuantityStep": 0.01, - "CurrencyPairId": 40 + "CurrencyPairId": 40, + "IsSpot": true }, { "MarketId": 23, "Name": "DGTX/BTC SPOT", "PriceStep": 0.0000001, "QuantityStep": 1, - "CurrencyPairId": 4 + "CurrencyPairId": 4, + "IsSpot": true }, { "MarketId": 24, "Name": "DGTX/DUSD SPOT", "PriceStep": 0.001, "QuantityStep": 1, - "CurrencyPairId": 41 + "CurrencyPairId": 41, + "IsSpot": true }, { "MarketId": 25, "Name": "DGTX/LINK SPOT", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 42 + "CurrencyPairId": 42, + "IsSpot": true }, { "MarketId": 26, "Name": "EUR/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 26 + "CurrencyPairId": 26, + "IsSpot": false }, { "MarketId": 27, "Name": "GBP/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 34 + "CurrencyPairId": 34, + "IsSpot": false }, { "MarketId": 28, "Name": "AUD/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 35 + "CurrencyPairId": 35, + "IsSpot": false }, { "MarketId": 29, "Name": "USD/JPY DUSD", "PriceStep": 0.01, "QuantityStep": 1, - "CurrencyPairId": 28 + "CurrencyPairId": 28, + "IsSpot": false }, { "MarketId": 30, "Name": "USD/CAD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 33 + "CurrencyPairId": 33, + "IsSpot": false } ] } diff --git a/DigitexConnector/Trading/TraderInfo.cs b/DigitexConnector/Trading/TraderInfo.cs index 50eec13..658f86f 100644 --- a/DigitexConnector/Trading/TraderInfo.cs +++ b/DigitexConnector/Trading/TraderInfo.cs @@ -8,7 +8,16 @@ namespace DigitexConnector.Trading /// public class TraderInfo { - public static decimal TraderBalance { private set; get; } + /// + /// Quote currency on spot market. + /// + public decimal TraderBalance { private set; get; } + + /// + /// Base currency on spot market. Ignore if not spot. + /// + public decimal TraderBalance2 { private set; get; } + public decimal Pnl { private set; get; } public decimal Upnl { private set; get; } public decimal OrderMargin { private set; get; } @@ -47,7 +56,11 @@ private void Update(CommonFields data) Upnl = data.Upnl ?? 0; } - internal void Update(OrderStatusData data) => Update(data as CommonFields); + internal void Update(OrderStatusData data) + { + Update(data as CommonFields); + TraderBalance2 = data.TraderBalance2; + } internal void Update(OrderFilledData data) { @@ -58,10 +71,15 @@ internal void Update(OrderFilledData data) PositionLiquidationVolume = data.PositionLiquidationVolume; PositionType = data.PositionType; PositionVolume = data.PositionVolume; + TraderBalance2 = data.TraderBalance2; } internal void Update(TraderBalanceData data) { + if (!data.Symbol.Equals(Symbol)) + { + return; + } TraderBalance = data.TraderBalance; PositionMargin = data.PositionMargin; OrderMargin = data.OrderMargin; @@ -77,6 +95,7 @@ internal void Update(TraderStatusData data) PositionLiquidationVolume = data.PositionLiquidationVolume; PositionType = data.PositionType; PositionVolume = data.PositionVolume; + TraderBalance2 = data.TraderBalance2; } internal void Update(FundingData data) @@ -102,6 +121,10 @@ internal void Update(LeverageData data) PositionVolume = data.PositionVolume; } - internal void Update(OrderCanceledData data) => Update(data as CommonFields); + internal void Update(OrderCanceledData data) + { + Update(data as CommonFields); + TraderBalance2 = data.TraderBalance2; + } } } diff --git a/Example/IntervalAlgorithm.cs b/Example/IntervalAlgorithm.cs index b8d7460..a980052 100644 --- a/Example/IntervalAlgorithm.cs +++ b/Example/IntervalAlgorithm.cs @@ -26,6 +26,7 @@ public override void Prepare() Smbl = SymbolsContainer.GetSymbol(SymbolName); SpotPriceUpdated += SpotPriceHandler; OrderBookUpdated += OrderBookHandler; + TraderInfoUpdated += TraderInfoHandler; OBook = TrackSymbol(Smbl); TradingTimer = new Timer((object obj) => PlaceOrder(), null, Interval * 1000, Interval * 1000); } @@ -84,6 +85,23 @@ private void ErrorHandler(OrderBase order, ErrorCodes code) Console.WriteLine($"Error {code}, order {order.OrigClientId}"); } + private void TraderInfoHandler(TraderInfo traderInfo) + { + if (!traderInfo.Symbol.Equals(Smbl)) + { + return; + } + if (Smbl.IsSpot) + { + Console.WriteLine($"Base currency balance: {traderInfo.TraderBalance2}"); + Console.WriteLine($"Quote currency balance: {traderInfo.TraderBalance}"); + } + else + { + Console.WriteLine($"Trader balance: {traderInfo.TraderBalance}"); + } + } + public override List GetParams() { return new List() diff --git a/Example/Symbols.json b/Example/Symbols.json index 98aa345..63e6afb 100644 --- a/Example/Symbols.json +++ b/Example/Symbols.json @@ -5,203 +5,232 @@ "Name": "BTC/USD DGTX", "PriceStep": 5, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 2, "Name": "ETH/USD DGTX", "PriceStep": 0.25, "QuantityStep": 1, - "CurrencyPairId": 2 + "CurrencyPairId": 2, + "IsSpot": false }, { "MarketId": 3, "Name": "XRP/USD DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 6 + "CurrencyPairId": 6, + "IsSpot": false }, { "MarketId": 4, "Name": "DGTX/ETH SPOT", "PriceStep": 0.000001, "QuantityStep": 1, - "CurrencyPairId": 3 + "CurrencyPairId": 3, + "IsSpot": true }, { "MarketId": 5, "Name": "XAU/USD DGTX", "PriceStep": 0.5, "QuantityStep": 1, - "CurrencyPairId": 7 + "CurrencyPairId": 7, + "IsSpot": false }, { "MarketId": 7, "Name": "EUR/USD DGTX", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 26 + "CurrencyPairId": 26, + "IsSpot": false }, { "MarketId": 8, "Name": "AMZN DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 21 + "CurrencyPairId": 21, + "IsSpot": false }, { "MarketId": 9, "Name": "BTC/USD1 DGTX", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 10, "Name": "USD/JPY DGTX", "PriceStep": 0.01, "QuantityStep": 1, - "CurrencyPairId": 28 + "CurrencyPairId": 28, + "IsSpot": false }, { "MarketId": 12, "Name": "FB DGTX", "PriceStep": 0.1, "QuantityStep": 1, - "CurrencyPairId": 20 + "CurrencyPairId": 20, + "IsSpot": false }, { "MarketId": 13, "Name": "AAPL DGTX", "PriceStep": 0.1, "QuantityStep": 1, - "CurrencyPairId": 19 + "CurrencyPairId": 19, + "IsSpot": false }, { "MarketId": 14, "Name": "BTC/USD DUSD", "PriceStep": 5, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 15, "Name": "BTC1/USD DUSD", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 1 + "CurrencyPairId": 1, + "IsSpot": false }, { "MarketId": 16, "Name": "ETH/USD DUSD", "PriceStep": 0.25, "QuantityStep": 1, - "CurrencyPairId": 2 + "CurrencyPairId": 2, + "IsSpot": false }, { "MarketId": 17, "Name": "XRP/USD DUSD", "PriceStep": 0.001, "QuantityStep": 1, - "CurrencyPairId": 8 + "CurrencyPairId": 8, + "IsSpot": false }, { "MarketId": 31, "Name": "XAU/USD DUSD", "PriceStep": 1, "QuantityStep": 1, - "CurrencyPairId": 7 + "CurrencyPairId": 7, + "IsSpot": false }, { "MarketId": 18, "Name": "BTC/DUSD SPOT", "PriceStep": 1, "QuantityStep": 0.0001, - "CurrencyPairId": 36 + "CurrencyPairId": 36, + "IsSpot": true }, { "MarketId": 19, "Name": "ETH/BTC SPOT", "PriceStep": 0.00001, "QuantityStep": 0.001, - "CurrencyPairId": 37 + "CurrencyPairId": 37, + "IsSpot": true }, { "MarketId": 20, "Name": "ETH/DUSD SPOT", "PriceStep": 0.1, "QuantityStep": 0.001, - "CurrencyPairId": 38 + "CurrencyPairId": 38, + "IsSpot": true }, { "MarketId": 21, "Name": "DUSD/USDC SPOT", "PriceStep": 0.001, "QuantityStep": 0.01, - "CurrencyPairId": 39 + "CurrencyPairId": 39, + "IsSpot": true }, { "MarketId": 22, "Name": "LINK/DUSD SPOT", "PriceStep": 0.01, "QuantityStep": 0.01, - "CurrencyPairId": 40 + "CurrencyPairId": 40, + "IsSpot": true }, { "MarketId": 23, "Name": "DGTX/BTC SPOT", "PriceStep": 0.0000001, "QuantityStep": 1, - "CurrencyPairId": 4 + "CurrencyPairId": 4, + "IsSpot": true }, { "MarketId": 24, "Name": "DGTX/DUSD SPOT", "PriceStep": 0.001, "QuantityStep": 1, - "CurrencyPairId": 41 + "CurrencyPairId": 41, + "IsSpot": true }, { "MarketId": 25, "Name": "DGTX/LINK SPOT", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 42 + "CurrencyPairId": 42, + "IsSpot": true }, { "MarketId": 26, "Name": "EUR/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 26 + "CurrencyPairId": 26, + "IsSpot": false }, { "MarketId": 27, "Name": "GBP/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 34 + "CurrencyPairId": 34, + "IsSpot": false }, { "MarketId": 28, "Name": "AUD/USD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 35 + "CurrencyPairId": 35, + "IsSpot": false }, { "MarketId": 29, "Name": "USD/JPY DUSD", "PriceStep": 0.01, "QuantityStep": 1, - "CurrencyPairId": 28 + "CurrencyPairId": 28, + "IsSpot": false }, { "MarketId": 30, "Name": "USD/CAD DUSD", "PriceStep": 0.0001, "QuantityStep": 1, - "CurrencyPairId": 33 + "CurrencyPairId": 33, + "IsSpot": false } ] } diff --git a/messages-public.proto b/messages-public.proto index 37b2334..e1eadd9 100644 --- a/messages-public.proto +++ b/messages-public.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -// version: 125 +// version: 132 package digitex_wire; @@ -158,6 +158,8 @@ message OrderStatusMessage bytes orig_client_id = 204; int64 open_time = 205; Decimal orig_quantity = 206; + + bytes orig_order_id = 327; // from v129: the auto-generated order_id of the first order in chain } message LeverageMessage @@ -241,6 +243,9 @@ message OrderFilledMessage Decimal dropped_quantity = 152; + bytes old_order_id = 153; // from v129: the auto-generated order_id that matched + bytes orig_order_id = 327; // from v129: the auto-generated order_id of the first order in chain + Decimal trader_balance = 51; Decimal order_margin = 76; Decimal position_margin = 78; @@ -275,6 +280,8 @@ message ExchangeRateUpdateMessage Decimal volume = 48; Decimal quantity = 39; int32 unreliable = 209; + int32 source_count = 301; + bytes price_updater_id = 302; } message ExchangeRateMessage @@ -295,7 +302,8 @@ message TraderBalanceMessage message PositionEventMessage { repeated TradeMessage liquidated_trades = 168; - repeated bytes terminated_orders = 96; + repeated bytes terminated_orders = 96; // DEPRECATED, see orders + repeated OrderMessage orders = 70; // liquidated orders Decimal trader_balance = 51; Decimal order_margin = 76; @@ -385,7 +393,7 @@ message GetTraderStatusMessage message OrderMessage { - bytes order_client_id = 71; + bytes order_client_id = 71; // FIXME: rename to order_id int64 order_timestamp = 72; uint32 order_trader_id = 73; OrderType order_type = 32; @@ -399,12 +407,14 @@ message OrderMessage uint64 contract_id = 41; - bytes old_client_id = 153; + bytes old_client_id = 153; // FIXME: rename to old_order_id bytes orig_client_id = 204; int64 open_time = 205; Decimal orig_quantity = 206; int32 is_closing = 280; int32 may_increase = 293; + + bytes orig_order_id = 327; // from v129: the auto-generated order_id of the first order in chain } message TraderStatusMessage @@ -466,6 +476,7 @@ message FundingMessage Decimal full_position_margin = 298; Decimal full_buy_order_margin = 299; Decimal full_sell_order_margin = 300; + int64 funding_time = 127; /* Decimal rounded_mark_price = 81; @@ -708,6 +719,8 @@ message Message uint32 trader_id = 6; bytes client_id = 7; uint32 error_code = 43; + int64 session_id = 8; + bytes auth = 9; oneof kontent {