pub const MAX_ORACLE_CONFIDENCE: u16 = 5_00;
Expand description

The maximum confidence deviation allowed for an oracle price.

The confidence is measured as the percent of the confidence interval value provided by the oracle as compared to the weighted average value of the price.