stop order does not carry price

This commit is contained in:
Eric Harding committed 2020-06-09 19:18:36 -04:00
1 parent fede19fd11
commit aba3f21020
1 file changed
+2 -1
+2 -1
View File
@@ -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) {