Add smart target-portfolio order intent
This commit is contained in:
@@ -364,6 +364,12 @@ pub enum OrderIntent {
|
||||
limit_price: f64,
|
||||
reason: String,
|
||||
},
|
||||
TargetPortfolioSmart {
|
||||
target_weights: BTreeMap<String, f64>,
|
||||
order_prices: Option<BTreeMap<String, f64>>,
|
||||
valuation_prices: Option<BTreeMap<String, f64>>,
|
||||
reason: String,
|
||||
},
|
||||
CancelOrder {
|
||||
order_id: u64,
|
||||
reason: String,
|
||||
|
||||
Reference in New Issue
Block a user