pub const MarketIsNotPaused: u64 = 1011;
Raised when trying to call close_position_at_settlement_prices while the market is not paused
close_position_at_settlement_prices