All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jacobpeterson.alpaca.enums.OrderClass Maven / Gradle / Ivy

There is a newer version: 9.2.0
Show newest version
package net.jacobpeterson.alpaca.enums;

import net.jacobpeterson.abstracts.enums.APIName;

/**
 * The enum Account status.
 *
 * @see Account Status
 */
public enum OrderClass implements APIName {

    /** Simple order class. */
    SIMPLE("simple"),

    /** Bracket order class. */
    BRACKET("bracket"),

    /** One-Cancels-Other order class. */
    OCO("oco"),

    /** One-Triggers-Other order class. */
    OTO("oto");

    /** The api name. */
    String apiName;

    /**
     * Instantiates a new order class.
     *
     * @param apiName the api name
     */
    OrderClass(String apiName) {
        this.apiName = apiName;
    }

    @Override
    public String getAPIName() {
        return apiName;
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy