API Reference
1. Info
- Title: gRPC API
- Version: 1.0.0
- Description: This documentation is generated from protobuf files using protoc-gen-doc.
2. Paths
Statistical
Time
- Summary: Time
- Method:
Time - Endpoint:
statistical.Statistical/Time - Request:
- Content-Type:
application/grpc - Schema: Empty
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: TimeResponse
- Content-Type:
GetFinancialStatementsList
- Summary: GetFinancialStatementsList
- Method:
GetFinancialStatementsList - Endpoint:
statistical.Statistical/GetFinancialStatementsList - Request:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsListRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsListResponse
- Content-Type:
GetFinancialStatementsInfo
- Summary: GetFinancialStatementsInfo
- Method:
GetFinancialStatementsInfo - Endpoint:
statistical.Statistical/GetFinancialStatementsInfo - Request:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsInfoResponse
- Content-Type:
GetEventus
- Summary: GetEventus
- Method:
GetEventus - Endpoint:
statistical.Statistical/GetEventus - Request:
- Content-Type:
application/grpc - Schema: GetEventusRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetEventusResponse
- Content-Type:
GetUploadEventusRecords
- Summary: GetUploadEventusRecords
- Method:
GetUploadEventusRecords - Endpoint:
statistical.Statistical/GetUploadEventusRecords - Request:
- Content-Type:
application/grpc - Schema: GetUploadEventusRecordsRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUploadEventusRecordsResponse
- Content-Type:
GetUploadEventusInfo
- Summary: GetUploadEventusInfo
- Method:
GetUploadEventusInfo - Endpoint:
statistical.Statistical/GetUploadEventusInfo - Request:
- Content-Type:
application/grpc - Schema: GetUploadEventusInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUploadEventusInfoResponse
- Content-Type:
GetUserRecentTrades
- Summary: GetUserRecentTrades
- Method:
GetUserRecentTrades - Endpoint:
statistical.Statistical/GetUserRecentTrades - Request:
- Content-Type:
application/grpc - Schema: GetUserRecentTradesRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUserRecentTradesResponse
- Content-Type:
GetDailyAverage
- Summary: GetDailyAverage
- Method:
GetDailyAverage - Endpoint:
statistical.Statistical/GetDailyAverage - Request:
- Content-Type:
application/grpc - Schema: GetDailyAverageRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetDailyAverageResponse
- Content-Type:
GetUserCritical
- Summary: GetUserCritical
- Method:
GetUserCritical - Endpoint:
statistical.Statistical/GetUserCritical - Request:
- Content-Type:
application/grpc - Schema: GetUserCriticalRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUserCriticalResponse
- Content-Type:
GetUserPositionLimit
- Summary: 持仓限制检测
- Method:
GetUserPositionLimit - Endpoint:
statistical.Statistical/GetUserPositionLimit - Request:
- Content-Type:
application/grpc - Schema: GetUserPositionLimitRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUserPositionLimitResponse
- Content-Type:
GetUserPositionSnapshot
- Summary: 用户持仓快照
- Method:
GetUserPositionSnapshot - Endpoint:
statistical.Statistical/GetUserPositionSnapshot - Request:
- Content-Type:
application/grpc - Schema: GetUserPositionSnapshotRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUserPositionSnapshotResponse
- Content-Type:
GetSolidusUploadRecords
- Summary: 查询solidus上传记录
- Method:
GetSolidusUploadRecords - Endpoint:
statistical.Statistical/GetSolidusUploadRecords - Request:
- Content-Type:
application/grpc - Schema: GetSolidusUploadRecordsRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetSolidusUploadRecordsResponse
- Content-Type:
GetSolidusUploadInfo
- Summary: 查询solidus上传记录详情
- Method:
GetSolidusUploadInfo - Endpoint:
statistical.Statistical/GetSolidusUploadInfo - Request:
- Content-Type:
application/grpc - Schema: GetSolidusUploadInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetSolidusUploadInfoResponse
- Content-Type:
GetBatchSolidusUploadInfo
- Summary: 批量查询solidus上传记录
- Method:
GetBatchSolidusUploadInfo - Endpoint:
statistical.Statistical/GetBatchSolidusUploadInfo - Request:
- Content-Type:
application/grpc - Schema: GetBatchSolidusUploadInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetBatchSolidusUploadInfoResponse
- Content-Type:
DownloadStatementPre
- Summary: 下载预请求
- Method:
DownloadStatementPre - Endpoint:
statistical.Statistical/DownloadStatementPre - Request:
- Content-Type:
application/grpc - Schema: DownloadStatementPreRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: DownloadStatementPreResponse
- Content-Type:
DownloadStatement
- Summary: 下载
- Method:
DownloadStatement - Endpoint:
statistical.Statistical/DownloadStatement - Request:
- Content-Type:
application/grpc - Schema: DownloadStatementRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: DownloadStatementResponse
- Content-Type:
AddMarketMaker
- Summary: 添加做市商
- Method:
AddMarketMaker - Endpoint:
statistical.Statistical/AddMarketMaker - Request:
- Content-Type:
application/grpc - Schema: AddMarketMakerRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: AddMarketMakerResponse
- Content-Type:
GetMarketMaker
- Summary: 获取做市商
- Method:
GetMarketMaker - Endpoint:
statistical.Statistical/GetMarketMaker - Request:
- Content-Type:
application/grpc - Schema: GetMarketMakerRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetMarketMakerResponse
- Content-Type:
GetTradeRatio
- Summary: 获取成交占比
- Method:
GetTradeRatio - Endpoint:
statistical.Statistical/GetTradeRatio - Request:
- Content-Type:
application/grpc - Schema: GetTradeRatioRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetTradeRatioResponse
- Content-Type:
GetMarketMakerActivity
- Summary: GetMarketMakerActivity
- Method:
GetMarketMakerActivity - Endpoint:
statistical.Statistical/GetMarketMakerActivity - Request:
- Content-Type:
application/grpc - Schema: GetMarketMakerActivityRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetMarketMakerActivityResponse
- Content-Type:
GetMarketMakerActivityDetail
- Summary: GetMarketMakerActivityDetail
- Method:
GetMarketMakerActivityDetail - Endpoint:
statistical.Statistical/GetMarketMakerActivityDetail - Request:
- Content-Type:
application/grpc - Schema: GetMarketMakerActivityDetailRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetMarketMakerActivityDetailResponse
- Content-Type:
GetMarketMakerList
- Summary: 获取做市商列表
- Method:
GetMarketMakerList - Endpoint:
statistical.Statistical/GetMarketMakerList - Request:
- Content-Type:
application/grpc - Schema: GetMarketMakerListRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetMarketMakerListResponse
- Content-Type:
GetUserTradeVolume
- Summary: 获取用户近30天的成交量,默认30天,最大返回1000条数据,更多数据需要分页查询
- Method:
GetUserTradeVolume - Endpoint:
statistical.Statistical/GetUserTradeVolume - Request:
- Content-Type:
application/grpc - Schema: GetUserTradeVolumeRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetUserTradeVolumeResponse
- Content-Type:
GetAccountFinancialReport
- Summary: 获取账户财务报表
- Method:
GetAccountFinancialReport - Endpoint:
statistical.Statistical/GetAccountFinancialReport - Request:
- Content-Type:
application/grpc - Schema: GetAccountFinancialReportRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetAccountFinancialReportResponse
- Content-Type:
GetWalletFinancialReport
- Summary: 获取钱包财务报表
- Method:
GetWalletFinancialReport - Endpoint:
statistical.Statistical/GetWalletFinancialReport - Request:
- Content-Type:
application/grpc - Schema: GetWalletFinancialReportRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetWalletFinancialReportResponse
- Content-Type:
FinancialReportCorrection
- Summary: 财报修正
- Method:
FinancialReportCorrection - Endpoint:
statistical.Statistical/FinancialReportCorrection - Request:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionResponse
- Content-Type:
FinancialReportCorrectionList
- Summary: 财报修正列表
- Method:
FinancialReportCorrectionList - Endpoint:
statistical.Statistical/FinancialReportCorrectionList - Request:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionListRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionListResponse
- Content-Type:
FinancialReportCorrectionHistory
- Summary: 财报审核历史
- Method:
FinancialReportCorrectionHistory - Endpoint:
statistical.Statistical/FinancialReportCorrectionHistory - Request:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionHistoryRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionHistoryResponse
- Content-Type:
FinancialReportCorrectionAudit
- Summary: 财报审核
- Method:
FinancialReportCorrectionAudit - Endpoint:
statistical.Statistical/FinancialReportCorrectionAudit - Request:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionAuditRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionAuditResponse
- Content-Type:
GetFinancialStatementsNewList
- Summary: GetFinancialStatementsNewList
- Method:
GetFinancialStatementsNewList - Endpoint:
statistical.Statistical/GetFinancialStatementsNewList - Request:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsListRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsListResponse
- Content-Type:
GetFinancialStatementsNewInfo
- Summary: GetFinancialStatementsNewInfo
- Method:
GetFinancialStatementsNewInfo - Endpoint:
statistical.Statistical/GetFinancialStatementsNewInfo - Request:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: GetFinancialStatementsInfoResponse
- Content-Type:
FinancialReportCorrectionInfo
- Summary: FinancialReportCorrectionInfo
- Method:
FinancialReportCorrectionInfo - Endpoint:
statistical.Statistical/FinancialReportCorrectionInfo - Request:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionInfoRequest
- Content-Type:
- Response:
- Content-Type:
application/grpc - Schema: FinancialReportCorrectionInfoResponse
- Content-Type:
3. Components
3.1 Schemas
AddMarketMakerRequest
| Field | Type | Description |
|---|---|---|
| symbol | string | none |
| emails | string | none |
AddMarketMakerResponse
| Field | Type | Description |
|---|
DailyAverage
| Field | Type | Description |
|---|---|---|
| statisticsTime | string | 统计日期 |
| transactionType | string | 交易类型 |
| symbol | string | 交易币种 |
| orderCount | int64 | 订单笔数 |
| tradeCount | int64 | 成交笔数 |
| tradeVolume | string | 日成交额 |
| tradeVolumeCoin | string | 日成交额单位 |
| tradeAmount | string | 日成交量 |
| tradeAmountCoin | string | 日成交量单位 |
| avgTradeValue | string | 平均交易价值 |
| avgPriceCoin | string | 平均交易价值单位 |
| userType | string | Individual PI/Corporate PI/Institutional PI |
| id | int64 | none |
DownloadStatementPreRequest
| Field | Type | Description |
|---|---|---|
| reportDate | string | 报告时间,格式: DAILY: 2024-11-01 MONTHLY: 2024-11 |
| reportType | string | 文件类型,可选值:DAILY / MONTHLY |
| userId | string | none |
DownloadStatementPreResponse
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
| canDownload | string | 是否可下载:YES/NO |
DownloadStatementRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
| userId | string | none |
| source | string | none |
DownloadStatementResponse
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| report | string | none |
| userId | string | none |
| reportType | string | none |
Eventus
| Field | Type | Description |
|---|---|---|
| eventId | int32 | The number identifying the event uniquely in the source file |
| eventDate | string | The date of the event (in local date) |
| eventTime | string | The time of the event (accurate to seconds, in local time) |
| eventMillis | int32 | The number of milliseconds since the time in column 3 |
| orderId | string | The unique order identifier for the event |
| executionOptions | string | The restrictions for matching the order event |
| eventType | string | The action representing the event |
| symbol | string | The identifier for the order book traded on the platform |
| orderType | string | The order matching rules for the order |
| side | string | The representation of the side of the order for buying or selling |
| limitPrice | string | The representation of the price a limit order can be matched at |
| originalQuantity | string | The quantity representing the initially input quantity for the order |
| grossNotionalValue | string | The value of the order event (only applicable for matched order messages) |
| fillPrice | string | The price the order fills at for the event |
| fillQuantity | string | The quantity of the order filled by the event |
| totalExecQuantity | string | The quantity of the order matched in the lifecycle of the order |
| remainingQuantity | string | The quantity remaining on the order following the event |
| avgPrice | string | The average price of the order due to one or more matches |
| fees | string | The fees associated with the transaction |
| auctionId | string | The identifier of the account used to place the order |
| accountId | string | none |
FinancialReportCorrection
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
| reportDate | string | none |
| asset | string | none |
| reportStatus | string | none |
| reportType | string | none |
| createTime | int64 | none |
| updateTime | int64 | none |
| reportId | int64 | none |
| lastAuditor | string | none |
| lastAuditRole | string | none |
| needAuditRole | string | none |
| remark | string | none |
FinancialReportCorrectionAuditRequest
| Field | Type | Description |
|---|---|---|
| orderId | int64 | 订单Id |
| auditor | string | 审核人 |
| role | string | 角色 |
| operation | string | 操作 SUBMIT 提交 APPROVE 通过 CANCEL 拒绝 |
| remark | string | none |
FinancialReportCorrectionAuditResponse
| Field | Type | Description |
|---|
FinancialReportCorrectionHistory
| Field | Type | Description |
|---|---|---|
| orderId | int64 | 订单Id |
| auditor | string | 审核人 |
| role | string | 角色 |
| operation | string | 状态 |
| remark | string | 备注 |
| createdAt | int64 | 创建时间 |
| updatedAt | int64 | 更新时间 |
| id | int64 | none |
FinancialReportCorrectionHistoryRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
FinancialReportCorrectionHistoryResponse
| Field | Type | Description |
|---|---|---|
| list | FinancialReportCorrectionHistory | none |
| totals | int64 | none |
FinancialReportCorrectionInfoRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
FinancialReportCorrectionInfoResponse
| Field | Type | Description |
|---|---|---|
| info | FinancialReportCorrection | none |
FinancialReportCorrectionListRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
| asset | string | none |
| status | string | 未申报:UNDECLARED 审核中:PENDING 已通过:APPROVED |
| statementsType | string | FEE-手续费,ASSET-资产 |
FinancialReportCorrectionListResponse
| Field | Type | Description |
|---|---|---|
| list | FinancialReportCorrection | none |
| totals | int64 | none |
FinancialReportCorrectionRequest
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| asset | string | none |
| remark | string | none |
| userSummaries | GetAccountFinancialReportResponse.UserSummary | none |
| systemSummaries | GetAccountFinancialReportResponse.SystemSummary | none |
| walletBalance | GetWalletFinancialReportResponse.WalletBalance | none |
| role | string | none |
| auditor | string | none |
FinancialReportCorrectionResponse
| Field | Type | Description |
|---|
FinancialStatements
| Field | Type | Description |
|---|---|---|
| createTime | int64 | none |
| statementsType | string | FEE-手续费,ASSET-资产 |
| asset | string | 币种 |
| report | string | 报告 |
| reportDate | string | 报告时间 |
| reportId | int64 | none |
GetAccountFinancialReportRequest
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| asset | string | none |
GetAccountFinancialReportResponse
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| asset | string | none |
| userSummaries | GetAccountFinancialReportResponse.UserSummary | none |
| systemSummaries | GetAccountFinancialReportResponse.SystemSummary | none |
| newUserSummaries | GetAccountFinancialReportResponse.UserSummary | none |
| newSystemSummaries | GetAccountFinancialReportResponse.SystemSummary | none |
FundingTransactions
| Field | Type | Description |
|---|---|---|
| fundingTodayAmount | string | none |
| fundingBuySellSpend | string | none |
| fundingBuySellGet | string | none |
| fundingDeposit | string | none |
| fundingWithdrawal | string | none |
| fundingWithdrawalFee | string | none |
| fundingTransactionFee | string | none |
| fundingCurrencyGet | string | none |
| fundingCurrencyCost | string | none |
| fundingTransferInFromSpot | string | none |
| fundingTransferOutToSpot | string | none |
| fundingTransferInFromOTC | string | none |
| fundingTransferOutToOTC | string | none |
| fundingTransferInFromFund | string | none |
| fundingTransferOutToFund | string | none |
| fundingSettlement | string | none |
| fundingRefundFee | string | none |
| fundingOffsettingGasFees | string | none |
| fundingYesterdayAmount | string | none |
OTCTransactions
| Field | Type | Description |
|---|---|---|
| otcTodayAmount | string | none |
| otcBuySellSpend | string | none |
| otcBuySellGet | string | none |
| otcDeposit | string | none |
| otcWithdrawal | string | none |
| otcWithdrawalFee | string | none |
| otcTransactionFee | string | none |
| otcCurrencyGet | string | none |
| otcCurrencyCost | string | none |
| otcTransferInFromSpot | string | none |
| otcTransferOutToSpot | string | none |
| otcTransferInFromOTC | string | none |
| otcTransferOutToOTC | string | none |
| otcTransferInFromFund | string | none |
| otcTransferOutToFund | string | none |
| otcSettlement | string | none |
| otcRefundFee | string | none |
| otcOffsettingGasFees | string | none |
| otcYesterdayAmount | string | none |
SpotTransactions
| Field | Type | Description |
|---|---|---|
| spotTodayAmount | string | none |
| spotBuySellSpend | string | none |
| spotBuySellGet | string | none |
| spotDeposit | string | none |
| spotWithdrawal | string | none |
| spotWithdrawalFee | string | none |
| spotTransactionFee | string | none |
| spotCurrencyGet | string | none |
| spotCurrencyCost | string | none |
| spotTransferInFromSpot | string | none |
| spotTransferOutToSpot | string | none |
| spotTransferInFromOTC | string | none |
| spotTransferOutToOTC | string | none |
| spotTransferInFromFund | string | none |
| spotTransferOutToFund | string | none |
| spotSettlement | string | none |
| spotRefundFee | string | none |
| spotOffsettingGasFees | string | none |
| spotYesterdayAmount | string | none |
SystemSummary
| Field | Type | Description |
|---|---|---|
| accountDailySummaryID | int64 | none |
| totalTransactions | GetAccountFinancialReportResponse.TotalTransactions | none |
| spotTransactions | GetAccountFinancialReportResponse.SpotTransactions | none |
| otcTransactions | GetAccountFinancialReportResponse.OTCTransactions | none |
| fundingTransactions | GetAccountFinancialReportResponse.FundingTransactions | none |
TotalTransactions
| Field | Type | Description |
|---|---|---|
| totalTodayAmount | string | none |
| totalBuySellSpend | string | none |
| totalBuySellGet | string | none |
| totalDeposit | string | none |
| totalWithdrawal | string | none |
| totalWithdrawalFee | string | none |
| totalTransactionFee | string | none |
| totalCurrencyGet | string | none |
| totalCurrencyCost | string | none |
| totalTransferInFromSpot | string | none |
| totalTransferOutToSpot | string | none |
| totalTransferInFromOTC | string | none |
| totalTransferOutToOTC | string | none |
| totalTransferInFromFund | string | none |
| totalTransferOutToFund | string | none |
| totalSettlement | string | none |
| totalRefundFee | string | none |
| totalOffsettingGasFees | string | none |
| totalYesterdayAmount | string | none |
UserSummary
| Field | Type | Description |
|---|---|---|
| accountDailySummaryID | int64 | none |
| totalTransactions | GetAccountFinancialReportResponse.TotalTransactions | none |
| spotTransactions | GetAccountFinancialReportResponse.SpotTransactions | none |
| otcTransactions | GetAccountFinancialReportResponse.OTCTransactions | none |
| fundingTransactions | GetAccountFinancialReportResponse.FundingTransactions | none |
GetBatchSolidusUploadInfoRequest
| Field | Type | Description |
|---|---|---|
| ids | int64 | none |
GetBatchSolidusUploadInfoResponse
| Field | Type | Description |
|---|---|---|
| list | SolidusUploadRecords | none |
GetDailyAverageRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
| transactionType | string | SPOT/OTC |
| symbol | string | none |
| userType | string | Individual PI/Corporate PI/Institutional PI |
GetDailyAverageResponse
| Field | Type | Description |
|---|---|---|
| list | DailyAverage | none |
| totals | int64 | none |
GetEventusRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
| symbol | string | none |
| searchVal | string | none |
GetEventusResponse
| Field | Type | Description |
|---|---|---|
| list | Eventus | none |
| totals | int64 | none |
GetFinancialStatementsInfoRequest
| Field | Type | Description |
|---|---|---|
| reportId | int64 | none |
GetFinancialStatementsInfoResponse
| Field | Type | Description |
|---|---|---|
| info | FinancialStatements | none |
GetFinancialStatementsListRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
| asset | string | none |
| statementsType | string | none |
GetFinancialStatementsListResponse
| Field | Type | Description |
|---|---|---|
| list | FinancialStatements | none |
| totals | int64 | none |
GetMarketMakerActivityDetailRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
GetMarketMakerActivityDetailResponse
| Field | Type | Description |
|---|---|---|
| info | MarketMakerActivity | none |
GetMarketMakerActivityRequest
| Field | Type | Description |
|---|---|---|
| startTime | int64 | 开始时间 |
| endTime | int64 | 结束时间 |
| symbol | string | 交易对 |
| marketMaker | string | 做市商 |
| pageNum | int32 | 页码 |
| pageSize | int32 | 每页数量 |
| reportType | string | 报告类型 |
GetMarketMakerActivityResponse
| Field | Type | Description |
|---|---|---|
| list | MarketMakerActivity | none |
| totals | int64 | none |
GetMarketMakerListRequest
| Field | Type | Description |
|---|
GetMarketMakerListResponse
| Field | Type | Description |
|---|---|---|
| emails | string | none |
GetMarketMakerRequest
| Field | Type | Description |
|---|---|---|
| symbol | string | none |
GetMarketMakerResponse
| Field | Type | Description |
|---|---|---|
| emails | string | none |
GetSolidusUploadInfoRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
GetSolidusUploadInfoResponse
| Field | Type | Description |
|---|---|---|
| info | SolidusUploadRecords | none |
GetSolidusUploadRecordsRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | 毫秒时间戳 |
| endTime | int64 | 毫秒时间戳 |
GetSolidusUploadRecordsResponse
| Field | Type | Description |
|---|---|---|
| list | SolidusUploadRecords | none |
| totals | int64 | none |
GetTradeRatioRequest
| Field | Type | Description |
|---|---|---|
| startTime | int64 | 开始时间 |
| endTime | int64 | 结束时间 |
| symbol | string | 交易对 |
| marketMaker | string | 做市商 |
| pageNum | int32 | 页码 |
| pageSize | int32 | 每页数量 |
GetTradeRatioResponse
| Field | Type | Description |
|---|---|---|
| list | TradeProportion | none |
| totals | int64 | none |
GetUploadEventusInfoRequest
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
GetUploadEventusInfoResponse
| Field | Type | Description |
|---|---|---|
| info | UploadEventusRecords | none |
GetUploadEventusRecordsRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
GetUploadEventusRecordsResponse
| Field | Type | Description |
|---|---|---|
| list | UploadEventusRecords | none |
| totals | int64 | none |
GetUserCriticalRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| statisticsTime | int64 | none |
| transactionType | string | none |
| symbol | string | none |
GetUserCriticalResponse
| Field | Type | Description |
|---|---|---|
| list | UserCritical | none |
| totals | int64 | none |
GetUserPositionLimitRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| startTime | int64 | none |
| endTime | int64 | none |
GetUserPositionLimitResponse
| Field | Type | Description |
|---|---|---|
| list | UserPositionLimit | none |
| totals | int64 | none |
GetUserPositionSnapshotRequest
| Field | Type | Description |
|---|---|---|
| pageNum | int32 | none |
| pageSize | int32 | none |
| reportId | int64 | none |
| searchVal | string | none |
GetUserPositionSnapshotResponse
| Field | Type | Description |
|---|---|---|
| list | UserPositionSnapshot | none |
| totals | int64 | none |
GetUserRecentTradesRequest
| Field | Type | Description |
|---|---|---|
| userIds | string | none |
GetUserRecentTradesResponse
| Field | Type | Description |
|---|---|---|
| list | GetUserRecentTradesResponse.UserTradeRecords | none |
UserTradeRecords
| Field | Type | Description |
|---|---|---|
| userId | string | none |
| lastTradeTime | int64 | none |
| lastDepositAndWithdrawTime | int64 | none |
| lastTransferTime | int64 | none |
| lastDepositTime | int64 | none |
| lastWithdrawTime | int64 | none |
| registrationTime | int64 | 用户注册时间 |
GetUserTradeVolumeRequest
| Field | Type | Description |
|---|---|---|
| afterId | int64 | none |
| startTime | int64 | none |
| endTime | int64 | none |
GetUserTradeVolumeResponse
| Field | Type | Description |
|---|---|---|
| list | GetUserTradeVolumeResponse.UserTradeVolume | none |
UserTradeVolume
| Field | Type | Description |
|---|---|---|
| userId | string | none |
| spotTradeVolume | string | none |
| otcTradeVolume | string | none |
| id | int64 | none |
GetWalletFinancialReportRequest
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| asset | string | none |
GetWalletFinancialReportResponse
| Field | Type | Description |
|---|---|---|
| reportDate | string | none |
| asset | string | none |
| walletBalance | GetWalletFinancialReportResponse.WalletBalance | none |
| newWalletBalance | GetWalletFinancialReportResponse.WalletBalance | none |
WalletBalance
| Field | Type | Description |
|---|---|---|
| accountDailySummaryID | int64 | none |
| userBalance | GetWalletFinancialReportResponse.WalletBalance.UserBalance | none |
| gasBalance | GetWalletFinancialReportResponse.WalletBalance.GasBalance | none |
| totalBalance | GetWalletFinancialReportResponse.WalletBalance.TotalBalance | none |
| gasWallet | GetWalletFinancialReportResponse.WalletBalance.GasWallet | none |
| todayAmount | string | none |
| yesterdayAmount | string | none |
GasBalance
| Field | Type | Description |
|---|---|---|
| gasBalanceTodayAmount | string | none |
| gasBalanceDeposit | string | none |
| gasBalanceNotCredited | string | none |
| gasBalanceOTCSettlementDeposit | string | none |
| gasBalanceOtherIncome | string | none |
| gasBalanceGasDeposit | string | none |
| gasBalanceGasTransfer | string | none |
| gasBalanceGasTransferFee | string | none |
| gasBalanceCollectionGasFee | string | none |
| gasBalanceQuarantineGasFee | string | none |
| gasBalanceApproveGasFee | string | none |
| gasBalanceCleanGas | string | none |
| gasBalanceCleanGasFee | string | none |
| gasBalanceInnerGasFee | string | none |
| gasBalanceWithdrawal | string | none |
| gasBalanceOTCSettlementWithdrawal | string | none |
| gasBalanceSystemWithdrawal | string | none |
| gasBalanceRefund | string | none |
| gasBalanceOffsettingGasFees | string | none |
| gasBalanceYesterdayAmount | string | none |
GasWallet
| Field | Type | Description |
|---|---|---|
| gasWalletTodayAmount | string | none |
| gasWalletDeposit | string | none |
| gasWalletNotCredited | string | none |
| gasWalletOTCSettlementDeposit | string | none |
| gasWalletOtherIncome | string | none |
| gasWalletGasDeposit | string | none |
| gasWalletGasTransfer | string | none |
| gasWalletGasTransferFee | string | none |
| gasWalletCollectionGasFee | string | none |
| gasWalletQuarantineGasFee | string | none |
| gasWalletApproveGasFee | string | none |
| gasWalletCleanGas | string | none |
| gasWalletCleanGasFee | string | none |
| gasWalletInnerGasFee | string | none |
| gasWalletWithdrawal | string | none |
| gasWalletOTCSettlementWithdrawal | string | none |
| gasWalletSystemWithdrawal | string | none |
| gasWalletRefund | string | none |
| gasWalletOffsettingGasFees | string | none |
| gasWalletYesterdayAmount | string | none |
TotalBalance
| Field | Type | Description |
|---|---|---|
| totalBalanceTodayAmount | string | none |
| totalBalanceDeposit | string | none |
| totalBalanceNotCredited | string | none |
| totalBalanceOTCSettlementDeposit | string | none |
| totalBalanceOtherIncome | string | none |
| totalBalanceGasDeposit | string | none |
| totalBalanceGasTransfer | string | none |
| totalBalanceGasTransferFee | string | none |
| totalBalanceCollectionGasFee | string | none |
| totalBalanceQuarantineGasFee | string | none |
| totalBalanceApproveGasFee | string | none |
| totalBalanceCleanGas | string | none |
| totalBalanceCleanGasFee | string | none |
| totalBalanceInnerGasFee | string | none |
| totalBalanceWithdrawal | string | none |
| totalBalanceOTCSettlementWithdrawal | string | none |
| totalBalanceSystemWithdrawal | string | none |
| totalBalanceRefund | string | none |
| totalBalanceOffsettingGasFees | string | none |
| totalBalanceYesterdayAmount | string | none |
UserBalance
| Field | Type | Description |
|---|---|---|
| userBalanceTodayAmount | string | none |
| userBalanceDeposit | string | none |
| userBalanceNotCredited | string | none |
| userBalanceOTCSettlementDeposit | string | none |
| userBalanceOtherIncome | string | none |
| userBalanceGasDeposit | string | none |
| userBalanceGasTransfer | string | none |
| userBalanceGasTransferFee | string | none |
| userBalanceCollectionGasFee | string | none |
| userBalanceQuarantineGasFee | string | none |
| userBalanceApproveGasFee | string | none |
| userBalanceCleanGas | string | none |
| userBalanceCleanGasFee | string | none |
| userBalanceInnerGasFee | string | none |
| userBalanceWithdrawal | string | none |
| userBalanceOTCSettlementWithdrawal | string | none |
| userBalanceSystemWithdrawal | string | none |
| userBalanceRefund | string | none |
| userBalanceOffsettingGasFees | string | none |
| userBalanceYesterdayAmount | string | none |
MarketMakerActivity
| Field | Type | Description |
|---|---|---|
| statisticsTime | string | 统计时间 |
| symbol | string | 交易对 |
| marketMaker | string | 做市商 |
| reportData | string | 报告数据 |
| reportType | string | 报告类型 |
| id | int64 | none |
| createTime | int64 | 创建时间 |
| updateTime | int64 | 更新时间 |
SolidusUploadRecords
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
| reportDate | int64 | 毫秒时间戳 |
| report | string | none |
| reportType | string | 报告类型:private_order_v2-订单文件,linked_private_execution_v2-执行文件 |
TimeResponse
| Field | Type | Description |
|---|---|---|
| serverTime | int64 | 当前服务器时间 |
TradeProportion
| Field | Type | Description |
|---|---|---|
| symbol | string | 交易对 |
| totalTradeAmount | string | 总交易量 |
| marketMakerTradeAmount | string | 做市商交易量 |
| totalTradeVolume | string | 总交易额 |
| marketMakerTradeVolume | string | 做市商交易额 |
| marketMaker | string | 做市商 |
| marketMakerTradeRatio | string | 做市商成交占比 |
| baseAsset | string | BaseAsset |
| quoteAsset | string | Quote Asset |
| statisticsTime | string | 统计时间 |
| id | int64 | none |
| createTime | int64 | 创建时间 |
| updateTime | int64 | 更新时间 |
UploadEventusRecords
| Field | Type | Description |
|---|---|---|
| id | int64 | none |
| reportDate | string | none |
| report | string | none |
UserCritical
| Field | Type | Description |
|---|---|---|
| userId | string | 用户id |
| transactionType | string | 交易类型 |
| symbol | string | 交易对 |
| orderCount | int64 | 订单笔数 |
| tradeCount | int64 | 成交笔数 |
| tradeVolume | string | 日成交额 |
| tradeVolumeCoin | string | 日成交额单位 |
| tradeAmount | string | 日成交量 |
| tradeAmountCoin | string | 日成交量单位 |
| avgTradeValue | string | 平均交易价值 |
| avgPriceCoin | string | 平均交易价值单位 |
| id | int64 | none |
UserPositionLimit
| Field | Type | Description |
|---|---|---|
| reportDate | string | 报告时间 |
| reportId | int64 | 报告ID |
UserPositionSnapshot
| Field | Type | Description |
|---|---|---|
| reportDate | string | 报告时间 |
| userID | string | 用户ID |
| initialAssetEquivalent | string | 期初资产折合 |
| finalAssetEquivalent | string | 期末资产折合 |
| initialReportedNetValue | string | 期初申报净值 |
| finalReportedNetValue | string | 期末申报净值 |
| initialPositionLimit | string | 期初持仓限制 |
| finalPositionLimit | string | 期末持仓限制 |
| initialPositionQuantity | string | 期初持仓量 |
| finalPositionQuantity | string | 期末持仓量 |
| initialPositionPercentage | string | 期初持仓占用百分比 |
| finalPositionPercentage | string | 期末持仓占用百分比 |
| adjustedPositionQuantity | string | 调整后持仓量 |
| remainingQuota | string | 剩余额度 |
| rechargeCount | int64 | 充值笔数 |
| withdrawalCount | int64 | 提现笔数 |
| buyAmount | string | 买入金额 |
| sellAmount | string | 卖出金额 |
| id | int64 | none |
| initialTokenPositionQuantity | string | none |
| finalTokenPositionQuantity | string | none |
3.2 Enums
AuditOperation
| Name | Number | Description |
|---|---|---|
| SUBMIT | 0 | 提交 |
| APPROVE | 1 | 通过 |
| CANCEL | 2 | 拒绝 |
AuditRole
| Name | Number | Description |
|---|---|---|
| MAKER | 0 | Maker |
| CHECKER | 1 | Checker |
AuditStatus
| Name | Number | Description |
|---|---|---|
| UNSPECIFIED | 0 | 默认值,表示未指定 |
| UNDECLARED | 1 | 未申报 |
| PENDING | 2 | 审核中 |
| APPROVED | 3 | 已通过 |
ReportType
| Name | Number | Description |
|---|---|---|
| NONETYPE | 0 | none |
| SPREAD | 1 | none |
| ORDER_PRICE | 2 | none |
| ORDER_AMOUNT | 3 | none |
StatementsType
| Name | Number | Description |
|---|---|---|
| NONE | 0 | none |
| ASSET | 1 | none |
| FEE | 2 | none |
4. Scalar Value Types
| Proto Type | Go Type | C++ Type | Java Type | Python Type | Notes |
|---|---|---|---|---|---|
| double | float64 | double | double | float | |
| float | float32 | float | float | float | |
| int32 | int32 | int32 | int | int | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. |
| int64 | int64 | int64 | long | int/long | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. |
| uint32 | uint32 | uint32 | int | int/long | Uses variable-length encoding. |
| uint64 | uint64 | uint64 | long | int/long | Uses variable-length encoding. |
| sint32 | int32 | int32 | int | int | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. |
| sint64 | int64 | int64 | long | int/long | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. |
| fixed32 | uint32 | uint32 | int | int | Always four bytes. More efficient than uint32 if values are often greater than 2^28. |
| fixed64 | uint64 | uint64 | long | int/long | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. |
| sfixed32 | int32 | int32 | int | int | Always four bytes. |
| sfixed64 | int64 | int64 | long | int/long | Always eight bytes. |
| bool | bool | bool | boolean | boolean | |
| string | string | string | String | str/unicode | A string must always contain UTF-8 encoded or 7-bit ASCII text. |
| bytes | []byte | string | ByteString | str | May contain any arbitrary sequence of bytes. |
