Trade
Overview
TT Platform
Description
Task
Browser Access
Description
Task
Videos
TT Desktop
Description
Task
Videos
Reference
Workspace Windows
Description
Task
Videos
Widgets
Description
Task
Preferences
Description
Viewing Market Data
Time and Sales
Task
Reference
Description
Depth
Description
Task
Reference
Market Grid
Description
Task
Videos
Reference
Product Grid
Description
Task
Reference
Spread Matrix
Description
Task
Videos
Reference
Basic Order Entry
TT Order Types
Description
Task
Videos
Reference
Case Studies
TT Premium Order Types
Description
Task
Reference
Order Ticket
Description
Task
Use Cases
Reference
MD Trader®
Description
Task
Videos
Reference
Order Profiles
Description
Task
Reference
Routing Rules
Description
Task
Blocktrader
Description
Task
Videos
Reference
Trading Crypto on TT
Description
Task
Videos
Reference
Trading on B3
Order Management
Order Book
Description
Task
Reference
Floating Order Book
Description
Task
Reference
Fills
Description
Task
Reference
Positions
Description
Task
Reference
Orders and Fills
Description
Task
Reference
Audit Trail
Description
Task
Reference
Audit Query
Description
Task
Reference
Account List
Description
Task
Videos
Reference
Position Manager
Description
Task
Reference
Alert Manager and Alert Viewer
Description
Task
Videos
Reference
Account & User Restrictions
Description
Task
Reference
Balances
Description
Task
Reference
TT® OMS
Care Orders
Description
Task
Videos
Reference
Lock and Release
Description
Task
Bulking
Description
Task
Videos
Stitching and Splitting
Description
Task
Combining
Description
Task
Order Passing
Description
Task
Use Cases
Order Exceptions
Description
Task
Options
Options on TT
Description
Videos
Options Chain
Description
Task
Use Cases
Videos
Reference
Options Trade Monitor
Description
Task
Videos
Reference
Vol Curve Manager
Description
Task
Use Cases
Videos
Reference
Electronic Eye
Description
Task
Videos
Reference
RFQ Viewer
Description
Task
Videos
Reference
RFQ with Counterparties
Description
Task
Counterparty Manager
Description
Task
Strategy Creation
Description
Task
Use Cases
Reference
Options Risk
Description
Task
Videos
Reference
Options Risk Matrix
Description
Task
Videos
Reference
Watchlist
Description
Task
Videos
Reference
Expiration Manager
Description
Task
Volatility Calculator
Description
Task
TT Uncovered 2.0
Description
Task
TT Uncovered 3.0
Description
Task
QuikStrike
Description
Task
Spread Trading
Autospreader
Description
Task
Use Cases
Videos
Reference
Autospreader Rules
Description
Task
Videos
Reference
Hedge Manager
Description
Task
Videos
Reference
Trading in Yield
Description
Task
Use Cases
Reference
Aggregator
Description
Task
Videos
Reference
Algo Trading
Algo Dashboard
Description
Task
Videos
Reference
Template Manager
Description
Task
Order Management Algos (OMAs)
Autotrader
Description
Task
Reference
Videos
Excel integration with TT
Description
Task
Videos
Reference
Market-Making Algos
Analytics
Charts
Description
Technical Indicators
Task
Videos
Reference
Trader Analytics
Description
Task
Reference
ADL
ADL Overview
Introduction to ADL
Description
Task
Videos
Reference
ADL Basic Concepts
Description
Task
Reference
Building your first algo
Lessons
Advanced concepts
Description
Task
Case Studies
Jump blocks
Group blocks
Virtualized blocks
Library blocks
Trading Blocks
Discrete blocks
Arithmetic blocks
Basic blocks
Logic blocks
Miscellaneous blocks
Setup
Setup Overview
Getting Started
Description
Task
Videos
Reference
Supported Order Types and TIFs
Company Administration
Connections
Description
Task
Videos
Reference
Accounts
Description
Task
Videos
Use Cases
Reference
Users
Description
Task
Videos
Reference
Company
Description
Task
Reference
Order Tag Defaults
Description
Task
Account Administrators
Description
Task
TT Premium Services
Description
Task
TT Access
Description
Task
Advanced Features
Description
Risk Management
Risk Administration
Description
Task
Risk Limits
Description
Task
Videos
Reference
Pre-Trade Portfolio Risk
Description
Task
Reference
Order Cross Prevention
Description
Task
Videos
KRM Limits
Description
Task
TT® OMS
TT OMS Administration
Description
Task
Use Cases
Reference
Exchanges: Americas
B3
Description
Task
CBOE
Description
Task
Cboe FX
Description
Task
Reference
CFE
Description
Task
CME
Description
Task
Dealerweb
Description
Task
EBS Direct
Description
Task
EBS Market
Description
Task
Fenics
Description
Task
FMX
Description
Task
FMX_USTF
Description
Task
Goldman Sachs Commodity Blocks (GSCB)
Description
Task
Referece
ICE
Description
Task
MexDer
Description
Task
MIAX_FUT_CH
Description
Task
MIAX_FUT_NY
Description
Task
MX
Description
Task
Nodal
Description
Task
NFI
Task
Exchanges: EMEA
ATHEX
Description
Task
BIST
Description
Task
DGCX
Description
Task
EEX
Description
Task
EPEX SPOT
Description
Task
Reference
Eris
Description
Task
Eurex
Description
Task
Videos
Euronext
Description
Task
GFO-X
Description
Task
ICE_L
Description
Task
JSE
Description
Task
LME
Description
Task
LME NTP
Description
Task
LSE
Description
Task
MEFF
Description
Task
NDAQ_EU
Description
Task
NASDAQ_NED
Description
Task
Nord Pool
Description
Task
Reference
WSE
Description
Task
Exchanges: Asia/Pacific
ABX
Description
Task
ASX
Description
Task
FEX
Description
Task
HKEx
Description
Task
JPX
Description
Task
NSE
Description
Task
NZX
Description
Task
SGX
Description
Task
SGX GIFT
Description
Task
TAIFEX
Description
Task
TFEX
Description
Task
TFX
Description
Task
CoinFLEX
Task
Exchanges: Crypto
Coinbase
Description
Task
Kraken
Description
Task
FIX Support
FIX Ruleset
Description
Task
FIX Sessions
Description
Task
Secondary Accounts
Description
Task
Monitor
TT Mobile
TT Backtesting
APIs
TT REST API 2.0
Getting Started
API Reference
TT REST API 2.0 (UAT)
Getting Started
API Reference
TT .NET SDK
Getting started with TT .NET SDK
Creating the application framework
Working with instruments
Subscribing for market data
More about prices
An in-depth look at the Price class
Working with orders and fills
Handling trade subscriptions
Working with trade subscriptions
Working with Algos
Algo Server
TT Order Types
TT Premium Order Types
Advanced Concepts and Options
Appendix
TT CORE SDK
Getting Started with TT Core SDK
Creating Application Framework
Working With Instruments
Subscribing for Market Data
Working with Orders and Fills
Creating a TT Application Server
Appendix
TT Trade Surveillance
Overview
Using TT Trade Surveillance
Cluster View
Core Models
Market Abuse Models
Cross Product Models
Spoofing Models
Improperly Matched Trade Models
Market Rate Models
Trading Behaviors Models
Miscellaneous Models
Configurable Models
Reports
Wachlists
Reference
TT FIX Services
TT FIX General
Getting Started
FIX Message Structure
Session messages
TT FIX Order Routing
Overview
TT FIX message conversations
Supported application messages
TT FIX Market Data
Overview
TT FIX message conversations
Supported application messages
TT FIX Drop Copy Out
Overview
TT FIX Message Conversations
Supported application messages
Compliance Feed messages
TT FIX Drop Copy In
Overview
Supported application messages
TT FIX Gateway
Getting Started
FIX Message Structure
Components
Session messages
Price Gateway Messages
Order Gateway Messages
TT FIX Recovery
Overview
FIX Recovery Methods
Supported application messages
Compliance Feed Messages
MiFID II Support

Field block

On this page

The Field block is a trading block that retrieves market data, such as AskQty or Volume, for a connected Instrument block. You can use these values as inputs to other blocks, such as an Order block or a logical block.

The following example gets the Ask and Open prices for the CL Sep17 instrument and feeds their outputs to a Greater Than block to determine whether the market moved up since the opening.

Example: Two Field blocks receive instrument data. Each extracts and outputs their designated price field data.

Market data fields

The Field block allows you to select which type of market data to monitor.

Field Name Description

Ask Market Quantity

Total quantity of resting Sell Market orders.

Ask Order Count

Number of ask orders at the specified market depth including the user’s offers (ask orders at the best ask price if depth is not provided)

Note: The Field block will output a zero value if this field is unsupported by the exchange or when the market is empty. TT or the exchange can verify if a particular field is supported.

Ask Price

Ask price at the specified index level (best ask price if depth is not specified)

Ask Quantity

Ask quantity at the specified market depth including the user’s offers (ask quantity at the best ask price if depth is not specified

Bid Market Quantity

Total quantity of resting Buy Market orders.

Bid Order Count

Number of bid orders at the specified market depth including the user’s orders (bid orders at the best bid price if depth is not provided)

Note: The Instrument Field block will output a zero value if this field is unsupported by the exchange or when the market is empty. TT or the exchange can verify if this field is supported.

Bid Price

Bid price at the specified index level (best bid price if depth is not specified)

Bid Quantity

Bid quantity at the specified market depth including the user’s bids (bid quantity at the best bid price if depth is not specified)

Close Price

Price at market close

Direct Ask Price

Ask price at the specified index level, taking into account only the levels where there is at least one non-implied offer (if depth is not specified: lowest ask price where there is a non-implied offer)

Direct Ask Quantity

Non-implied ask quantity at the specified market depth (if market depth is not provided: non-implied ask quantity at the lowest ask price where there is at least one non-implied bid)

Direct Bid Price

Bid price at the specified index level, taking into account only the levels where there is at least one non-implied bid (if depth is not specified: highest bid price where there is a non-implied bid)

Direct Bid Quantity

Non-implied bid quantity at the specified market depth (if market depth is not provided: non-implied bid quantity at the highest bid price where there is at least one non-implied bid)

High Price

Highest traded price during the current trading session

Implied Ask Quantity

Quantity available at the implied ask price

Implied Bid Quantity

Quantity available at the implied bid price

Last Trade Price

Last traded price

Last Trade Quantity

Either accumulated or the last quantity traded at the last traded price (depending on the user’s Gateway settings)

Low Price

Lowest traded price during the current trading session

Min Price Increment

Minimum tradable increment for the specified instrument

Min Tick Increment

Minimum achievable tick increment for the specified instrument

Note: A single instrument could have differing Minimum Price Increment and Minimum Tick Increment. For example, an outright S&P 500 E-mini contract has a Minimum Price Increment of 25 (because it trades in an increment of 25), but it has a Minimum Tick Increment of 5 (because an E-mini spread trades in an increment of 5).

Open Price

Price at market open

Round Lot Quantity

Size of the quantity multiples valid for trading (e.g. quantities must be a multiple of 5)

Settle Price

Settled price from the previous trading session

Settle Price Unit

Per unit settlement price. Note: B3 exchange only.

Volume

Volume traded during the current trading session

Working Days to Expiry

Number of weekdays until the contract expires. Note: B3 exchange only.

Workup Price

Trade price based on the BrokerTec workup matching algorithm

Lookup types

Several market data fields will inevitably vary at different depths of the market (e.g., bid quantity). For these fields, you can specify a market depth to retrieve the attribute at that price level. The LookupType block setting allows you to choose a method of specifying a market depth for applicable attributes:

  • Best. The block returns the value at the inside market.

  • Index. The Field block exposes an additional port, as shown in the following illustration. You can connect a numeric value into this port to specify a price level.

    Example: Index lookup type

    Note: The Index count does not take into account the price levels where the selected attribute is zero. For instance, the following illustration shows the first three index levels of the Bid quantity for the ZB Sep16 contract. In addition, when the provided index is negative or goes beyond the existing market depth, the block will output a zero for quantity-related attributes and a NaN (Not A Number) for price-related attributes

  • Price. When this option is selected, the Field block exposes an additional port, as shown in the illustration below. The user may feed a numeric value into this port to specify an index level. The index level is defined as the number of “ticks” away from the best bid/offer, taking into account only the price levels where the selected attribute is non-zero.

    Example: Price lookup type

Flip for Sell Order functionality

The Order Side variable will appear automatically for any algorithm containing a block with the Flip For Sell Order functionality enabled, and the user must set this variable before launching the algorithm.

When this functionality is enabled, the following pairs of attributes will alternate depending on the user’s selection of the Order Side variable.

  • Bid Price / Ask Price
  • Bid Qty / Ask Qty
  • High / Low
  • Direct Bid Qty / Direct Ask Qty
  • Bid Orders Qty / Ask Orders Qty
  • Direct Bid Price / Direct Ask Price

Block properties

To customize the block, update the Block Properties.

Property Description
Name Name to display beneath the block on the ADL canvas
Field Name

Market data field value to extract

Lookup Type

Price level to use for the value

The following lookup types allow you indicate a market depth to use:

  • Best: Inside market.
  • Index: Number of price levels away from the inside market (max=20).
  • Price: Specific price at which to retrieve the value. When selected, a price input port is added to the block.

Note: The selected Field Name determines which, if any, of these lookup types are available.

Flip for Sell Order

Whether to enable a single algorithm to act either as buy or sell side routine as needed

See Flip For Sell Order Functionality for more information.