Skip to content

Commit

Permalink
update c\src\trade_context\enum_types.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed May 15, 2024
1 parent c6e4028 commit 30a9568
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions c/csrc/include/longport.h
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,9 @@ typedef enum lb_outside_rth_t {
* Any time
*/
OutsideRTHAnyTime,
/**
* Overnight
*/
OutsideRTHOvernight,
} lb_outside_rth_t;

Expand Down
1 change: 1 addition & 0 deletions c/src/trade_context/enum_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ pub enum COutsideRTH {
/// Any time
#[c(remote = "AnyTime")]
OutsideRTHAnyTime,
/// Overnight
#[c(remote = "Overnight")]
OutsideRTHOvernight,
}
Expand Down

0 comments on commit 30a9568

Please sign in to comment.