mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
Merge SuccessResponse and SubscribeResponse
This commit is contained in:
parent
9fd4074d37
commit
6b10d1160f
File diff suppressed because it is too large
Load Diff
|
@ -29,10 +29,6 @@ message Subscription {
|
||||||
}
|
}
|
||||||
|
|
||||||
message SubscribeResponse {
|
message SubscribeResponse {
|
||||||
repeated SuccessResponse success_responses = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
message SuccessResponse {
|
|
||||||
string exchange = 1;
|
string exchange = 1;
|
||||||
string channel = 2; // book, trade, ticker, user
|
string channel = 2; // book, trade, ticker, user
|
||||||
string event = 3; // snapshot, update, order_snapshot, ...
|
string event = 3; // snapshot, update, order_snapshot, ...
|
||||||
|
@ -42,7 +38,9 @@ message SuccessResponse {
|
||||||
Ticker ticker = 7;
|
Ticker ticker = 7;
|
||||||
repeated Order orders = 8;
|
repeated Order orders = 8;
|
||||||
repeated Balance balances = 9;
|
repeated Balance balances = 9;
|
||||||
int64 created_at = 10;
|
int64 subscribed_at = 10;
|
||||||
|
int64 error_code = 11;
|
||||||
|
string error_message = 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
message Depth {
|
message Depth {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user