mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-01 23:16:51 +00:00
gctrpc/ordermanager/binance: Add new getManagedOrders command and various improvements (#712)
* first draft of getmanaged orders RPC call * - ClientIDs for binance, especially spot asset - applied old ClientOrderId for cancelled orders - added clientOrderId to GCTRPC * added tests for Matchfilter and GetManagedOrders * smaller fixes * comment fix added getFilteredOrders to store changed store mutex to RWMutex smaller fixes * fixed bug in Detail Copy and added test * fixes for Scotts review * processSubmittedOrder was missing clientOrderId * changed: TestGetOrdersFiltered expanded fixed: warning, where variable name collided with package name fixed: used req.AssetType in binance_wrapper.go Co-authored-by: Mark Dzulko <81071907+Mark-numus@users.noreply.github.com>
This commit is contained in:
@@ -1454,4 +1454,10 @@ service GoCryptoTrader {
|
||||
get: "/v1/getdatahistoryjobsummary"
|
||||
};
|
||||
}
|
||||
rpc GetManagedOrders (GetOrdersRequest) returns (GetOrdersResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/v1/getmanagedorders"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user