Skip to content

Commit e02f3f6

Browse files
authored
Fix BasicOrderInfo (#126)
Adding the right type to BasicOrderInfo ```` pub struct BasicOrderInfo { pub coin: String, pub side: String, pub limit_px: String, pub sz: String, pub oid: u64, pub timestamp: u64, pub trigger_condition: String, pub is_trigger: bool, pub trigger_px: String, pub is_position_tpsl: bool, pub reduce_only: bool, pub order_type: String, pub orig_sz: String, pub tif: Option<String>, pub cloid: Option<String>, } ````
1 parent fa57729 commit e02f3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/info/sub_structs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub struct BasicOrderInfo {
141141
pub reduce_only: bool,
142142
pub order_type: String,
143143
pub orig_sz: String,
144-
pub tif: String,
144+
pub tif: Option<String>,
145145
pub cloid: Option<String>,
146146
}
147147

0 commit comments

Comments
 (0)