UNPKG

@gitchrisqueen/tdameritrade-api-js-client

Version:
97 lines (83 loc) 1.95 kB
/** * TD Ameritrade API - OAuth2 * This is replication of the TD Ameritrade API. * * OpenAPI spec version: 0.1.4 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * */ import ApiClient from '../ApiClient'; /** * Enum class OrderType. * @enum {} * @readonly */ export default class OrderType { /** * value: "MARKET" * @const */ MARKET = "MARKET"; /** * value: "LIMIT" * @const */ LIMIT = "LIMIT"; /** * value: "STOP" * @const */ STOP = "STOP"; /** * value: "STOP_LIMIT" * @const */ STOP_LIMIT = "STOP_LIMIT"; /** * value: "TRAILING_STOP" * @const */ TRAILING_STOP = "TRAILING_STOP"; /** * value: "MARKET_ON_CLOSE" * @const */ MARKET_ON_CLOSE = "MARKET_ON_CLOSE"; /** * value: "EXERCISE" * @const */ EXERCISE = "EXERCISE"; /** * value: "TRAILING_STOP_LIMIT" * @const */ TRAILING_STOP_LIMIT = "TRAILING_STOP_LIMIT"; /** * value: "NET_DEBIT" * @const */ NET_DEBIT = "NET_DEBIT"; /** * value: "NET_CREDIT" * @const */ NET_CREDIT = "NET_CREDIT"; /** * value: "NET_ZERO" * @const */ NET_ZERO = "NET_ZERO"; /** * Returns a <code>OrderType</code> enum value from a Javascript object name. * @param {Object} data The plain JavaScript object containing the name of the enum value. * @return {module:model/OrderType} The enum <code>OrderType</code> value. */ static constructFromObject(object) { return object; } }