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

@@ -117,7 +117,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

View File

@@ -1103,7 +1103,7 @@ func (e *Exchange) marginTypeToString(m margin.Type) string {
return ""
}
// 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