exchanges: Update ModifyOrder comments for clarity (#2044)

Co-authored-by: shazbert <ryan.oharareid@thrasher.io>
This commit is contained in:
Ryan O'Hara-Reid
2025-09-30 11:23:10 +10:00
committed by GitHub
parent b12a274c2c
commit 0b60693ff5
27 changed files with 43 additions and 62 deletions

View File

@@ -653,8 +653,7 @@ func (e *Exchange) SubmitOrder(ctx context.Context, s *order.Submit) (*order.Sub
return s.DeriveSubmitResponse(response.OrderID)
}
// ModifyOrder will allow of changing orderbook placement and limit to
// market conversion
// 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