Skip to content

Commit

Permalink
Merge pull request #49 from longportapp/fix-cpp-order-remark
Browse files Browse the repository at this point in the history
fix: add missing field remark
  • Loading branch information
sunli829 committed Jul 26, 2024
2 parents d6e4807 + 046ad48 commit 89a7e81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/trade_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ TradeContext::submit_order(
nullptr,
nullptr,
nullptr,
nullptr,
opts.remark ? opts.remark->c_str() : nullptr,
};
lb_date_t expire_date;
lb_outside_rth_t outside_rth;
Expand Down Expand Up @@ -790,4 +790,4 @@ TradeContext::estimate_max_purchase_quantity(
}

} // namespace trade
} // namespace longport
} // namespace longport

0 comments on commit 89a7e81

Please sign in to comment.