mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
Add SubcribeUserData
This commit is contained in:
parent
36fd5d648a
commit
3aeae99587
|
@ -7,6 +7,7 @@ option go_package = "../pb";
|
|||
service BBGO {
|
||||
// should support streaming
|
||||
rpc Subcribe(SubscribeRequest) returns (stream SubscribeResponse) {}
|
||||
rpc SubcribeUserData(Empty) returns (stream SubscribeResponse) {}
|
||||
|
||||
// request-response
|
||||
rpc SubmitOrder(SubmitOrderRequest) returns (SubmitOrderResponse) {}
|
||||
|
@ -17,6 +18,8 @@ service BBGO {
|
|||
rpc QueryKLines(QueryKLinesRequest) returns (QueryKLinesResponse) {}
|
||||
}
|
||||
|
||||
message Empty {}
|
||||
|
||||
message SubscribeRequest {
|
||||
repeated Subscription subscriptions = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user