Advertisement
retesere20

Short list of - Account, Position and Order properties

Jul 6th, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1.  
  2. ============= Account related ===============
  3. AccountID string Gets the ID (account number) of the account.
  4. Alias string Gets the optional account name chosen by the user.
  5. BDAccountEquity double Gets the value of beginning day account equity.
  6. BDAcountNetWorth double Gets the value of beginning day account net worth.
  7. BDCashBalance double Gets the value of beginning day cash balance.
  8. BDDayTrainingBuyingPower double Gets the value of beginning day DayTrading buying power.
  9. BDOptionBuyingPower double Gets the value of beginning day option buying power.
  10. BDOptionLiquidationValue double Gets the value of beginning day option liquidation.
  11. BDOvernightBuyingPower double Gets the value of beginning day overnight buying power.
  12. BDUnrealizedPL double Gets the value of beginning day unrealized profit/loss.
  13. CanDayTrade boolean True if day trading is allowed in the account, otherwise false.
  14. ExtendedProperties object Gets the DynamicProperties object associated with the account.
  15. FourDaysTradeCount integer Gets the number of trades from the past four days.
  16. HasValue boolean True if the specified AccountField exists, otherwise false.
  17. IsDayTrader string True if the trader is a pattern day trader.
  18. Name string Gets the name of the account.
  19. OptionApprovalLevel double Gets the options approval level.
  20. RTAccountEquity double Gets the value of real-time account equity.
  21. RTAccountNetWorth double Gets the value of real-time account net worth.
  22. RTCashBalance double Gets the value of real-time cash balance.
  23. RTCostOfPositions double Gets the value of real-time cost of positions.
  24. RTDayTradingBuyingPower double Gets the value of real-time day trading buying power.
  25. RTInitialMargin double Gets the value of real-time initial margin.
  26. RTMaintenanceMargin double Gets the value of real-time maintenance margin.
  27. RTOptionBuyingPower double Gets the value of real-time option buying power.
  28. RTOptionLiquidationValue double Gets the value of real-time option liquidation value.
  29. RTOvernightBuyingPower double Gets the value of real-time overnight buying power.
  30. RTPurchasingPower double Gets the value of real-time purchasing power.
  31. RTRealizedPL double Gets the value of real-time realized profit/loss.
  32. RTUnrealizedPL double Gets the value of unrealized profit/loss.
  33. Status string Gets the status of the account.
  34. TodaysRTTradeEquity double Gets the value of today's real-time trade equity.
  35. Type enum Gets the account type. See AccountType for a list of possible values.
  36. UnclearedDeposits double Gets the value of uncleared deposits.
  37. UnsettledFund double Gets the value of unsettled funds.
  38. Value[fieldName] double Gets the value of the specified account field name
  39.  
  40. ============= order related ===============
  41. AccountID string Gets the ID of the account.
  42. Action enum Gets the type of order action. See OrderAction for a list of possible values.
  43. AvgFilledPrice double Gets the average filled price for the current order.
  44. Commission double Gets the commission paid in an order.
  45. Discretionary boolean True to show an order's bid/ask at a lower/higher price than you are willing to pay.
  46. DiscretionaryAmount double Sets or gets the discretionary price increment used when Discretionary is true.
  47. Duration string Gets the duration of the order.
  48. ECNSweep boolean True to route orders to ECNs only, bypassing all market makers.
  49. EnteredQuantity int Gets the quantity of shares or contracts requested for the order.
  50. EnteredTime datetime Gets the time when the order is placed.
  51. FilledQuantity int Gets the quantity of shares or contracts filled for the order.
  52. FilledTime datetime Gets the time when the order is filled.
  53. LeftQuantity int Gets the number of unfilled shares or contracts for the current order.
  54. LotSize int Gets the size of the lot. Applicable only to forex orders.
  55. OrderID string Gets the ID of the current order.
  56. Peg enum The enumeration for peg behavior. See PegBehavior for a list of possible values.
  57. SpreadName string Gets the spread name in an options order.
  58. State enum Gets the order state value. See Order State for a list of possible values.
  59. Symbol string Gets the symbol to trade.
  60. SymbolExtension string Gets the symbol extension for the Symbol to trade.
  61. Type enum Get the order type. See OrderType for a list of possible values.
  62. Value double Gets the value of the specified OrderField.
  63.  
  64.  
  65.  
  66. ============= Position related ===============
  67. AccountID string Gets the account ID of the Position.
  68. AveragePrice double Gets the average price of all positions for the current symbol.
  69. BigPointValue double Get the dollar value for a one point movement.
  70. ContractExpirationDate datetime Get the expiration date for the contract.
  71. InitialMargin double Gets the account balance required for entering a position on margin.
  72. MaintenanceMargin double Gets the account balance required for maintaining a position on margin.
  73. MarginExpirationDate datetime Get the date of that the margin position expires.
  74. MarketValue double Gets the actual market value of the open position.
  75. OpenPL double Gets the unrealized profit or loss on the position held.
  76. OriginalCost double Gets the original cost of the trade (Forex only).
  77. PLPerQuantity double Gets the unrealized profit or loss divided by the number of shares or contracts held.
  78. PercentPL double Gets the unrealized profit or loss as a percentage of the initial value.
  79. PositionID string Gets the unique ID of the Position object.
  80. Quantity int The number of shares in the current position.
  81. RequiredMargin double The margin requirement of the position.
  82. Symbol string Get the symbol of the current position.
  83. SymbolType enum The type of security. See SecurityType for a list of possible values.
  84. TotalCost double Gets the total cost of the open position.
  85. Type enum The PositionType of the position.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement