Skip to main content

Task Pane

The AEX task pane is a side panel inside Excel that complements the custom functions. It shows your connection status, market session state, a live order blotter, a manual order entry form, and your fill history — all without needing any spreadsheet formulas.

The task pane and custom functions share the same underlying connection. You do not need to log in separately for each.


Opening the Task Pane

  1. Select the AEX tab in the Excel ribbon.
  2. Click Open AEX (or the AEX icon) in the ribbon group.

The task pane opens on the right side of the Excel window. You can resize or undock it as you would any Excel task pane.

tip

The add-in uses a shared runtime with lifetime="long". This means the WebSocket connection stays active even if you close the task pane. Your streaming functions continue to update and your orders remain live. You only lose the connection when you close Excel or sign out.


Connection Panel

The Connection Panel runs across the top of the task pane at all times, regardless of which tab is active.

ElementDescription
Status iconGreen tick = connected; spinning yellow = connecting or reconnecting; red X = disconnected or error
User avatar and nameShows your account initial and display name when authenticated
Version badgeDisplays the current add-in version
Login buttonAppears when you are not signed in. Opens the MSAL authentication dialog.
Sign-out buttonAppears when you are signed in. Disconnects and clears your session.

Signing In

  1. Click Login in the connection panel.
  2. An authentication dialog opens. Sign in with your Microsoft account.
  3. Once authenticated, the connection panel shows your name and a green connected icon.
  4. Custom functions that were showing #GETTING_DATA begin returning live values.

Reconnecting

If the connection drops, the status icon turns yellow and the panel shows a reconnecting message — for example, Reconnecting (attempt 2) — 8s.... The add-in attempts to reconnect automatically. You do not need to take any action unless the reconnection fails, in which case an error message appears and you can sign in again.


Market Tab

The Market tab shows a summary of the current session and connection state.

FieldDescription
SessionCurrent session state: OPEN, PRE_OPEN, CLOSED, or HALTED
ConnectionWebSocket connection status

This tab is useful for a quick health check before trading — confirm the session is OPEN and the connection is live before enabling ORDERTRACK formulas or submitting manual orders.

The same session state is available as a formula: =AEX.SESSION().


Orders Tab

The Orders tab has two sections: the Order Entry form at the top and the Active Orders blotter below.

Order Entry Form

The order entry form lets you submit a single order without writing any formulas.

FieldDescription
NodeGXP node selector — choose from available nodes (e.g. OTA, BEN)
SeriesContract profile selector (e.g. ON, EP, MP, BASE, PEAK)
BUY / SELLSide toggle — green for BUY, red for SELL
PriceLimit price in $/MWh
Vol (MW)Volume in MW
Volume shortcutsQuick-set buttons for common volumes
Submit OrderSubmits the order. Disabled if fields are invalid or if a submission is in progress.

The form validates price and volume as you type and shows inline error messages for invalid values. There is a 500 ms cooldown between submissions to prevent accidental double-clicks.

note

Orders submitted through the Order Entry form appear in the Active Orders blotter and are accessible via AEX.ORDERS() and AEX.ORDER() in your spreadsheet.

Active Orders Blotter

The Active Orders blotter shows all orders for your session.

ColumnDescription
ContractContract ID
SideBUY (green) or SELL (red)
QtyOrder quantity in MW
PriceLimit price in $/MWh
StateCurrent order state with an icon
Cancel buttonSends a cancel request for that order

Order states:

StateIconMeaning
workingBlue circleActive in the matching engine
heldYellow pauseSubmitted but not in matching (liveFlag = FALSE)
partialYellow tickPartially filled, remainder still working
filledGreen tickFully filled
cancelledGrey XCancelled
rejectedRed triangleRejected by the server

Click Cancel on any working or held order to send a cancellation request. The button shows Cancelling... while the request is in flight.

caution

Cancelling an order from the blotter cancels the server order. If the order was created by an AEX.ORDERTRACK formula, the formula cell will show the order ID followed by [CANCELLED]. The formula does not re-submit the order automatically.


Fills Tab

The Fills tab shows the fill history for the current session in reverse-chronological order.

ColumnDescription
TimeTimestamp of the trade
ContractContract ID of the filled contract
SideAggressing side (BUY or SELL)
QtyFilled quantity in MW
PriceFill price in $/MWh

The same fill data is available as a formula: =AEX.FILLS(filterKey, count). The task pane blotter shows all fills; the formula lets you filter by order or contract.


How the Task Pane Complements Spreadsheet Functions

The task pane and custom functions are two views of the same underlying data:

TaskTask paneCustom functions
Check connection statusConnection panel=AEX.STATUS()
Check session stateMarket tab=AEX.SESSION()
View working ordersOrders blotter=AEX.ORDERS() + =AEX.ORDER()
Submit a one-off orderOrder Entry form
Enable ORDERTRACK formulasOrders tab (Enable button)
Cancel an orderOrders blotter Cancel button
View fill historyFills tab=AEX.FILLS()
View positions=AEX.POSITIONS() or =AEX.POSITION()

Use the task pane for one-off actions and status checks. Use the custom functions when you want live data wired into your spreadsheet calculations.


Next Steps