Package com.jquestrade
Class Execution
java.lang.Object
com.jquestrade.Execution
Represents executions for a specific account.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns any additional execution fee charged by TSX (if applicable).double
Returns the Questrade commission for the execution.Returns the identifier of the execution at the market where it originated.double
Returns the liquidity fee charged by execution venue.double
getId()
Returns the internal identifier of the execution.getNotes()
Returns manual notes for the execution that may have been entered by Trade Desk staff.int
Returns the internal identifier of the order chain to which the execution belongs.int
Returns the internal identifier of the order to which the execution belongs.double
Returns the Questrade commission for orders placed with Trade Desk.int
Returns the internal identifier of the parent order.double
getPrice()
Returns the execution price.int
Returns the number of shares in the execution.double
Returns the SEC fee charged on all sales of US securities.getSide()
Returns the client side of the order to which the execution belongs.Returns the symbol of the security involved in the execution.int
Returns the internal symbol identifier of the security involved in the execution.Returns the execution timestamp in ISO 8601 format.double
Returns the execution cost (price x quantity).getVenue()
Returns the trading venue where execution originated.
-
Method Details
-
getSymbol
Returns the symbol of the security involved in the execution.- Returns:
- The symbol of the security involved in the execution.
-
getSymbolId
public int getSymbolId()Returns the internal symbol identifier of the security involved in the execution.- Returns:
- The internal symbol identifier
-
getQuantity
public int getQuantity()Returns the number of shares in the execution.- Returns:
- The number of shares in the execution.
-
getSide
Returns the client side of the order to which the execution belongs. Example values: Buy, Sell, Short, BTO, etc..- Returns:
- The client side of the order to which the execution belongs.
- See Also:
-
- The Client Order Side section for all possible values.
-
getPrice
public double getPrice()Returns the execution price.- Returns:
- The execution price.
-
getId
public double getId()Returns the internal identifier of the execution.- Returns:
- The internal identifier of the execution.
-
getOrderId
public int getOrderId()Returns the internal identifier of the order to which the execution belongs.- Returns:
- The internal identifier of the order to which the execution belongs.
-
getOrderChainId
public int getOrderChainId()Returns the internal identifier of the order chain to which the execution belongs.- Returns:
- The internal identifier of the order chain to which the execution belongs.
-
getExchangeExecId
Returns the identifier of the execution at the market where it originated.- Returns:
- The identifier of the execution at the market where it originated.
-
getTimestamp
Returns the execution timestamp in ISO 8601 format.- Returns:
- The execution timestamp.
-
getNotes
Returns manual notes for the execution that may have been entered by Trade Desk staff. This is usually blank.- Returns:
- Manual execution notes.
-
getVenue
Returns the trading venue where execution originated.- Returns:
- The trading venue where execution originated.
-
getTotalCost
public double getTotalCost()Returns the execution cost (price x quantity).- Returns:
- The execution cost.
-
getOrderPlacementCommission
public double getOrderPlacementCommission()Returns the Questrade commission for orders placed with Trade Desk.- Returns:
- The order placement commission.
-
getCommission
public double getCommission()Returns the Questrade commission for the execution.- Returns:
- The commission.
-
getExecutionFee
public double getExecutionFee()Returns the liquidity fee charged by execution venue.- Returns:
- The liquidity fee.
-
getSecFee
public double getSecFee()Returns the SEC fee charged on all sales of US securities.- Returns:
- The SEC fee.
-
getCanadianExecutionFee
public int getCanadianExecutionFee()Returns any additional execution fee charged by TSX (if applicable).- Returns:
- The additional execution fee charged by the TSX.
-
getParentId
public int getParentId()Returns the internal identifier of the parent order.- Returns:
- The internal identifier of the parent order.
-