pub fn instrument_taker_fee(instrument: &InstrumentAny) -> Result<Decimal>Expand description
Returns the effective taker fee rate for a Polymarket instrument.
Reads info.fee_schedule.rate written from the Gamma market at parse time.
This reader also accepts legacy numeric metadata. Defaults to 0 when the
schedule is absent so markets without fees charge no taker commission.
ยงErrors
Returns an error if a present schedule has a missing, invalid, or negative rate.