{ "options": { "syntax": "proto3" }, "nested": { "market": { "nested": { "v2": { "nested": { "trade": { "nested": { "Response": { "fields": { "code": { "type": "int32", "id": 1 }, "msg": { "type": "string", "id": 2 }, "status": { "type": "string", "id": 3 }, "ts": { "type": "int64", "id": 4 }, "ch": { "type": "string", "id": 5 }, "klinelist": { "type": "KlineList", "id": 21 }, "tradedepthvo": { "type": "TradeDepthVO", "id": 22 }, "tradedetaillist": { "type": "TradeDetailList", "id": 23 }, "tradeareapair": { "type": "TradeAreaPair", "id": 24 }, "mainpair": { "type": "MainPair", "id": 25 }, "recommendpair": { "type": "RecommendPair", "id": 26 }, "uppair": { "type": "UpPair", "id": 27 }, "amtpair": { "type": "AmtPair", "id": 28 }, "starpair": { "type": "StarPair", "id": 29 }, "tradetickervo": { "type": "TradeTickerVO", "id": 30 }, "entrustvo": { "type": "EntrustVO", "id": 31 }, "userassetbalance": { "type": "UserAssetBalance", "id": 32 }, "markettickerlist": { "type": "MarketTickerList", "id": 33 }, "margincrossassetvo": { "type": "MarginCrossAssetVO", "id": 35 }, "marginisolatedassetvo": { "type": "MarginIsolatedAssetVO", "id": 36 }, "newlistingpair": { "type": "NewListingPair", "id": 37 }, "chgdistributions": { "type": "Chgdistributions", "id": 38 }, "marketzones": { "type": "MarketZones", "id": 39 }, "klineorders": { "type": "KlineOrders", "id": 40 }, "notificationpush": { "type": "NotificationPush", "id": 41 }, "tradehotlisting": { "type": "TradeHotListing", "id": 42 }, "ctcgoingordernum": { "type": "CtcGoingOrderNum", "id": 43 }, "multichange": { "type": "MultiChange", "id": 44 }, "heatmap": { "type": "Heatmap", "id": 45 }, "downpair": { "type": "DownPair", "id": 46 }, "heatvol": { "type": "HeatVol", "id": 47 }, "currencyrate": { "type": "CurrencyRate", "id": 48 }, "marketmonit": { "type": "MarketMonit", "id": 34 } } }, "KlineList": { "fields": {} }, "TradeDepthVO": { "fields": { "bids": { "type": "Bids", "id": 1 }, "asks": { "type": "Asks", "id": 2 }, "last": { "type": "string", "id": 3 }, "open": { "type": "string", "id": 4 }, "cny": { "type": "string", "id": 5 }, "netvalue": { "type": "string", "id": 6 }, "buyorsellcnyprice": { "type": "string", "id": 7 }, "isfiatconvert": { "type": "bool", "id": 8 }, "isrisktip": { "type": "bool", "id": 9 } }, "nested": { "Bids": { "fields": {} }, "Asks": { "fields": { "askdataList": { "rule": "repeated", "type": "AskData", "id": 1 } }, "nested": { "AskData": { "fields": {} } } } } }, "TradeDetailList": { "fields": { "list": { "rule": "repeated", "type": "TradeDetailInfo", "id": 1 } } }, "TradeDetailInfo": { "fields": { "tradeid": { "type": "int64", "id": 1 }, "amount": { "type": "string", "id": 2 }, "ts": { "type": "string", "id": 3 }, "price": { "type": "string", "id": 4 }, "direction": { "type": "string", "id": 5 } } }, "TradeAreaPair": { "fields": { "listList": { "rule": "repeated", "type": "TradeAreaPairInfo", "id": 1 } } }, "TradeAreaPairInfo": { "fields": { "tradeid": { "type": "int32", "id": 1 }, "cny": { "type": "string", "id": 2 }, "buy": { "type": "string", "id": 3 }, "lever": { "type": "string", "id": 4 }, "sell": { "type": "string", "id": 5 }, "last": { "type": "string", "id": 6 }, "volume": { "type": "string", "id": 7 }, "change": { "type": "string", "id": 8 }, "high": { "type": "string", "id": 9 }, "low": { "type": "string", "id": 10 }, "isopen": { "type": "string", "id": 11 }, "open": { "type": "string", "id": 12 }, "amount": { "type": "string", "id": 13 }, "isfiatconvert": { "type": "bool", "id": 14 } } }, "MainPair": { "fields": { "listList": { "rule": "repeated", "type": "MainPairInfo", "id": 1 } } }, "MainPairInfo": { "fields": { "tradeId": { "type": "int32", "id": 1 }, "cny": { "type": "string", "id": 2 }, "totalamount": { "type": "string", "id": 3 }, "last": { "type": "string", "id": 4 }, "volume": { "type": "string", "id": 5 }, "change": { "type": "string", "id": 6 } } }, "RecommendPair": { "fields": { "listList": { "rule": "repeated", "type": "RecommendPairInfo", "id": 1 } } }, "RecommendPairInfo": { "fields": { "tradeId": { "type": "int32", "id": 1 }, "cny": { "type": "string", "id": 2 }, "totalamount": { "type": "string", "id": 3 }, "last": { "type": "string", "id": 4 }, "volume": { "type": "string", "id": 5 }, "change": { "type": "string", "id": 6 } } }, "UpPair": { "fields": {} }, "AmtPair": { "fields": {} }, "StarPair": { "fields": {} }, "TradeTickerVO": { "fields": { "tradeid": { "type": "int32", "id": 1 }, "high": { "type": "string", "id": 2 }, "open": { "type": "string", "id": 3 }, "low": { "type": "string", "id": 4 }, "close": { "type": "string", "id": 5 }, "volume": { "type": "string", "id": 6 }, "change": { "type": "string", "id": 7 }, "cny": { "type": "string", "id": 8 }, "last": { "type": "string", "id": 9 }, "netvalue": { "type": "string", "id": 10 }, "amount": { "type": "string", "id": 11 }, "isfiatconvert": { "type": "bool", "id": 12 } } }, "EntrustVO": { "fields": { "id": { "type": "int64", "id": 1 }, "tradeid": { "type": "int32", "id": 2 }, "entrusttime": { "type": "int64", "id": 3 }, "buycoinshortname": { "type": "string", "id": 4 }, "sellcoinshortname": { "type": "string", "id": 5 }, "type": { "type": "int32", "id": 6 }, "direction": { "type": "int32", "id": 7 }, "matchtype": { "type": "int32", "id": 8 }, "pricetype": { "type": "string", "id": 9 }, "entrustprice": { "type": "string", "id": 10 }, "count": { "type": "string", "id": 11 }, "successcount": { "type": "string", "id": 12 }, "averageprice": { "type": "string", "id": 13 }, "status": { "type": "int32", "id": 14 }, "history": { "type": "bool", "id": 15 }, "pushversion": { "type": "int64", "id": 16 }, "remove": { "type": "bool", "id": 17 }, "amount": { "type": "string", "id": 18 }, "marketunit": { "type": "string", "id": 19 }, "funds": { "type": "string", "id": 20 }, "leftfunds": { "type": "string", "id": 21 }, "triggerprice": { "type": "string", "id": 22 }, "marginmode": { "type": "string", "id": 23 }, "margintrademode": { "type": "string", "id": 24 }, "forcedliquidation": { "type": "bool", "id": 25 }, "remark": { "type": "string", "id": 26 }, "successamount": { "type": "string", "id": 27 }, "tradearea": { "type": "int32", "id": 28 }, "fee": { "type": "string", "id": 29 }, "trailingdelta": { "type": "string", "id": 30 }, "activationprice": { "type": "string", "id": 31 }, "activationtime": { "type": "int64", "id": 32 }, "triggersign": { "type": "int32", "id": 33 }, "orderid": { "type": "string", "id": 34 } } }, "UserAssetBalance": { "fields": { "usdtassets": { "type": "string", "id": 1 }, "usdtavailableassets": { "type": "string", "id": 2 }, "totalassets": { "type": "string", "id": 3 }, "btcassets": { "type": "string", "id": 4 }, "userwalletlist": { "rule": "repeated", "type": "UserWallet", "id": 5 } } }, "UserWallet": { "fields": { "listList": { "rule": "repeated", "type": "UserWalletPairInfo", "id": 1 } } }, "UserWalletPairInfo": { "fields": { "coinid": { "type": "int32", "id": 1 }, "totalAmount": { "type": "string", "id": 2 }, "total": { "type": "string", "id": 3 }, "frozen": { "type": "string", "id": 4 }, "borrow": { "type": "string", "id": 5 }, "coinname": { "type": "string", "id": 6 }, "shortName": { "type": "string", "id": 7 }, "withdraw": { "type": "bool", "id": 8 }, "recharge": { "type": "bool", "id": 9 }, "usdtprice": { "type": "string", "id": 10 }, "price": { "type": "string", "id": 11 }, "sortid": { "type": "int32", "id": 12 } } }, "MarketTickerList": { "fields": {} }, "MarketMonit": { "fields": { "id": { "type": "int64", "id": 1 }, "indexkey": { "type": "string", "id": 2 }, "scope": { "type": "int32", "id": 3 }, "tradeid": { "type": "int32", "id": 4 }, "tradecode": { "type": "string", "id": 5 }, "indexbase": { "type": "string", "id": 6 }, "quote": { "type": "string", "id": 7 }, "lever": { "type": "string", "id": 8 }, "chg": { "type": "string", "id": 9 }, "last": { "type": "string", "id": 10 }, "cny": { "type": "string", "id": 11 }, "createtime": { "type": "string", "id": 12 }, "biztype": { "type": "string", "id": 13 }, "contracttype": { "type": "string", "id": 14 }, "liquidationdate": { "type": "int64", "id": 15 }, "movetime": { "type": "int64", "id": 16 } } }, "MarginCrossAssetVO": { "fields": {} }, "MarginIsolatedAssetVO": { "fields": {} }, "NewListingPair": { "fields": {} }, "Chgdistributions": { "fields": { "upnum": { "type": "int64", "id": 1 }, "flatnum": { "type": "int64", "id": 2 }, "downnum": { "type": "int64", "id": 3 }, "list": { "rule": "repeated", "type": "DistributionPb", "id": 4 } } }, "DistributionPb": { "fields": { "name": { "type": "string", "id": 1 }, "chgType": { "type": "int32", "id": 2 }, "num": { "type": "int64", "id": 3 } } }, "MarketZones": { "fields": {} }, "KlineOrders": { "fields": {} }, "NotificationPush": { "fields": { "userid": { "type": "int32", "id": 1 }, "title": { "type": "string", "id": 2 }, "body": { "type": "string", "id": 3 }, "badge": { "type": "int32", "id": 4 }, "group": { "type": "string", "id": 5 }, "extrasMap": { "keyType": "string", "type": "string", "id": 6 } } }, "TradeHotListing": { "fields": {} }, "CtcGoingOrderNum": { "fields": { "ordernum": { "type": "int32", "id": 1 } } }, "MultiChange": { "fields": {} }, "Heatmap": { "fields": {} }, "DownPair": { "fields": {} }, "HeatVol": { "fields": {} }, "CurrencyRate": { "fields": {} } } } } } } } } }