Working with trading tables

Moderator: Moderator

Working with trading tables

Postby JuliaS » Tue Oct 02, 2018 10:44 am

ForexConnect API provides access to information from trading tables:

- Accounts table - contains information about trading accounts, such as amount of funds used in trading, profits/losses, certain account limitations.
- Orders table - contains information about orders, such as their rate, type, status, amount.
- Offers table - contains information about trading instruments, such as current prices, high/low trading day prices.
- Trades table - contains information about open positions, such as floating profit/loss, charged commission, cumulative interest.
- Closed Trades Table - contains information about the positions closed during the current trading day such as realized profit/loss, charged commission, cumulative interest.
- Messages table - contains information about dealing desk messages received during the current trading day.
- Summary table - contains summarized information, such as average entry price and profit/loss, for each instrument currently traded.

For detailed step-by-step instructions on how to get data from trading tables and how to get table updates,
see the Getting Data from Trading Tables and Getting Trading Table Updates articles.

The following sample scripts are available at github:

- PrintTable.py
This sample script shows how to print data from the Accounts and Orders tables.
- GetOffers.py
This sample script shows how to get up-to-date information about offers.
JuliaS
 
Posts: 16
Joined: Wed Jan 25, 2017 11:19 am

Return to ForexConnect-Python API

Who is online

Users browsing this forum: No registered users and 2 guests