added trading fees model

This commit is contained in:
Giulio De Pasquale 2021-02-12 14:56:50 +00:00
parent 7ba90a72c0
commit 6c409ac9fd

View File

@ -563,3 +563,15 @@ pub struct Trade {
pub fee: OrderFee,
pub fee_currency: Symbol,
}
#[derive(Debug)]
pub enum TradingFees {
Maker {
platform: TradingPlatform,
percentage: f64,
},
Taker {
platform: TradingPlatform,
percentage: f64,
},
}