io.github.mainstringargs.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 trading
package io.github.mainstringargs.alpaca.enums;
/**
* The Enum OrderTimeInForce.
*/
public enum OrderTimeInForce {
/** The day. */
DAY("day"),
/** The gtc. */
GTC("gtc"),
/** The opg. */
OPG("opg");
/** The api name. */
String apiName;
/**
* Instantiates a new order time in force.
*
* @param apiName the api name
*/
OrderTimeInForce(String apiName) {
this.apiName = apiName;
}
/**
* Gets the API name.
*
* @return the API name
*/
public String getAPIName() {
return apiName;
}
}