pub struct FeeRateLevel {
pub level: String,
pub taker_fee_rate: String,
pub maker_fee_rate: String,
pub maker_rebate: String,
}Expand description
Represents a fee rate structure for a specific level (Pro or Market Maker).
This struct contains the fee rates for a specific level within either the Pro or Market Maker category. Each level has different taker fee rate, maker fee rate, and maker rebate values.
Fields§
§level: StringThe level name (e.g., “Pro 1”, “Pro 2”, …, “Pro 6” or “MM 1”, “MM 2”, “MM 3”).
Identifies the specific fee tier within the category.
taker_fee_rate: StringThe taker fee rate as a string (e.g., “0.00028”).
The fee rate charged for taker orders (orders that remove liquidity). For Market Maker levels, this field may be empty.
maker_fee_rate: StringThe maker fee rate as a string (e.g., “0.0001”).
The fee rate charged for maker orders (orders that add liquidity). For Market Maker levels, this field may be empty.
maker_rebate: StringThe maker rebate fee rate as a string (e.g., “-0.0000075”).
The rebate rate for maker orders. Negative values indicate rebates (payments to the trader). For Pro levels, this field may be empty.
Trait Implementations§
Source§impl Clone for FeeRateLevel
impl Clone for FeeRateLevel
Source§fn clone(&self) -> FeeRateLevel
fn clone(&self) -> FeeRateLevel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more