parent
4fb67445a9
commit
c3e62e36bb
@ -0,0 +1,19 @@ |
|||||||
|
use crate::data::quotes::AssetIdentifier; |
||||||
|
|
||||||
|
|
||||||
|
enum OrderDirection { |
||||||
|
Buy, |
||||||
|
Sell |
||||||
|
} |
||||||
|
|
||||||
|
enum CancelCondition { |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
struct Order { |
||||||
|
asset: AssetIdentifier, |
||||||
|
transaction_price: f64, |
||||||
|
quantity: i32, |
||||||
|
|
||||||
|
} |
||||||
Loading…
Reference in new issue