AgenaTrader Docs
HomeIndicatorsAgenaScriptRelease Notes
English
English
  • šŸ¤AgenaTrader Online Help
  • Introduction
    • Overview
      • Supported Instruments and Order Processing
      • License Versions
      • Hardware and system requirements
      • Licensing, Programming, Costs, and Support Overview
    • Video Guide
      • AgenaTrader Docs
    • Glossary
    • FAQ
      • Top FAQ
        • Chart is ticking without displaying candles
        • How to display P&L on Tradebar
        • Connecting to more than one CFD-Broker simultaneously
        • Hard and Soft stops: Automatic stop movement
        • Which order connections does my broker support
        • Š”onditions and Scripts disappeared
        • Trading Functions Are Disabled
        • IB Charts Not Displayed Correctly or Contain Incorrect Data
        • Can I Connect an Additional Data Feed While Using IB as a Broker?
    • Contact Support
  • Main
    • Broker and Datafeeds Connections
      • AgenaBroker
      • Technology Provider
      • Connections
      • Simulated account
      • Datafeed
      • Broker
    • Set Up Your Workspace
    • Chart Area
      • Charting
      • Chart Types
      • Chart Tools
      • Chart Context Menu
    • Chart Trading
    • Order Management
    • OptionTrading
    • Realtime Scanner
    • OrderStream
    • ActionBar
    • Main Menu
  • TOOLS
    • Preferences
    • Mappings and Instrument-Lists
    • Instrument Editor
    • Tools Menu
    • Trading Information
    • System Information
  • Create your own strategy
    • Semi automated trading
    • AgenaTrader++ (plusplus) – Automated Setup & Recovery Management
    • AT (plusplus) Manager
    • Setup Builder
    • Signal Builder
    • Risk and Money management
    • Strategy Manager
    • AgenaScript
    • Scripting
  • Package
    • Package first steps
    • AddOns (packages) and their content
    • Internal Packages
    • External Packages
    • Using AddOn- and package-indicators in scripted components
Powered by GitBook
On this page
  • Connection
  • Broker and Data Feed Connection Information
  • Create or change a connection
  • Request Demo
  • Multi account settings
  • Connections tab
  • Datafeeds tab
  • Accounts tab
  • Connecting to more than one CFD-Broker simultaneously
  • Which order connections does my broker support?
  • Connection issues
  1. Main
  2. Broker and Datafeeds Connections

Connections

Last updated 8 months ago

Connection

Broker and Data Feed Connection Information

This section contains essential details for connecting to your broker or data feed.

Option
Meaning

Disconnects your active broker/data feed provider.

Stops the loading of historical data from your current broker/data feed provider.

Reload all connected broker and datafeed connections

Create or change a connection

To open the Account Connection Set Up window, perform one of the following actions:

  1. Select Tools from the main menu, followed by the "Account Connections" menu item.

Select the Add / Edit options to establish or modify connections.

Initially, a definition popup will be displayed, allowing you to choose a connection name as well as a data feed or broker.

Please be aware that the connection name must not start with a number.

After selecting the Next button, you will be requested to provide specific parameters for the broker or data feed provider.

Dukascopy

Request Demo

To request a Datafeed demo license via AgenaTrader, please click on the "Request Demo" button.

Barchart

  • In Provider field select Barchart.

  • Enter connection name and all necessary personal information in the exact field.

  • Please select your credit card type and click the Request button.

CQG

  • In Provider field select CQG.

  • Enter connection name and all necessary personal information (Email, First Name, Second Name) in the exact field.

  • Click button Request

Taipan

  • In Provider field select Taipan.

  • Enter connection name and all necessary personal information in the exact field.

  • Click button Request

Multi account settings

AgenaTrader provides seamless access to multiple brokers and data feeds. This feature allows users to manage multiple accounts with various brokers and utilize data from different providers concurrently.

Data feed and broker accessibility can be defined using the account connections popup.

To ensure consistency, it is essential to disconnect AgenaTrader from all brokers and data feed providers before making any modifications.

Use Main/Connections/Connect to link your account to data feed providers and brokers.

Use Main/Connections/Disconnect to disconnect all connections again.

Use Main/Connections/Stop History Loading to stop loading the history of the active broker/data feed.

If, when starting up the program, you wish to reestablish all connections that existed prior to closing AgenaTrader, this can be set as follows:

  1. Select Global Configuration from the main menu Tools

  2. Inside the opened window in tabs General/Common check the chekboxes Start Datafeed Automatically and Start Brokers Automatically.

Connections tab

The Connections tab lists brokers and data feed providers whose connections have been already established.

It is important to distinguish between exclusive and combined data feed providers.

For example, brokers such as Interactive Brokers or MB Trading can also fulfill the function of data feed provider. In contrast and Barchart are exclusively data feed providers.

Column

Meaning

Provider

The name of the broker and/or data feed provider

Feed

Here you can select from available data feed providers.

Broker

Refers to the broker to whom the orders are forwarded.

Datafeeds tab

In the "Datafeeds" tab, you can specify the preferred data feed provider for various types of securities. Multiple providers can be selected for each data feed.

To configure the backup data feed, ensure the setting remains on All. If data from the primary provider becomes unavailable, the backup data feed will automatically connect.

Example 1.

Meaning: CQG provides all market data.

Example 2.

Meaning:

  • TaiPan provides stock prices

  • FXCM provides currency prices

Example 3.

Meaning:

  • All prices for instruments traded on Frankfurt will be delivered from BarChart

  • CQG provides stock prices from the Nyse exchange

  • Futures prices traded on Chicago Board of Trade (CBOT) will be provided by Dukascopy. The remaining futures data will be retrieved e.g. from TaiPan.

Note: The market/exchange is of the first priority The instrument type is of the second priority.

Accounts tab

The "Accounts" tab allows you to specify the preferred brokers for various asset types. It supports the selection of multiple brokers.

Example 1.

Meaning:

  • All trades are forwarded to DukasCopy to the account 423611

  • Currency trades are forwarded to FXCM.

  • Futures and CFD trades are forwarded to IB

  • Stock trades are forwarded to XTB

Example 2.

Meaning:

  • Futures trades will be forwarded via IB to the exchanges Euronext and Paris

  • Stock trades will be forwarded via XTB to Nasdaq.

Connecting to more than one CFD-Broker simultaneously

Issue:

You aim to establish connections with multiple brokers concurrently, but you encounter an error message each time you attempt to do so:

Solution:

We have implemented "virtual CFD-exchanges" for InstrumentEditor ("CFD1" - "CFD10"). From now on you can assign broker-specific CFDs to each of these exchanges.

To connect to multiple CFD brokers simultaneously, navigate to your Account connection settings and select "Accounts." Choose "Markets only" for each broker. Then, assign a unique virtual exchange to each broker and confirm.

Which order connections does my broker support?

Overview order connections

"IfDone", "OCO" (One Cancels Other), and "ORO" (One Reduces Other) functionalities are available for your order connections.

IfDone is established by pressing "ALT" and clicking on both the first and second orders. OCO is formed by pressing "CTRL" and clicking on the first and second orders. ORO is configured by pressing "CTRL" + "ALT" and clicking on the first and second orders.

Supported versus locally simulated connections

Note: IfDone and ORO are only simulated locally in AgenaTrader, which means that the software must be running and connected to the broker in order to be able to send second order to the broker!

Connection issues

Correctly establishing a connection to a broker or data feed

Occasionally, problems may occur with the connection to a broker or data feed. In most cases, this is due to the connection to the broker or data feed not being correctly established.

It is recommended to check whether you are subscribed to the corresponding service or have opened an account with the relevant provider. Depending on the provider, there are often several important tips to consider (e.g., activating certain functions in the TWS, synchronized settings of the ports, and so on). You can find all these notes in the connection guides that we make available online.

Connection guides for brokers and data feeds

The connection guides assist you in seamlessly connecting your preferred data feed provider or broker to AgenaTrader. This connection is essential for AgenaTrader to receive market data and facilitate trading activities with the broker.

On our website, you can find the selection of brokers and data feeds via the navigation "Partners". You will see a list of all our partners. Select your desired broker or data feed and read the respective description.

Connect

Connects to your configured broker/data feed provider (see for more information).

Disconnect

Add New Account

Create new broker/data connection. Detail on page

Stop history loading

Reload connected

Left mouse click on the icon in the toolbar

Access comprehensive connection guides for various brokers and data feeds on the page.

Once the required information has been entered and the Finish button has been clicked, the input data will be validated and saved. The broker or data feed can now be selected in the

Pressing the Finish button will initiate the launch of the .

After selecting and importing all stock exchanges by pressing the Import button, the will appear, in which you can see all exchange times.

In AgenaTrader, you have the capability to configure complex order structures. "IfDone", "OCO" (One Cancels Other), and "ORO" (One Reduces Other) functionalities are available for your

OCO connections are supported by several brokers - you can find the corresponding information on this in the online help under the . This has restrictions that should be taken into account, however: this only applies to single target orders. Order connections in multi-target settings are ORO connections and are therefore only simulated locally as displayed in log:

You will find information about which broker does support OCO, here in the online help under the was well as in Essential Informations-window, that pops up, when you create a new account connection. You need to read and accept this disclaimer:

You can find our partners here on our website:

Youtube videos:

Connection Guides
connection definition list
instrument import popup
Global Configuration: Market Place Escort
order connections
respective broker
respective broker
Brokers
Data feed
Connection guides
Connection Guides
Account connections: Create or change a connection