Skip to main content

validate_tier_sell_restriction

Function validate_tier_sell_restriction 

Source
pub fn validate_tier_sell_restriction(
    tier: &str,
    wallet: &WalletAddress,
    order_info: &OrderInfo,
    filled_long_position: Decimal,
    order_index: &EngineOrderIndex,
) -> Result<(), String>