You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The market order will be executed immediately, so this check is used to handle corner cases.
192
+
// 2023/11/05 The market order will be executed immediately, so this check is used to handle corner cases.
193
+
// 2024/03/06 After placing a Market Order, we can retrieve it through the unfilledOrder API, so we still need to
194
+
// handle the Market Order status.
193
195
iforderType==types.OrderTypeMarket {
194
-
qty=order.BaseVolume
195
-
log.Warnf("!!! The price(%f) and quantity(%f) are not verified for market orders, because we only receive limit orders in the test environment !!!", price.Float64(), qty.Float64())
0 commit comments