Available translations

Market

foundations.png
market.png
A market is the definition of a pair of assets (i.e.: BTC-USDT) listed as a market in the corresponding exchange.
Content
Configuring
Market Configuration
Superalgos lets you fine tune the connection to exchanges. For example if a user want to use Bybit Perpetuals then he have the ability to set up the trading system at the exchange level to have an hedge position. This must be reflected in the way Superalgos connects to the exchange. Additional parameters can be set up and passed to Superalgos with the following properties:
codeName It's the pair name to use for trading.
positionParameters It's an object that can be populated with exchange specific parameters.
Example:
 {
    "codeName": "BIT/USDT",
    "positionParams": {
        "position_idx": 0
    }
}
Initial Values
These are the Initial Values for Market configuration:
 {
    "codeName": "Type_the_name_of_the_market"
}
Examples
This is a list of properties featured by the Market configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Market Menu
The Market node has the following Node Menu items:
The Configure menu item has the following properties:
  • action: Configure
  • actionFunction: uiObject.configEditor.activate
  • label: Configure
  • iconPathOn: configuration
  • iconPathOff: configuration
The Add Base Asset menu item has the following properties:
  • action: Add UI Object
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: baseAsset
  • label: Add Base Asset
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Add Quoted Asset menu item has the following properties:
  • action: Add UI Object
  • disableIfPropertyIsDefined: true
  • propertyToCheckFor: quotedAsset
  • label: Add Quoted Asset
  • actionFunction: payload.executeAction
  • actionProject: Visual-Scripting
  • relatedUiObjectProject: Foundations
The Install Market menu item has the following properties:
  • action: Install Market
  • label: Install Market
  • askConfirmation: true
  • confirmationLabel: Confirm to Proceed
  • workDoneLabel: Done
  • relatedUiObject: Market
  • actionFunction: payload.executeAction
  • relatedUiObjectProject: Foundations
The Uninstall Market menu item has the following properties:
  • action: Uninstall Market
  • label: Uninstall Market
  • askConfirmation: true
  • confirmationLabel: Confirm to Proceed
  • workDoneLabel: Done
  • relatedUiObject: Market
  • 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
Market Children
The Market node has the following childrenNodesProperties:
The Base Asset node property features the following properties:
  • name: baseAsset
  • type: node
  • autoAdd: true
The Quoted Asset node property features the following properties:
  • name: quotedAsset
  • type: node
  • autoAdd: true
Market Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Market with other nodes:
Compatible Types: