> For the complete documentation index, see [llms.txt](https://docs.wingmantracker.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wingmantracker.com/getting-started/adding-an-account/interactive-brokers-positions-csv-instructions.md).

# Interactive Brokers Positions CSV Instructions

{% hint style="info" %}
You only use this Positions CSV file once from Interactive Brokers when adding an account. Importing transactions day-to-day going forward is different CSV, which has its own instructions.
{% endhint %}

**1. Open Interactive Brokers in the TWS Classic mode (not Mosaic).**

**2. Click on the "Account" icon at the top (stacked coins)**

![](/files/-MAs73Lro6RQknaB9NRl)

**3. File --> Export Portfolio...**

![](/files/-MAs7EwI80c8-dh_UxCm)

**4. Save the file to your preferred computer folder. You will then select this file to upload into Wingman, so make sure you see which folder it is saving to.**\
The file name doesn't matter, so feel free to name it anything to help you recognize the correct file when importing to Wingman.

![](/files/-MAs7Qam2-F6gtC70DHf)

**5. Head back to Wingman and choose the file to import.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wingmantracker.com/getting-started/adding-an-account/interactive-brokers-positions-csv-instructions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
