The Calendar component appears in three locations across Gainway Edge, and each instance can be configured independently with its own settings, templates, and display preferences. This guide covers all available configuration options, template management, and how settings apply per calendar instance.
Calendar Instances in Gainway
Gainway includes the Calendar component in three distinct views. Each maintains its own persistent settings , so you can tailor each view for its specific purpose.
- Dashboard Calendar (Month Mode) — month mode, quick monthly overview alongside Cumulative P&L chart and Trading Statistics sidebar
- Calendar Page (Continuous Mode) — continuous vertical scroll of weeks, full-screen for deep day/week analysis
- Analytics Calendar Widgets (Analytics) — Add via "Add Widget" → Calendar, can be month or continuous mode per widget instance
Note: Each calendar is fully independent — you can have one in month mode showing overview and another in continuous mode for detailed week-by-week analysis.
Opening Calendar Settings
Click the gear icon (⚙️) in the Calendar header (top-right of the calendar card) to open the Calendar Settings dialog. The dialog contains three tabs: General, Chips, andAccounts (when Per-Account mode is enabled).
General Tab — Calendar Behavior Settings+-
General Tab — Calendar Behavior Settings
| Setting | Description | Applies To | Default |
|---|---|---|---|
Display weeks in reverse order | Shows most recent week at the top (continuous mode) or reverses month row order (month mode). | Both modes | OFF |
Show per account | Enables Per-Account mode: each account (or Account Group) appears as a colored chip on day cells with its own P&L. | Both modes | OFF |
Group by account template | When Per-Account is ON, aggregates chips by Account Group instead of individual accounts. Requires at least one group with showInCalendarDayCells = true. | Both modes (requires Per-Account ON) | OFF |
Use Template Color | When Group by Account Template is ON, colors chips by the group's assigned color instead of P&L green/red. | Both modes (requires Per-Account + Group by Template ON) | ON |
Copy Day | Enables "Copy Day" button on day cells (continuous mode only). Copies day trades to clipboard. When ON, Day stats are synced to Weekly stats automatically. | Continuous mode only | ON |
Per-Account Mode Details
- Each account with trades on a given day renders as a chip:
AccountName: $PnL - Chips are colored by P&L (green positive, red negative) unless "Use Template Color" is enabled with grouping
- Hover a chip to see a tooltip with the primary stat + configured tooltip stats
- Saturday cells show a weekly summary row (same chips aggregated for the week)
- If more accounts/groups exist than the cell limit, a
+N morechip appears with a tooltip listing hidden items
Group by Account Template Details
- Uses Account Selection Groups with
showInCalendarDayCells = true - Each group becomes one chip showing aggregated P&L for all accounts in that group
- Group color overrides P&L color when "Use Template Color" is ON
- Accounts not in any group with
showInCalendarDayCells = trueappear as individual chips (ungrouped)
Chips Tab — Overall / Day / Weekly / Account Tooltip Stats+-
Chips Tab — Overall / Day / Weekly / Account Tooltip Stats
The Chips tab contains four sub-sections, each controlling a different stats display area:
1. Overall Stats (Chips)
Horizontal stat chips displayed at the top of the calendar (above the grid).
- Drag to reorder: Drag chips left/right to change display order
- Toggle visibility: Click the eye icon to show/hide each stat
- Available stats: Total PnL, Profit Factor, Expectancy, Win Rate, Trading Days, Total Trades, Avg Hold Time, Total Volume
- Default visible: Total PnL, Profit Factor, Expectancy, Win Rate, Trading Days, Total Trades, Avg Hold Time, Total Volume
2. Day Stats
Stats shown inside each day cell (when not in per-account mode) or below the date.
- Same drag-to-reorder and toggle-visibility interface
- Available stats: Total PnL, Total Trades, Win Rate, Avg Hold Time, Total Volume
- Default visible: Total PnL, Total Trades, Win Rate, Avg Hold Time, Total Volume
3. Weekly Stats
Stats shown on Saturday cells (weekly summary row in continuous mode).
- Copy Day sync: When "Copy Day" is ON (General tab), Day stats are automatically copied to Weekly stats — changes to Day stats propagate to Weekly
- When "Copy Day" is OFF, Weekly stats can be configured independently
- Available stats: Same as Day stats
- Default visible: Total PnL, Total Trades, Win Rate, Avg Hold Time, Total Volume
4. Account Tooltip Stats
Additional stats shown when hovering an account/group chip in Per-Account mode.
- The first visible stat becomes the chip label (e.g., "Account: $1,234.56")
- Remaining visible stats appear in the hover tooltip
- Available stats: Balance, Total PnL, Drawdown, Trade Count, Trading Days
- Default visible: Total PnL, Trading Days
- Default chip label: Total PnL (since it's first in default order)
Tip: Use the "Reset" button in each section to restore that section's defaults without affecting other sections.
Accounts Tab — Primary Stat per Account+-
Accounts Tab — Primary Stat per Account
Only visible when Per-Account mode is enabled (General tab).
Primary Stat per Account
Dropdown to select which statistic is shown as the main label on each account/group chip.
- Options: Total PnL, Profit Factor, Expectancy, Win Rate, Trading Days, Total Trades, Avg Hold Time, Total Volume
- Default: Total PnL
- This selection is saved per calendar instance
Account Tooltip Stats (repeated from Chips tab)
Same configuration as the Account Tooltip Stats section in the Chips tab — shown here for convenience when working in Per-Account mode.
Calendar Settings Templates
Calendar Settings Templates let you save a complete snapshot of all calendar settings (General, Chips, Accounts) and apply them to any calendar instance. This is the fastest way to replicate a configuration across the Dashboard, Calendar page, and Analytics widgets.
What a Template Captures+-
What a Template Captures
A template saves the complete CalendarSettingsTemplateConfigPreference object:
- General settings: Copy Day, Reverse Weeks, Per-Account Mode, Group by Template, Use Template Color, Account Stat Key
- Overall chips: Order + visibility
- Day stats: Order + visibility
- Weekly stats: Order + visibility
- Account Tooltip stats: Order + visibility
Note: Templates do NOT capture the actual trade data or filtered date range — only display/configuration settings.
Common Template Use Cases+-
Common Template Use Cases
| Template Name | Description | Best For |
|---|---|---|
Dashboard Overview | Month mode, minimal chips (PnL, Win Rate, Trades), Per-Account OFF | Dashboard calendar widget |
Deep Analysis | Continuous mode, Copy Day ON, full Day/Weekly stats, Per-Account ON with Group by Template | Calendar page (/calendar) |
Account Group Focus | Per-Account ON, Group by Template ON, Use Template Color ON, Account Tooltip = Balance, Drawdown, PnL | Analytics widget comparing prop firm groups |
Minimal Clean | Only Total PnL chip visible, no day stats, no per-account | Presentation / screenshot mode |
Applying a Template to a Specific Instance+-
Applying a Template to a Specific Instance
- Open the calendar instance's Settings dialog (gear icon on that specific calendar)
- Click Template in the footer
- Select your desired template (e.g., "Deep Analysis")
- Review the applied settings in each tab
- Click Save in the dialog footer
The template applies only to that calendar instance. Other instances (Dashboard, other widgets) are unaffected.
Quick Reference: All Calendar Settings
| Category | Setting | Tab | Modes | Default |
|---|---|---|---|---|
| General Behavior | Reverse Weeks | General | Month, Continuous | OFF |
Per-Account Mode | General | Month, Continuous | OFF | |
Group by Template | General | Month, Continuous (requires Per-Account) | OFF | |
Use Template Color | General | Month, Continuous (requires Group by Template) | ON | |
Copy Day | General | Continuous only | ON | |
Account Stat Key | Accounts | Month, Continuous (requires Per-Account) | Total PnL | |
| Overall Chips | Order + Visibility (8 stats) | Chips | Month, Continuous | All 8 visible |
| Total PnL, Profit Factor, Expectancy, Win Rate, Trading Days, Total Trades, Avg Hold Time, Total Volume | Chips | Month, Continuous | All visible | |
| Drag to reorder | Chips | Month, Continuous | Default order | |
| Reset button per section | Chips | Month, Continuous | — | |
| Day Stats | Order + Visibility (5 stats) | Chips | Month, Continuous | All 5 visible |
| Total PnL, Total Trades, Win Rate, Avg Hold Time, Total Volume | Chips | Month, Continuous | All visible | |
| Synced to Weekly when Copy Day = ON | Chips | Continuous | Auto-synced | |
| Weekly Stats | Order + Visibility (5 stats) | Chips | Continuous | All 5 visible |
| Independent when Copy Day = OFF | Chips | Continuous | Synced to Day | |
| Same 5 stats as Day | Chips | Continuous | — | |
| Account Tooltip | Order + Visibility (5 stats) | Chips / Accounts | Month, Continuous (requires Per-Account) | Total PnL, Trading Days |
| Balance, Total PnL, Drawdown, Trade Count, Trading Days | Chips / Accounts | Month, Continuous | — | |
| First visible = chip label | Chips / Accounts | Month, Continuous | Total PnL |
Best Practices
Dashboard vs Calendar Page vs Analytics+-
Dashboard vs Calendar Page vs Analytics
- Dashboard: Keep it clean — Month mode, minimal chips (PnL, Win Rate, Trades), Per-Account OFF. It's a quick glance alongside Cumulative P&L.
- Calendar Page: Go deep — Continuous mode, Copy Day ON, full Day/Weekly stats, Per-Account ON with Group by Template for firm/strategy comparison.
- Analytics Widgets: Create focused widgets — one Month mode for overview, one Continuous mode for detail. Use templates to keep them consistent.
Account Group Setup for Calendar+-
Account Group Setup for Calendar
To use Group by Account Template effectively:
- Create Account Groups in the Account Groups dialog (toolbar group icon)
- Enable In Calendar for groups you want to see as chips
- Assign accounts to groups (an account can be in multiple groups)
- In Calendar Settings → General: enable Per-Account → Group by Template → Use Template Color
- In Chips → Account Tooltip: set first stat to your preferred primary metric (e.g., Total PnL or Balance)
- Save as a template (e.g., "Firm Comparison") for reuse across instances
Performance Tips+-
Performance Tips
- Limit "In Calendar" groups to 5–7 for readable day cells; more groups overflow to "+N more"
- Disable Day/Weekly stats you don't need — fewer DOM nodes = smoother scrolling in Continuous mode
- Use "Copy Day = ON" to keep Day and Weekly stats in sync automatically
- Templates are instant — create a "Presentation" template with minimal stats for screenshots
Related Pages
- Account Groups — Create and manage account groups for Calendar grouping
- Chart Guide — Chart templates, tooltip stats, and Cumulative P&L with Account Groups
- Available Statistics — Formulas and interpretations for all stats shown in Calendar chips/tooltips
- Quick Start — Get started with Gainway Edge