@morpheusnephew/td-ameritrade-models
Advanced tools
Comparing version 0.12.7 to 0.12.8
@@ -0,1 +1,9 @@ | ||
<a name="v0.12.7"></a> | ||
## [v0.12.7](https://github.com/MorpheusNephew/td-ameritrade-models/compare/v0.12.6...v0.12.7) (2021-10-09) | ||
### Bug Fixes | ||
- Updated eslint for potential security risk | ||
<a name="v0.12.6"></a> | ||
@@ -2,0 +10,0 @@ |
@@ -0,30 +1,48 @@ | ||
export declare type OrderSession = 'NORMAL' | 'AM' | 'PM' | 'SEAMLESS'; | ||
export declare type OrderDuration = 'DAY' | 'GOOD_TILL_CANCEL' | 'FILL_OR_KILL'; | ||
export declare type OrderType = 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'MARKET_ON_CLOSE' | 'EXERCISE' | 'TRAILING_STOP_LIMIT' | 'NET_DEBIT' | 'NET_CREDIT' | 'NET_ZERO'; | ||
export declare type CancelTime = { | ||
date?: string; | ||
shortFormat?: boolean; | ||
}; | ||
export declare type ComplexOrderStrategyType = 'NONE' | 'COVERED' | 'VERTICAL' | 'BACK_RATIO' | 'CALENDAR' | 'DIAGONAL' | 'STRADDLE' | 'STRANGLE' | 'COLLAR_SYNTHETIC' | 'BUTTERFLY' | 'CONDOR' | 'IRON_CONDOR' | 'VERTICAL_ROLL' | 'COLLAR_WITH_STOCK' | 'DOUBLE_DIAGONAL' | 'UNBALANCED_BUTTERFLY' | 'UNBALANCED_CONDOR' | 'UNBALANCED_IRON_CONDOR' | 'UNBALANCED_VERTICAL_ROLL' | 'CUSTOM'; | ||
export declare type RequestedDestination = 'INET' | 'ECN_ARCA' | 'CBOE' | 'AMEX' | 'PHLX' | 'ISE' | 'BOX' | 'NYSE' | 'NASDAQ' | 'BATS' | 'C2' | 'AUTO'; | ||
export declare type PriceLinkBasis = 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
export declare type PriceLinkType = 'VALUE' | 'PERCENT' | 'TICK'; | ||
export declare type StopType = 'STANDARD' | 'BID' | 'ASK' | 'LAST' | 'MARK'; | ||
export declare type TaxLotMethod = 'FIFO' | 'LIFO' | 'HIGH_COST' | 'LOW_COST' | 'AVERAGE_COST' | 'SPECIFIC_LOT'; | ||
export declare type AssetType = 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
export declare type Instruction = 'BUY' | 'SELL' | 'BUY_TO_COVER' | 'SELL_SHORT' | 'BUY_TO_OPEN' | 'BUY_TO_CLOSE' | 'SELL_TO_OPEN' | 'SELL_TO_CLOSE' | 'EXCHANGE'; | ||
export declare type PositionEffect = 'OPENING' | 'CLOSING' | 'AUTOMATIC'; | ||
export declare type QuantityType = 'ALL_SHARES' | 'DOLLARS' | 'SHARES'; | ||
export declare type SpecialInstruction = 'ALL_OR_NONE' | 'DO_NOT_REDUCE' | 'ALL_OR_NONE_DO_NOT_REDUCE'; | ||
export declare type OrderStatus = 'AWAITING_PARENT_ORDER' | 'AWAITING_CONDITION' | 'AWAITING_MANUAL_REVIEW' | 'ACCEPTED' | 'AWAITING_UR_OUT' | 'PENDING_ACTIVATION' | 'QUEUED' | 'WORKING' | 'REJECTED' | 'PENDING_CANCEL' | 'CANCELED' | 'PENDING_REPLACE' | 'REPLACED' | 'FILLED' | 'EXPIRED'; | ||
export declare type ActivityType = 'EXECUTION' | 'ORDER_ACTION'; | ||
export declare type OrderStrategyType = 'SINGLE' | 'OCO' | 'TRIGGER'; | ||
export interface Order { | ||
session?: 'NORMAL' | 'AM' | 'PM' | 'SEAMLESS'; | ||
duration?: 'DAY' | 'GOOD_TILL_CANCEL' | 'FILL_OR_KILL'; | ||
orderType?: 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'MARKET_ON_CLOSE' | 'EXERCISE' | 'TRAILING_STOP_LIMIT' | 'NET_DEBIT' | 'NET_CREDIT' | 'NET_ZERO'; | ||
cancelTime?: { | ||
date?: string; | ||
shortFormat?: boolean; | ||
}; | ||
complexOrderStrategyType?: 'NONE' | 'COVERED' | 'VERTICAL' | 'BACK_RATIO' | 'CALENDAR' | 'DIAGONAL' | 'STRADDLE' | 'STRANGLE' | 'COLLAR_SYNTHETIC' | 'BUTTERFLY' | 'CONDOR' | 'IRON_CONDOR' | 'VERTICAL_ROLL' | 'COLLAR_WITH_STOCK' | 'DOUBLE_DIAGONAL' | 'UNBALANCED_BUTTERFLY' | 'UNBALANCED_CONDOR' | 'UNBALANCED_IRON_CONDOR' | 'UNBALANCED_VERTICAL_ROLL' | 'CUSTOM'; | ||
session?: OrderSession; | ||
duration?: OrderDuration; | ||
orderType?: OrderType; | ||
cancelTime?: CancelTime; | ||
complexOrderStrategyType?: ComplexOrderStrategyType; | ||
quantity?: number; | ||
filledQuantity?: number; | ||
remainingQuantity?: number; | ||
requestedDestination?: 'INET' | 'ECN_ARCA' | 'CBOE' | 'AMEX' | 'PHLX' | 'ISE' | 'BOX' | 'NYSE' | 'NASDAQ' | 'BATS' | 'C2' | 'AUTO'; | ||
requestedDestination?: RequestedDestination; | ||
destinationLinkName?: string; | ||
releaseTime?: string; | ||
stopPrice?: number; | ||
stopPriceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
stopPriceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopPriceLinkBasis?: PriceLinkBasis; | ||
stopPriceLinkType?: PriceLinkType; | ||
stopPriceOffset?: number; | ||
stopType?: 'STANDARD' | 'BID' | 'ASK' | 'LAST' | 'MARK'; | ||
priceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
priceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopType?: StopType; | ||
priceLinkBasis?: PriceLinkBasis; | ||
priceLinkType?: PriceLinkType; | ||
price?: number; | ||
taxLotMethod?: 'FIFO' | 'LIFO' | 'HIGH_COST' | 'LOW_COST' | 'AVERAGE_COST' | 'SPECIFIC_LOT'; | ||
taxLotMethod?: TaxLotMethod; | ||
orderLegCollection?: { | ||
orderLegType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
orderLegType?: AssetType; | ||
legId?: number; | ||
instrument?: { | ||
assetType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
assetType?: AssetType; | ||
cusip?: string; | ||
@@ -34,14 +52,13 @@ symbol?: string; | ||
}; | ||
instruction?: 'BUY' | 'SELL' | 'BUY_TO_COVER' | 'SELL_SHORT' | 'BUY_TO_OPEN' | 'BUY_TO_CLOSE' | 'SELL_TO_OPEN' | 'SELL_TO_CLOSE' | 'EXCHANGE'; | ||
positionEffect?: 'OPENING' | 'CLOSING' | 'AUTOMATIC'; | ||
instruction?: Instruction; | ||
positionEffect?: PositionEffect; | ||
quantity?: number; | ||
quantityType?: 'ALL_SHARES' | 'DOLLARS' | 'SHARES'; | ||
quantityType?: QuantityType; | ||
}[]; | ||
activationPrice?: number; | ||
specialInstruction?: 'ALL_OR_NONE' | 'DO_NOT_REDUCE' | 'ALL_OR_NONE_DO_NOT_REDUCE'; | ||
orderStrategyType?: 'SINGLE' | 'OCO' | 'TRIGGER'; | ||
specialInstruction?: SpecialInstruction; | ||
orderId?: number; | ||
cancelable?: boolean; | ||
editable?: boolean; | ||
status?: 'AWAITING_PARENT_ORDER' | 'AWAITING_CONDITION' | 'AWAITING_MANUAL_REVIEW' | 'ACCEPTED' | 'AWAITING_UR_OUT' | 'PENDING_ACTIVATION' | 'QUEUED' | 'WORKING' | 'REJECTED' | 'PENDING_CANCEL' | 'CANCELED' | 'PENDING_REPLACE' | 'REPLACED' | 'FILLED' | 'EXPIRED'; | ||
status?: OrderStatus; | ||
enteredTime?: string; | ||
@@ -52,37 +69,34 @@ closeTime?: string; | ||
orderActivityCollection?: { | ||
activityType?: 'EXECUTION' | 'ORDER_ACTION'; | ||
activityType?: ActivityType; | ||
}[]; | ||
replacingOrderCollection?: any[]; | ||
childOrderStrategies?: any[]; | ||
replacingOrderCollection?: Order[]; | ||
childOrderStrategies?: Order[]; | ||
statusDescription?: string; | ||
} | ||
export interface SavedOrder { | ||
session?: 'NORMAL' | 'AM' | 'PM' | 'SEAMLESS'; | ||
duration?: 'DAY' | 'GOOD_TILL_CANCEL' | 'FILL_OR_KILL'; | ||
orderType?: 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'MARKET_ON_CLOSE' | 'EXERCISE' | 'TRAILING_STOP_LIMIT' | 'NET_DEBIT' | 'NET_CREDIT' | 'NET_ZERO'; | ||
cancelTime?: { | ||
date?: string; | ||
shortFormat?: boolean; | ||
}; | ||
complexOrderStrategyType?: 'NONE' | 'COVERED' | 'VERTICAL' | 'BACK_RATIO' | 'CALENDAR' | 'DIAGONAL' | 'STRADDLE' | 'STRANGLE' | 'COLLAR_SYNTHETIC' | 'BUTTERFLY' | 'CONDOR' | 'IRON_CONDOR' | 'VERTICAL_ROLL' | 'COLLAR_WITH_STOCK' | 'DOUBLE_DIAGONAL' | 'UNBALANCED_BUTTERFLY' | 'UNBALANCED_CONDOR' | 'UNBALANCED_IRON_CONDOR' | 'UNBALANCED_VERTICAL_ROLL' | 'CUSTOM'; | ||
session?: OrderSession; | ||
duration?: OrderDuration; | ||
orderType?: OrderType; | ||
cancelTime?: CancelTime; | ||
complexOrderStrategyType?: ComplexOrderStrategyType; | ||
quantity?: number; | ||
filledQuantity?: number; | ||
remainingQuantity?: number; | ||
requestedDestination?: 'INET' | 'ECN_ARCA' | 'CBOE' | 'AMEX' | 'PHLX' | 'ISE' | 'BOX' | 'NYSE' | 'NASDAQ' | 'BATS' | 'C2' | 'AUTO'; | ||
requestedDestination?: RequestedDestination; | ||
destinationLinkName?: string; | ||
releaseTime?: string; | ||
stopPrice?: number; | ||
stopPriceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
stopPriceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopPriceLinkBasis?: PriceLinkBasis; | ||
stopPriceLinkType?: PriceLinkType; | ||
stopPriceOffset?: number; | ||
stopType?: 'STANDARD' | 'BID' | 'ASK' | 'LAST' | 'MARK'; | ||
priceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
priceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopType?: StopType; | ||
priceLinkBasis?: PriceLinkBasis; | ||
priceLinkType?: PriceLinkType; | ||
price?: number; | ||
taxLotMethod?: 'FIFO' | 'LIFO' | 'HIGH_COST' | 'LOW_COST' | 'AVERAGE_COST' | 'SPECIFIC_LOT'; | ||
taxLotMethod?: TaxLotMethod; | ||
orderLegCollection?: { | ||
orderLegType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
orderLegType?: AssetType; | ||
legId?: number; | ||
instrument?: { | ||
assetType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
assetType?: AssetType; | ||
cusip?: string; | ||
@@ -92,14 +106,14 @@ symbol?: string; | ||
}; | ||
instruction?: 'BUY' | 'SELL' | 'BUY_TO_COVER' | 'SELL_SHORT' | 'BUY_TO_OPEN' | 'BUY_TO_CLOSE' | 'SELL_TO_OPEN' | 'SELL_TO_CLOSE' | 'EXCHANGE'; | ||
positionEffect?: 'OPENING' | 'CLOSING' | 'AUTOMATIC'; | ||
instruction?: Instruction; | ||
positionEffect?: PositionEffect; | ||
quantity?: number; | ||
quantityType?: 'ALL_SHARES' | 'DOLLARS' | 'SHARES'; | ||
quantityType?: QuantityType; | ||
}[]; | ||
activationPrice?: number; | ||
specialInstruction?: 'ALL_OR_NONE' | 'DO_NOT_REDUCE' | 'ALL_OR_NONE_DO_NOT_REDUCE'; | ||
orderStrategyType?: 'SINGLE' | 'OCO' | 'TRIGGER'; | ||
specialInstruction?: SpecialInstruction; | ||
orderStrategyType?: OrderStrategyType; | ||
orderId?: number; | ||
cancelable?: boolean; | ||
editable?: boolean; | ||
status?: 'AWAITING_PARENT_ORDER' | 'AWAITING_CONDITION' | 'AWAITING_MANUAL_REVIEW' | 'ACCEPTED' | 'AWAITING_UR_OUT' | 'PENDING_ACTIVATION' | 'QUEUED' | 'WORKING' | 'REJECTED' | 'PENDING_CANCEL' | 'CANCELED' | 'PENDING_REPLACE' | 'REPLACED' | 'FILLED' | 'EXPIRED'; | ||
status?: OrderStatus; | ||
enteredTime?: string; | ||
@@ -110,116 +124,6 @@ closeTime?: string; | ||
orderActivityCollection?: { | ||
activityType?: 'EXECUTION' | 'ORDER_ACTION'; | ||
activityType?: ActivityType; | ||
}[]; | ||
replacingOrderCollection?: { | ||
session?: 'NORMAL' | 'AM' | 'PM' | 'SEAMLESS'; | ||
duration?: 'DAY' | 'GOOD_TILL_CANCEL' | 'FILL_OR_KILL'; | ||
orderType?: 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'MARKET_ON_CLOSE' | 'EXERCISE' | 'TRAILING_STOP_LIMIT' | 'NET_DEBIT' | 'NET_CREDIT' | 'NET_ZERO'; | ||
cancelTime?: { | ||
date?: string; | ||
shortFormat?: boolean; | ||
}; | ||
complexOrderStrategyType?: 'NONE' | 'COVERED' | 'VERTICAL' | 'BACK_RATIO' | 'CALENDAR' | 'DIAGONAL' | 'STRADDLE' | 'STRANGLE' | 'COLLAR_SYNTHETIC' | 'BUTTERFLY' | 'CONDOR' | 'IRON_CONDOR' | 'VERTICAL_ROLL' | 'COLLAR_WITH_STOCK' | 'DOUBLE_DIAGONAL' | 'UNBALANCED_BUTTERFLY' | 'UNBALANCED_CONDOR' | 'UNBALANCED_IRON_CONDOR' | 'UNBALANCED_VERTICAL_ROLL' | 'CUSTOM'; | ||
quantity?: number; | ||
filledQuantity?: number; | ||
remainingQuantity?: number; | ||
requestedDestination?: 'INET' | 'ECN_ARCA' | 'CBOE' | 'AMEX' | 'PHLX' | 'ISE' | 'BOX' | 'NYSE' | 'NASDAQ' | 'BATS' | 'C2' | 'AUTO'; | ||
destinationLinkName?: string; | ||
releaseTime?: string; | ||
stopPrice?: number; | ||
stopPriceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
stopPriceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopPriceOffset?: number; | ||
stopType?: 'STANDARD' | 'BID' | 'ASK' | 'LAST' | 'MARK'; | ||
priceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
priceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
price?: number; | ||
taxLotMethod?: 'FIFO' | 'LIFO' | 'HIGH_COST' | 'LOW_COST' | 'AVERAGE_COST' | 'SPECIFIC_LOT'; | ||
orderLegCollection?: { | ||
orderLegType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
legId?: number; | ||
instrument?: { | ||
assetType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
cusip?: string; | ||
symbol?: string; | ||
description?: string; | ||
}; | ||
instruction?: 'BUY' | 'SELL' | 'BUY_TO_COVER' | 'SELL_SHORT' | 'BUY_TO_OPEN' | 'BUY_TO_CLOSE' | 'SELL_TO_OPEN' | 'SELL_TO_CLOSE' | 'EXCHANGE'; | ||
positionEffect?: 'OPENING' | 'CLOSING' | 'AUTOMATIC'; | ||
quantity?: number; | ||
quantityType?: 'ALL_SHARES' | 'DOLLARS' | 'SHARES'; | ||
}[]; | ||
activationPrice?: number; | ||
specialInstruction?: 'ALL_OR_NONE' | 'DO_NOT_REDUCE' | 'ALL_OR_NONE_DO_NOT_REDUCE'; | ||
orderStrategyType?: 'SINGLE' | 'OCO' | 'TRIGGER'; | ||
orderId?: number; | ||
cancelable?: boolean; | ||
editable?: boolean; | ||
status?: 'AWAITING_PARENT_ORDER' | 'AWAITING_CONDITION' | 'AWAITING_MANUAL_REVIEW' | 'ACCEPTED' | 'AWAITING_UR_OUT' | 'PENDING_ACTIVATION' | 'QUEUED' | 'WORKING' | 'REJECTED' | 'PENDING_CANCEL' | 'CANCELED' | 'PENDING_REPLACE' | 'REPLACED' | 'FILLED' | 'EXPIRED'; | ||
enteredTime?: string; | ||
closeTime?: string; | ||
tag?: string; | ||
accountId?: number; | ||
orderActivityCollection?: { | ||
activityType?: 'EXECUTION' | 'ORDER_ACTION'; | ||
}[]; | ||
replacingOrderCollection?: any[]; | ||
childOrderStrategies?: any[]; | ||
statusDescription?: string; | ||
}[]; | ||
childOrderStrategies?: { | ||
session?: 'NORMAL' | 'AM' | 'PM' | 'SEAMLESS'; | ||
duration?: 'DAY' | 'GOOD_TILL_CANCEL' | 'FILL_OR_KILL'; | ||
orderType?: 'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'TRAILING_STOP' | 'MARKET_ON_CLOSE' | 'EXERCISE' | 'TRAILING_STOP_LIMIT' | 'NET_DEBIT' | 'NET_CREDIT' | 'NET_ZERO'; | ||
cancelTime?: { | ||
date?: string; | ||
shortFormat?: boolean; | ||
}; | ||
complexOrderStrategyType?: 'NONE' | 'COVERED' | 'VERTICAL' | 'BACK_RATIO' | 'CALENDAR' | 'DIAGONAL' | 'STRADDLE' | 'STRANGLE' | 'COLLAR_SYNTHETIC' | 'BUTTERFLY' | 'CONDOR' | 'IRON_CONDOR' | 'VERTICAL_ROLL' | 'COLLAR_WITH_STOCK' | 'DOUBLE_DIAGONAL' | 'UNBALANCED_BUTTERFLY' | 'UNBALANCED_CONDOR' | 'UNBALANCED_IRON_CONDOR' | 'UNBALANCED_VERTICAL_ROLL' | 'CUSTOM'; | ||
quantity?: number; | ||
filledQuantity?: number; | ||
remainingQuantity?: number; | ||
requestedDestination?: 'INET' | 'ECN_ARCA' | 'CBOE' | 'AMEX' | 'PHLX' | 'ISE' | 'BOX' | 'NYSE' | 'NASDAQ' | 'BATS' | 'C2' | 'AUTO'; | ||
destinationLinkName?: string; | ||
releaseTime?: string; | ||
stopPrice?: number; | ||
stopPriceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
stopPriceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
stopPriceOffset?: number; | ||
stopType?: 'STANDARD' | 'BID' | 'ASK' | 'LAST' | 'MARK'; | ||
priceLinkBasis?: 'MANUAL' | 'BASE' | 'TRIGGER' | 'LAST' | 'BID' | 'ASK' | 'ASK_BID' | 'MARK' | 'AVERAGE'; | ||
priceLinkType?: 'VALUE' | 'PERCENT' | 'TICK'; | ||
price?: number; | ||
taxLotMethod?: 'FIFO' | 'LIFO' | 'HIGH_COST' | 'LOW_COST' | 'AVERAGE_COST' | 'SPECIFIC_LOT'; | ||
orderLegCollection?: { | ||
orderLegType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
legId?: number; | ||
instrument?: { | ||
assetType?: 'EQUITY' | 'OPTION' | 'INDEX' | 'MUTUAL_FUND' | 'CASH_EQUIVALENT' | 'FIXED_INCOME' | 'CURRENCY'; | ||
cusip?: string; | ||
symbol?: string; | ||
description?: string; | ||
}; | ||
instruction?: 'BUY' | 'SELL' | 'BUY_TO_COVER' | 'SELL_SHORT' | 'BUY_TO_OPEN' | 'BUY_TO_CLOSE' | 'SELL_TO_OPEN' | 'SELL_TO_CLOSE' | 'EXCHANGE'; | ||
positionEffect?: 'OPENING' | 'CLOSING' | 'AUTOMATIC'; | ||
quantity?: number; | ||
quantityType?: 'ALL_SHARES' | 'DOLLARS' | 'SHARES'; | ||
}[]; | ||
activationPrice?: number; | ||
specialInstruction?: 'ALL_OR_NONE' | 'DO_NOT_REDUCE' | 'ALL_OR_NONE_DO_NOT_REDUCE'; | ||
orderStrategyType?: 'SINGLE' | 'OCO' | 'TRIGGER'; | ||
orderId?: number; | ||
cancelable?: boolean; | ||
editable?: boolean; | ||
status?: 'AWAITING_PARENT_ORDER' | 'AWAITING_CONDITION' | 'AWAITING_MANUAL_REVIEW' | 'ACCEPTED' | 'AWAITING_UR_OUT' | 'PENDING_ACTIVATION' | 'QUEUED' | 'WORKING' | 'REJECTED' | 'PENDING_CANCEL' | 'CANCELED' | 'PENDING_REPLACE' | 'REPLACED' | 'FILLED' | 'EXPIRED'; | ||
enteredTime?: string; | ||
closeTime?: string; | ||
tag?: string; | ||
accountId?: number; | ||
orderActivityCollection?: { | ||
activityType?: 'EXECUTION' | 'ORDER_ACTION'; | ||
}[]; | ||
replacingOrderCollection?: any[]; | ||
childOrderStrategies?: any[]; | ||
statusDescription?: string; | ||
}[]; | ||
replacingOrderCollection?: SavedOrder[]; | ||
childOrderStrategies?: SavedOrder[]; | ||
statusDescription?: string; | ||
@@ -226,0 +130,0 @@ savedOrderId?: number; |
{ | ||
"name": "@morpheusnephew/td-ameritrade-models", | ||
"version": "0.12.7", | ||
"version": "0.12.8", | ||
"description": "Models from TD Ameritrade's API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60626
1417