Motif API
    Preparing search index...
    interface OrderTimeInForceSvc {
        fromHandle(
            handle: number,
        ):
            | "UntilCancel"
            | "UntilExpiryDate"
            | "Today"
            | "FillAndKill"
            | "FillOrKill"
            | "AllOrNone";
        fromName(
            name: string,
        ):
            | "UntilCancel"
            | "UntilExpiryDate"
            | "Today"
            | "FillAndKill"
            | "FillOrKill"
            | "AllOrNone";
        handleFromName(name: string): number;
        handleToDisplay(handle: number): string;
        handleToName(handle: number): string;
        toDisplay(
            id:
                | "UntilCancel"
                | "UntilExpiryDate"
                | "Today"
                | "FillAndKill"
                | "FillOrKill"
                | "AllOrNone",
        ): string;
        toHandle(
            id:
                | "UntilCancel"
                | "UntilExpiryDate"
                | "Today"
                | "FillAndKill"
                | "FillOrKill"
                | "AllOrNone",
        ): number;
        toName(
            id:
                | "UntilCancel"
                | "UntilExpiryDate"
                | "Today"
                | "FillAndKill"
                | "FillOrKill"
                | "AllOrNone",
        ): string;
    }
    Index

    Methods

    • Parameters

      • handle: number

      Returns
          | "UntilCancel"
          | "UntilExpiryDate"
          | "Today"
          | "FillAndKill"
          | "FillOrKill"
          | "AllOrNone"

    • Parameters

      • name: string

      Returns
          | "UntilCancel"
          | "UntilExpiryDate"
          | "Today"
          | "FillAndKill"
          | "FillOrKill"
          | "AllOrNone"

    • Parameters

      • name: string

      Returns number

    • Parameters

      • handle: number

      Returns string

    • Parameters

      • handle: number

      Returns string

    • Parameters

      • id:
            | "UntilCancel"
            | "UntilExpiryDate"
            | "Today"
            | "FillAndKill"
            | "FillOrKill"
            | "AllOrNone"

      Returns string

    • Parameters

      • id:
            | "UntilCancel"
            | "UntilExpiryDate"
            | "Today"
            | "FillAndKill"
            | "FillOrKill"
            | "AllOrNone"

      Returns number

    • Parameters

      • id:
            | "UntilCancel"
            | "UntilExpiryDate"
            | "Today"
            | "FillAndKill"
            | "FillOrKill"
            | "AllOrNone"

      Returns string