net.jacobpeterson.alpaca.enums.OrderTimeInForce 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 OrderTimeInForce.
*/
public enum OrderTimeInForce implements APIName {
/** The day. */
DAY("day"),
/** The gtc. */
GTC("gtc"),
/** The opg. */
OPG("opg"),
/** Cls order time in force. */
CLS("cls"),
/** Ioc order time in force. */
IOC("ioc"),
/** Fok order time in force. */
FOK("fok");
/** The api name. */
String apiName;
/**
* Instantiates a new order time in force.
*
* @param apiName the api name
*/
OrderTimeInForce(String apiName) {
this.apiName = apiName;
}
@Override
public String getAPIName() {
return apiName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy