
net.jacobpeterson.alpaca.enums.OrderSide Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alpaca-java Show documentation
Show all versions of alpaca-java Show documentation
Java API for Alpaca and Polygon
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