Class Execution

java.lang.Object
com.jquestrade.Execution

public class Execution extends Object
Represents executions for a specific account.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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
    Returns the internal identifier of the execution.
    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
    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.
    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).
    Returns the trading venue where execution originated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getSymbol

      public String 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

      public String 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:
    • 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

      public String 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

      public String getTimestamp()
      Returns the execution timestamp in ISO 8601 format.
      Returns:
      The execution timestamp.
    • getNotes

      public String 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

      public String 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.