stop order does not carry price
This commit is contained in:
1 parent
fede19fd11
commit
aba3f21020
1 file changed
+2
-1
@@ -275,7 +275,8 @@ bool needs_stop_px(api::orderman::NativeOrderType order_type) {
|
||||
}
|
||||
bool need_px(api::orderman::NativeOrderType order_type) {
|
||||
return order_type != api::orderman::NativeOrderType::NATIVE_ORDER_TYPE_MARKET &&
|
||||
order_type != api::orderman::NativeOrderType::NATIVE_ORDER_TYPE_MARKET_LIMIT;
|
||||
order_type != api::orderman::NativeOrderType::NATIVE_ORDER_TYPE_MARKET_LIMIT &&
|
||||
order_type != api::orderman::NativeOrderType::NATIVE_ORDER_TYPE_STOP;
|
||||
}
|
||||
|
||||
void ILinkGW::send_order(const CreateOrderMsg& create) {
|
||||
|
||||
Reference in new issue
Block a user