pub const MarketIsNotClosed: u64 = 1012;
Raised when trying to call close_position_at_settlement_prices while before close_market has been called by admin
close_position_at_settlement_prices
close_market