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

net.jacobpeterson.alpaca.enums.OrderSide 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 OrderSide.
 */
public enum OrderSide implements APIName {

    /** The buy. */
    BUY("buy"),

    /** The sell. */
    SELL("sell");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy