aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Variable PerpetualsOrderTypeConst

    PerpetualsOrderType: {
        FillOrKill: 1;
        ImmediateOrCancel: 3;
        PostOnly: 2;
        Standard: 0;
    } = ...

    Order execution and posting behavior.

    • Standard: No special constraints.
    • FillOrKill: Either fully fills immediately or cancels.
    • PostOnly: Only posts to the book; will not take liquidity.
    • ImmediateOrCancel: Fills as much as possible immediately; remainder is canceled.

    Type Declaration

    • ReadonlyFillOrKill: 1
    • ReadonlyImmediateOrCancel: 3
    • ReadonlyPostOnly: 2
    • ReadonlyStandard: 0