pub const MAX_FEE_BPS: u32 = 5000;
A trading function’s fee (spread) must be at most 50% (5000 bps)