ds: add order definition

This commit is contained in:
realaltffour 2020-06-15 07:24:58 +03:00
parent 477eba8342
commit ed1770803f
No known key found for this signature in database
GPG Key ID: C1265D839D44DCB1

View File

@ -0,0 +1,11 @@
use crate::ds::account::position::PositionType;
#[derive(PartialEq, Debug)]
pub struct Order {
pub action_type: PositionType,
pub stock_symbol: String,
pub stock_price: i64,
pub stock_amount: i64,
pub stock_filled: i64,
pub is_filled: bool,
}