Available translations

Position

foundations.png
position.png
Position is the section of the data structure that keeps track of information within the scope of each position, and during the time a position is open.
Content
The position node is available both in the current context and the last context, that is, you may retrieve information of the position that was last opened or the one currently open.
A position is open from the instant the take position event is triggered until the instant the close stage is closed. Therefore, this section of the data structure features information spaning those periods only.
In this section of the hierarchy, you have access to:
  • balances and position performance metrics denominated in both the base and quoted assets;
  • counters, such as the number of periods the position has been open;
  • statistics, such as performance metrics consolidating both assets, or user-defined statistics;
  • the distance to certain events, such as the number of candles to the last take position event, or the last create order event;
  • rates describing each candle in the episode, such as the open, close, min and max rates;
Position Menu
The Position node has the following Node Menu items:
The Add Missing Children menu item has the following properties:
  • action: Add Missing Children
  • label: Add Missing Children
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Delete menu item has the following properties:
  • action: Delete UI Object
  • actionProject: Visual-Scripting
  • askConfirmation: true
  • confirmationLabel: Confirm to Delete
  • label: Delete
  • iconPathOn: delete-entity
  • iconPathOff: delete-entity
  • actionFunction: payload.executeAction
Position Children
The Position node has the following childrenNodesProperties:
The Serial Number node property features the following properties:
  • name: serialNumber
  • type: node
  • autoAdd: true
The Identifier node property features the following properties:
  • name: identifier
  • type: node
  • autoAdd: true
The Begin node property features the following properties:
  • name: begin
  • type: node
  • autoAdd: true
The End node property features the following properties:
  • name: end
  • type: node
  • childType: End
  • autoAdd: true
The Begin Rate node property features the following properties:
  • name: beginRate
  • type: node
  • autoAdd: true
The End Rate node property features the following properties:
  • name: endRate
  • type: node
  • autoAdd: true
The Status node property features the following properties:
  • name: status
  • type: node
  • autoAdd: true
The Exit Type node property features the following properties:
  • name: exitType
  • type: node
  • autoAdd: true
The Situation Name node property features the following properties:
  • name: situationName
  • type: node
  • autoAdd: true
The Entry Target Rate node property features the following properties:
  • name: entryTargetRate
  • type: node
  • autoAdd: true
The Exit Target Rate node property features the following properties:
  • name: exitTargetRate
  • type: node
  • autoAdd: true
The Stop Loss node property features the following properties:
  • name: stopLoss
  • type: node
  • autoAdd: true
The Take Profit node property features the following properties:
  • name: takeProfit
  • type: node
  • autoAdd: true
The Position Counters node property features the following properties:
  • name: positionCounters
  • type: node
  • autoAdd: true
The Position Statistics node property features the following properties:
  • name: positionStatistics
  • type: node
  • autoAdd: true
The Position Base Asset node property features the following properties:
  • name: positionBaseAsset
  • type: node
  • autoAdd: true
The Position Quoted Asset node property features the following properties:
  • name: positionQuotedAsset
  • type: node
  • autoAdd: true
Position Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Position with other nodes:
Compatible Types: