mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
exchanges: Update ModifyOrder comments for clarity (#2044)
Co-authored-by: shazbert <ryan.oharareid@thrasher.io>
This commit is contained in:
@@ -99,7 +99,7 @@ if err != nil {
|
||||
// Handle error
|
||||
}
|
||||
|
||||
// ModifyOrder will allow of changing orderbook placement and limit to market conversion
|
||||
// ModifyOrder modifies an existing order
|
||||
updatedOrder, err := ok.ModifyOrder(...)
|
||||
if err != nil {
|
||||
// Handle error
|
||||
|
||||
@@ -364,7 +364,7 @@ func (e *Exchange) SubmitOrder(ctx context.Context, s *order.Submit) (*order.Sub
|
||||
return nil, common.ErrNotYetImplemented
|
||||
}
|
||||
|
||||
// ModifyOrder will allow changing of orderbook placements and limit to market conversions
|
||||
// ModifyOrder modifies an existing order
|
||||
func (e *Exchange) ModifyOrder(ctx context.Context, action *order.Modify) (*order.ModifyResponse, error) {
|
||||
if err := action.Validate(); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user