Available translations

Live Trading Session

foundations.png
live-trading-session.png
A live trading session is a trading mode by which the trading bot instance reads a live market data feed, applies the rules as defined in the associated trading system, places the corresponding orders at the associated exchange, and stores the defined data products.
Content
A live trading session node must reference a trading system to gain access to the trading logic to be applied during the session. Other considerations framing the session come from the set of parameters attached to it.
Foundations->Concept->Reusable Snippets->Important for Live Sessions
Running
Running Live Trading Session
Before you start a live trading session, the corresponding task needs to be running, as it is the task that puts the trading bot instance to run. Once the trading bot instance is running, select Run on the menu to start the session.
To stop a live trading session, select Stop on the menu.
Configuring
Live Trading Session Configuration
Properties
  • folderName allows you to set a significant name to the folder in which the data products—and logs—generated by the session are stored. If left blank, the system names the folders with the session id. This may be handy when you intend to consult the raw data generated by the session, as, otherwise, the folder would be hard to identify.
Initial Values
These are the Initial Values for Live Trading Session configuration:
 {
    "folderName": "Your-Session-Folder-Name"
}
Examples
This is a list of properties featured by the Live Trading Session configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Live Trading Session Menu
The Live Trading Session node has the following Node Menu items:
The Run menu item has the following properties:
  • label: Run
  • workingLabel: Run Request Sent
  • workDoneLabel: Session Running
  • workFailedLabel: Session Cannot be Run
  • secondaryLabel: Stop
  • secondaryWorkingLabel: Stopping...
  • secondaryWorkDoneLabel: Session Stopped
  • secondaryWorkFailedLabel: Session Cannot be Stopped
  • secondaryIcon: stop
  • iconPathOn: run
  • iconPathOff: run
  • actionFunction: payload.executeAction
  • actionProject: Algorithmic-Trading
The Resume menu item has the following properties:
  • label: Resume
  • workingLabel: Resume Request Sent
  • workDoneLabel: Session Running
  • workFailedLabel: Session Cannot be Resumed
  • secondaryLabel: Stop
  • secondaryWorkingLabel: Stopping...
  • secondaryWorkDoneLabel: Session Stopped
  • secondaryWorkFailedLabel: Session Cannot be Stopped
  • secondaryIcon: stop
  • iconPathOn: resume
  • iconPathOff: resume
  • actionFunction: payload.executeAction
  • actionProject: Algorithmic-Trading
The Configure menu item has the following properties:
  • action: Configure
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
  • dontShowAtFullscreen: true
  • actionFunction: uiObject.configEditor.activate
The Add Social Bots menu item has the following properties:
  • action: Add UI Object
  • label: Add Social Bots
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Social-Bots
  • actionProject: Visual-Scripting
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 Switch To Forward Testing menu item has the following properties:
  • action: Switch To Forward Testing
  • label: Switch To Forward Testing
  • actionFunction: payload.executeAction
  • 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
Live Trading Session Children
The Live Trading Session node has the following childrenNodesProperties:
The Trading Parameters node property features the following properties:
  • name: tradingParameters
  • type: node
  • autoAdd: true
The Trading System Reference node property features the following properties:
  • name: tradingSystemReference
  • type: node
  • autoAdd: true
The Trading Engine Reference node property features the following properties:
  • name: tradingEngineReference
  • type: node
  • autoAdd: true
The Social Bots node property features the following properties:
  • name: socialBots
  • type: node
  • project: Social-Bots
Live Trading Session Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Live Trading Session with other nodes:
Compatible Types:
Live Trading Session Referencing Rules
The following are the Node Referencing Rules that determine which nodes Live Trading Session may establish a reference to:
Compatible Types: