
net.jacobpeterson.alpaca.enums.OrderClass 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 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