added trading fees model
This commit is contained in:
parent
7ba90a72c0
commit
6c409ac9fd
@ -563,3 +563,15 @@ pub struct Trade {
|
|||||||
pub fee: OrderFee,
|
pub fee: OrderFee,
|
||||||
pub fee_currency: Symbol,
|
pub fee_currency: Symbol,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
|
pub enum TradingFees {
|
||||||
|
Maker {
|
||||||
|
platform: TradingPlatform,
|
||||||
|
percentage: f64,
|
||||||
|
},
|
||||||
|
Taker {
|
||||||
|
platform: TradingPlatform,
|
||||||
|
percentage: f64,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user