Overview
TradeReply organizes trading data into three analytical scopes: Transaction, Trade, and Portfolio.
Scope tells TradeReply what level of your trading activity a field, metric, filter, or calculation represents.
Understanding scope is important when using Trade Builder, dashboards, Trade Analysis, strategies, filters, and calculated metrics because the same type of information can mean something different depending on the level you are analyzing.
The Three Scopes
TradeReply uses the following hierarchy:
- Transaction — one individual Entry or Exit.
- Trade — the complete trade across its related Entries and Exits.
- Portfolio — trading activity across the selected Trade Account.
You can think of the relationship as: Transactions belong to Trades, and Trades belong to a Trade Account.
Transaction Scope
Transaction is the most detailed scope.
A transaction represents an individual Entry or Exit within a trade.
Transaction-level information can include details such as:
- Entry or exit price.
- Transaction date and time.
- Quantity associated with that Entry or Exit.
- Transaction-specific fees or costs where applicable.
- Transaction-level calculated metrics.
- Other information recorded on that individual form.
Example of Transaction Scope
Suppose you buy shares in two separate Entries and later sell them using three separate Exits.
Each Entry and Exit is its own transaction.
When you view a metric at Transaction scope, you are asking: “What happened on this specific Entry or Exit?”
Trade Scope
Trade scope represents the trade as a whole.
A TradeReply Trade is a container that can include one or more Entries and zero or more Exits.
Trade-level metrics can combine or derive information from the transactions belonging to that trade.
Examples can include:
- Total trade profit or loss.
- Average prices.
- Total quantities.
- Trade duration.
- Trade-level return metrics.
- Other metrics representing the complete trade rather than one transaction.
Example of Trade Scope
If a trade contains two Entries and three Exits, looking at only one Exit may not tell you whether the complete trade was profitable.
Trade scope evaluates the appropriate information across the trade's related transactions.
When you view Trade scope, you are asking: “What happened across this entire trade?”
Portfolio Scope
Portfolio is the highest TradeReply analytical scope.
Portfolio scope represents trading activity across the selected Trade Account.
It can be used to understand broader performance and account-level patterns across multiple trades.
Portfolio-level information can include measurements related to:
- Performance across multiple trades.
- Portfolio-level profit and loss.
- Risk and exposure.
- Account-level trading metrics.
- Performance trends across strategies or other trading dimensions.
Portfolio Scope Does Not Combine All Your Trade Accounts
Portfolio scope is limited to the applicable Trade Account.
If you have several Trade Accounts, TradeReply does not automatically combine all of them into one Portfolio-scope calculation.
Always check which Trade Account is selected before interpreting a Portfolio-level value.
A Simple Way to Think About Scope
Each scope answers a different question:
- Transaction: What happened on this individual Entry or Exit?
- Trade: What happened across the complete trade?
- Portfolio: What is happening across the trades in this Trade Account?
Why the Same Field Can Look Different at Different Scopes
Moving from one scope to another does not simply repeat the same number.
TradeReply may need to combine lower-level information to produce the appropriate higher-level value.
For example, several transaction values may contribute to one Trade-level result, and multiple Trade-level values may contribute to a Portfolio-level result.
The method used depends on the field. Some values may be totaled, averaged, weighted, selected from the appropriate record, or calculated using another field-specific method.
Higher Scope Does Not Always Mean “Sum”
Do not assume that moving from Transaction to Trade or from Trade to Portfolio simply adds the lower-level values together.
Different metrics require different methods.
For example, a total profit metric may appropriately use a total, while an average price or percentage metric may require a different calculation. TradeReply applies the behavior defined for the applicable field.
Scope in Trade Builder
Trade Builder lets you work directly with the fields associated with your Entries, Exits, Trades, and Trade Account.
Some fields can also provide higher-scope context while you are reviewing a trade.
Depending on the field, you may be able to inspect how information relates to:
- The current Transaction.
- The complete Trade.
- The Portfolio within the selected Trade Account.
This helps you understand how an individual trading decision fits into the larger result.
Scope in Dashboards
Dashboard widgets can analyze data at different scopes depending on the widget configuration and available fields.
Choosing the correct scope is important because it determines the type of records the widget is analyzing.
For example, a Transaction-scope analysis can examine individual Entries or Exits, while a Trade-scope analysis works with complete Trades.
Portfolio-scope metrics provide account-level information for the selected Trade Account.
Scope in Trade Analysis
Trade Analysis also uses Transaction, Trade, and Portfolio scopes.
Fields available for Rows, Columns, Values, and filters can carry a defined scope so TradeReply knows which level of data should be evaluated.
This allows you to move between detailed transaction analysis and broader Trade or Portfolio analysis without treating all records as though they represent the same thing.
Scope in Filters
Scope is especially important when creating filters.
A filter condition can specify whether TradeReply should evaluate a field at the Transaction, Trade, or Portfolio level.
For example, filtering an individual transaction metric is different from filtering a metric representing the result of the complete Trade.
Filter Scope Is Independent
In Trade Analysis, each applicable filter condition has its own scope.
TradeReply does not automatically change a filter's scope because you changed the Rows, Columns, or Values in the report.
When building more advanced analyses, review the scope of both your selected fields and your filters.
Scope in Strategies
Strategy conditions also use TradeReply's scoped field system.
Selecting the correct scope helps define whether a strategy condition is examining an individual transaction, the complete Trade, or applicable Portfolio-level information.
This is particularly important when similar fields are available at more than one level.
Dimensions and Metrics Have Scope
Scope applies to both dimensions and metrics.
Dimensions describe or categorize trading activity, such as ticker, position type, outcome, or another classification.
Metrics measure numeric information, such as profit and loss, return, quantity, price, or duration.
Not every dimension or metric is available at every scope. TradeReply shows fields according to where they are valid and how they can be used by the current feature.
Scope and Calculated Fields
Calculated fields can also exist at different scopes.
A Transaction-level calculation can describe one Entry or Exit. A Trade-level calculation can derive a result across the transactions in that Trade. A Portfolio-level calculation can provide broader information across the Trade Account.
For more information about calculated metrics, see Using Calculated Fields for Insights in the TradeReply Help Center.
Scope and Published Data
The lifecycle of your trading data also matters.
Draft information can be used while you are building and reviewing a trade, but normal dashboard and reporting analytics rely on the applicable published trading data.
If a value appears in Trade Builder but is missing from broader analytics, check whether the relevant Trade or form is still in draft status.
Choosing the Right Scope
Start with the question you want to answer.
- Use Transaction when you want to understand individual Entries and Exits.
- Use Trade when you want to evaluate complete trading outcomes.
- Use Portfolio when you want to understand broader performance within the selected Trade Account.
Example: Analyzing Losing Trades
Suppose you want to understand losses.
At Transaction scope, you might study individual losing Exits or other transaction-level measurements.
At Trade scope, you can study complete Trades that finished with a loss, regardless of how many Entries or Exits they contained.
At Portfolio scope, you can examine broader loss-related metrics across the selected Trade Account.
Each view answers a different question, even though they relate to the same underlying trading activity.
Example: A Trade With Multiple Exits
Imagine you enter a position once and close it through three separate Exits.
The three Exits each have their own Transaction-level information.
Trade scope represents the combined result of the complete Trade rather than treating one Exit as the final result.
Portfolio scope then places that Trade in the broader context of other Trades in the same Trade Account.
Avoid Mixing Scope When Comparing Results
When comparing metrics, make sure you understand the scope of each value.
Comparing a Transaction-level result directly with a Trade-level result can be misleading because they represent different units of analysis.
The same applies when comparing a single Trade with a Portfolio-level measurement.
Need Help?
If you are unsure which scope to use for a dashboard, Trade Analysis report, strategy, filter, or metric, please submit a support request through the TradeReply Help Center.
Include the field or metric you are using, the feature where you are using it, and the question you are trying to answer.