AI Connections · Step 2 of 2

Bring in your broker trades

Keep your saved trades in step with your broker. Ask your AI assistant to bring them in, or upload your broker's own file in OMP. Either way, you approve every change.

Last updated

  • Nothing changes until you approve. Your assistant shows you exactly what OMP would change in your saved trades. You say yes, or you don't.
  • OMP never connects to your broker. It doesn't sign in to your broker account, place trades or move money.

Which should I use?

Route A

Chat with your AI assistant

  • Works with all 11 brokers OMP supports.
  • Quickest for everyday catch-ups, like “the last 30 days”.
  • Your assistant reads your trades from your broker's own connection, or from a file you attach in the chat.
  • If you attach a file, your assistant reads it before OMP sees it.
Route B

Upload your broker file in OMP

  • For Interactive Brokers (IBKR) and tastytrade.
  • Best for a full history, and for expiries, assignments and exercises.
  • The file goes straight to OMP, not through your AI assistant.
  • You still use your assistant to compare and approve.
You can use both. Many IBKR users catch up through the chat each week, then upload a Flex Query file now and then. IBKR's own connection can't show whether an option expired, was assigned or was exercised. The Flex Query file can.

Before you start

  1. Connect OMP to your AI assistant (for example ChatGPT or Claude). Follow step 1, Set up your AI assistant. AI Connections is included with All Access and the seven-day trial.
  2. Link your broker account once. This tells OMP which broker account your trades belong to, and which OMP account to save them in. You do it in the chat. See step A1.

Route A: chat with your AI assistant

You type normal sentences. Your assistant does the work and shows you what OMP would change. The pictures below are example conversations with made-up data. Your assistant's screen will look different.

Tell your assistant which broker, and which OMP account to save to. If you only use one OMP account, that's “Default”.

You could say

“Link my Interactive Brokers account to my OMP Default account. My IBKR account ID is U1234567.”

IBKR users: add your account ID. IBKR's connection doesn't show it, so your assistant can't look it up. It starts with U (or DU for a paper account). Type it exactly as IBKR shows it. U1234567 is only an example.

Example chat. You ask to link your Interactive Brokers account to your OMP Default account and give your IBKR account ID. The assistant confirms the link and says OMP doesn't connect to Interactive Brokers.
Example conversation. 1: name the broker and the OMP account. 2: IBKR only, add your account ID. 3: your assistant confirms.

A2. Ask your assistant to bring in your trades

If your broker has its own AI connection (see the broker table), add it to your assistant too. Then ask in your own words:

You could say

“Bring in my Interactive Brokers trades from the last 30 days and compare them with my saved trades.”

Example chat. The assistant reads 18 trades from the broker's connection and OMP compares them: 13 already match, 4 would be added or updated, 1 needs a decision. Nothing has changed yet.
Example conversation. Your assistant reads your broker's own connection, then OMP compares. Nothing has changed yet.

No connection for your broker? Attach the export file instead

Download your broker's trade history file and attach it in the chat. Say which broker it's from.

You could say

“This is my Schwab transaction history for October. Compare it with my saved trades in OMP.”

Example chat. You attach a CSV file and ask the assistant to compare it with your saved trades. The assistant reads 31 rows and OMP finds 3 changes to suggest.
Example conversation. 1: attach the file. 2: say which broker. 3: OMP compares, then you approve.

A3. Check what OMP would change

Your assistant lists each change in plain words: trades to add, trades to update, trades now closed. If OMP can't be sure about something, such as whether an option was assigned or expired, it asks you instead of guessing.

Example chat. The assistant shows a table of four proposed changes, a question about one option it can't be sure about, and says nothing has changed yet.
Example conversation with made-up tickers. 1: each change. 2: a question OMP needs you to answer. 3: nothing changes until you approve.

A4. Approve

If the list is right, approve it. OMP applies exactly what you were shown, nothing more. If something looks wrong, say so and don't approve. Your assistant can prepare a new list.

Example chat. You approve changes 1 to 4. The assistant confirms OMP applied 4 changes and the open question is still waiting.
Example conversation. You approve, and OMP applies only those changes.

Some assistants also give you a link to the change in OMP, on a page called Review OMP change. You can check it there and click Approve change. Approve soon after the list appears: a proposed change stays ready for 5 minutes. After that, ask your assistant to prepare it again.

Route B: upload your broker file in OMP

For Interactive Brokers (an Activity Flex Query file in XML) and tastytrade (a Transactions file in CSV). Link your account first (step A1). There are four steps.

  1. Export the file from your broker: IBKR or tastytrade.
  2. Upload it in OMP, under AI Connections, in Import a broker file. See B2.
  3. Read the summary OMP shows. See B3.
  4. Ask your assistant to compare it, then approve. See B4.

B1. Export from Interactive Brokers (IBKR)

You need an Activity Flex Query. You set it up once, then run it whenever you want a new file. The diagrams below are simplified drawings, not IBKR's real screens.

1. Find Flex Queries

Sign in to the IBKR Client Portal on the web. Open Performance & Reports, then Flex Queries. Next to Activity Flex Query, click + to create a new query, or the pencil to edit one you already have. Give it a name you'll recognise, such as “OMP trades”.

Simplified diagram: the Performance and Reports menu opens to Flex Queries. Next to Activity Flex Query there is a plus button to create a query and a pencil button to edit one.
Simplified diagram. 1: Performance & Reports, then Flex Queries. 2: + creates a query. 3: the pencil edits one.

2. Choose the sections

Tick these six sections. In every section, click Select All so all its fields are included.

Flex Query sections to tick
SectionOptions
TradesExecution only
Option Exercises, Assignments and ExpirationsAll fields
Open PositionsSummary
Cash TransactionsAll fields
Corporate ActionsAll fields
TransfersAll fields
Simplified diagram of the six ticked sections: Trades with only Execution ticked, Option Exercises Assignments and Expirations, Open Positions with Summary ticked, Cash Transactions, Corporate Actions and Transfers, plus a Select All button for the fields.
Simplified diagram. 1: tick the six sections. 2: Trades, Execution only. 3: Open Positions, Summary. 4: Select All in every section.

3. Set the General Configuration

Scroll down to General Configuration in the same query and set these:

Flex Query General Configuration settings
SettingSet it to
FormatXML
Date FormatyyyyMMdd
Time FormatHHmmss
Date/Time Separator; (semicolon)
Include Canceled TradesNo

Leave the other settings as they are. Click Continue, then Create (or Save if you're editing).

Most common mistake

Sections missing, or Open Positions not set to Summary

If your query only has Open Positions (and maybe an account summary), OMP sees what you hold today but none of your trades, expiries or assignments. Tick Trades and Option Exercises, Assignments and Expirations as well.

In Open Positions, choose Summary and click Select All. Otherwise IBKR can list a position more than once without saying which row is the total, and OMP holds those rows back.

Already made the query? Click the pencil, fix the sections, save, then run it again and upload the new file.

Simplified diagram of General Configuration: Format XML, Date Format yyyyMMdd (recommended; OMP also reads other formats), Time Format HHmmss, Date/Time Separator semicolon, Include Canceled Trades No, then the Continue and Create button.
Simplified diagram. 1: XML. 2: yyyyMMdd (recommended; OMP also reads other formats). 3: HHmmss. 4: semicolon. 5: no canceled trades. 6: save.

4. Run it and download the file

In the Flex Queries list, click the run arrow next to your query. Choose the Period (up to 365 days at a time), set Format to XML, and click Run. Save the .xml file it downloads.

Simplified diagram: the run arrow next to the query opens a Run window with Period and Format XML, and a Run button.
Simplified diagram. 1: run arrow. 2: Period. 3: XML. 4: Run, then save the file.

Need more than a year? Run the query once for each year and upload each file. IBKR keeps this year and the four years before it.

B1. Export from tastytrade

  1. Sign in at my.tastytrade.com, or open the desktop app.
  2. Open History, then Transactions.
  3. Choose the account and set the start and end dates.
  4. Scroll to the bottom until every row has loaded. Rows load about 200 at a time, and rows that haven't loaded can be left out of the file.
  5. Click the CSV icon and save the file.
Don't skip the scrolling. tastytrade's file doesn't say which dates it covers, so OMP can't tell whether rows are missing. Your summary in OMP will say “Completeness unknown”. That's normal for tastytrade files.
OMP summary for a tastytrade file, with example data. A Completeness unknown badge, and a note to scroll to the end of the History list before exporting.
What OMP shows after a tastytrade upload (example data).

B2. Upload the file in OMP

In OMP, open AI Connections from the menu. Scroll down to Import a broker file.

The Import a broker file section showing: No linked broker account accepts a file yet. It asks you to link your broker account through your assistant first.
If you see “No linked broker account accepts a file yet”, link your account first (step A1).
  1. Linked broker account: choose the account you linked. It shows which OMP account it saves to.
  2. How do I export this? Open it for a short version of the export steps.
  3. Time zone of the times in the file (IBKR only): choose the time zone your Flex Query uses. Not sure? Choose “Not sure (use dates only)”. OMP then matches trades by date only, and you can upload the same file again later with the right time zone.
  4. File: choose the file you downloaded (up to 4 MB).
  5. Click Import file.
The upload form with five callouts: the linked broker account, How do I export this, the time zone, the file, and the Import file button.
The upload form on a computer (example data).
The same upload form on a phone, with the same five numbered callouts.
The same form on a phone.

For IBKR, use the full steps on this page, including the General Configuration settings.

B3. Read the summary

OMP reads the file and shows a summary. At this point nothing in your saved trades has changed.

  1. Complete, Partial or Completeness unknown: whether the file shows it holds every trade for its dates.
  2. A reminder that nothing has changed yet.
  3. Your next step: the exact sentence to ask your assistant.
  4. What OMP found: trades ready to compare, rows kept for reference (like deposits and dividends), rows that need review, and rows OMP couldn't read.
  5. What this file may be missing: anything to fix in your export, such as a missing section.
  6. Need review: rows held back until you go through them with your assistant, such as stock splits or shares moved in or out.
  7. Parts: OMP compares up to 100 trades at a time. Your assistant goes through the parts in order.
The summary after an IBKR upload with example data: a Partial badge, the next step, counts of 122 ready to compare, 20 kept for reference, 8 need review and 1 could not read, what the file may be missing, the rows that need review, and the file split into 2 parts.
The summary after an IBKR upload (example data).

B4. Ask your assistant to compare it, then approve

Go to your AI assistant and ask:

You could say

“Compare the broker file I just uploaded to OMP with my saved trades.”

Your assistant finds your upload, shows you each difference, goes through any rows that need review, and asks before anything changes. It's the same check and approve as Route A, steps A3 and A4.

The Recent file imports list with example uploads marked Compared, Replaced by a later upload and Not compared yet.
Recent file imports, under the form, shows each upload and where it's up to: Not compared yet, Waiting for your approval, Partly compared, Compared, or Replaced by a later upload.

Your broker at a glance

You can link an account at any of these 11 brokers through your AI assistant. “Connection” means the broker's own AI connection, which you add to your assistant yourself.

  • Interactive Brokers (IBKR)

    Route A: chat with your assistant
    IBKR's own connection for everyday trades. It can't show expiries, assignments or exercises, so add a Flex Query file for those.
    Route B: upload in OMP
    Yes: Activity Flex Query (XML)
  • tastytrade

    Route A: chat with your assistant
    tastytrade's own connection (you run it yourself), or attach your Transactions CSV.
    Route B: upload in OMP
    Yes: Transactions (CSV)
  • Alpaca

    Route A: chat with your assistant
    Alpaca's own connection. It includes expiries, assignments and exercises.
    Route B: upload in OMP
    No
  • Tradier

    Route A: chat with your assistant
    Tradier's own connection. Confirm expiries and assignments in the chat.
    Route B: upload in OMP
    No
  • Charles Schwab

    Route A: chat with your assistant
    No official connection yet. Attach your transaction history CSV, about a quarter at a time.
    Route B: upload in OMP
    No
  • Webull

    Route A: chat with your assistant
    Webull's connection shows orders and positions. Confirm expiries and assignments in the chat.
    Route B: upload in OMP
    No
  • Robinhood

    Route A: chat with your assistant
    Attach your account activity report (CSV) for history. Use Robinhood's connection for current positions.
    Route B: upload in OMP
    No
  • TradeStation

    Route A: chat with your assistant
    TradeStation's connection for positions and recent trades. Confirm expiries and assignments in the chat.
    Route B: upload in OMP
    No
  • E*TRADE

    Route A: chat with your assistant
    No connection. Attach your activity CSV, about six months at a time.
    Route B: upload in OMP
    No
  • Public

    Route A: chat with your assistant
    Public's own connection. Confirm expiries and assignments in the chat. Public has no file you can attach.
    Route B: upload in OMP
    No
  • Fidelity

    Route A: chat with your assistant
    No connection. Attach your Activity & Orders history CSV, about a quarter at a time.
    Route B: upload in OMP
    No

Based on what each broker offered on 8 November 2026. Brokers change their tools often. Ask your assistant “What does OMP recommend for my broker?” for the latest advice.

Questions

What if I upload the same file twice?

Nothing new is added. OMP recognises the file and shows the results from your first upload.

Summary saying You already uploaded this file, with a note that you can choose a different time zone and upload the same file again.
Uploading the same file again (example data).

In the chat, OMP also checks each trade against your saved trades, so the same trade isn't added twice. With IBKR, if you upload a Flex Query file, don't also ask your assistant to bring in the same dates from IBKR's connection.

I chose the wrong time zone for my IBKR file. What now?

Choose the right time zone and upload the same file again. The new upload replaces the old one, so nothing is counted twice.

Summary showing the time zone used this time, and a Replaces your earlier upload note.
Uploading the same file with another time zone (example data).
Why are some rows “held back” or “need review”?

OMP holds back rows it can't safely apply on its own. Examples: stock splits and symbol changes, shares moved in or out without a trade, or an assignment with no matching share purchase. Your assistant goes through each one with you. Nothing is applied until you approve.

“Kept for reference” rows, like deposits, dividends and interest, are stored but don't change your trades.

The summary says “Partial”. Is something wrong?

Not necessarily. “Partial” means some trades for those dates may be missing, or are held back for review. Read What this file may be missing. If it says a section is missing, add that section to your Flex Query, run it again and upload the new file.

What date format should my file use?

Any of the common ones. OMP works out the date format from the file itself, including day/month/year (common in Australia and the UK), month/day/year and year-month-day. The summary tells you how it read the dates.

If every date in the file could be read two ways (for example 07/11/2025 could be 7 November or 11 July), OMP asks you which it is. It never guesses. If you pick wrong, upload the same file again with the other answer; the new upload replaces the old one.

For IBKR we still recommend yyyyMMdd (see the General Configuration settings), because it can never be read two ways.

It says the file is for a different account.

The file came from a different broker account than the one you chose, so nothing was imported. Choose the matching linked account, or export the file from the right account. For IBKR, OMP checks the file against the account ID you gave when you linked it.

Error message: This file is for a different account than the one you chose, so nothing was imported.
The wrong-account message (example data).
My file is too big.

Files can be up to 4 MB. Export a shorter date range and upload each part.

Who sees my file? Is it private?

When you upload in OMP, the file goes straight to OMP, not through your AI assistant. OMP only reads it. It doesn't connect to your broker.

When you attach a file in the chat, your AI assistant reads it first and then passes the trades to OMP. Your assistant's own privacy terms apply to what you share in the chat.

OMP never asks for your broker password, never places trades and never moves money.

I approved too late and the change didn't apply.

A proposed change stays ready for 5 minutes. If it has expired, or the trade changed in the meantime, ask your assistant to prepare the change again and approve the new list.

All screenshots and conversations in this guide use made-up example data. The IBKR pictures are simplified diagrams, not IBKR's real screens. Your AI assistant's screen will look different from the example conversations.

Options Matrix Pro doesn't connect to your broker account, place broker orders or move money.