New Year sale: Professional and Ultra up to 50 PLN cheaper — until 6 January onlyGet your discount →

How to file PIT-38 from NinjaTrader for tax year 2026

  • Futures broker

Updated guide for people filing NinjaTrader activity in Poland: data export, tax calculation, and how to complete PIT-38.

Last updated: October 30, 2026•Reading time: ~15 minutes

Author: Podatek Giełdy Team

Capital gains tax specialists

Why does NinjaTrader require PIT-38?

NinjaTrader is a foreign broker and usually does not issue a PIT-8C. You work out the year's gain or loss from selling securities and derivatives yourself and report it in PIT-38.

PIT-38 is the annual return for income from selling shares, ETFs, bonds, derivatives and crypto (art. 30b of the PIT Act); the rate is 19% (the so-called Belka tax). Foreign dividends and interest go to part G of the same return. Polish dividends on which the payer already withheld the tax are not reported.

Important: You attach PIT-ZG to PIT-38 when you have income from sales in a country other than Poland through NinjaTrader (e.g. shares of a US company) — one per country; that is what podatki.gov.pl advises. Some KIS rulings hold that PIT-ZG is not needed when the treaty with that country gives the taxing right only to Poland — the tax is the same either way. NinjaTrader being based abroad does not decide this on its own.Read the PIT-ZG guide →

Read the complete PIT-38 guide →

How to export data from NinjaTrader?

To file PIT-38, you need to export the full transaction history from NinjaTrader for the entire tax year.

Step by step:

  1. 1Log in to the NinjaTrader web platform
  2. 2In the top right corner, click your initials and choose “Statements” from the menu
  3. 3On the “Statements and Reports” page, select your account (Live) and set “Report type” to “Fills”
  4. 4Set the period to the whole tax year: instead of “Today”, choose a custom date range (Custom Range) from 1 January to 31 December
  5. 5Click “Download CSV” — this downloads Fills.csv
  6. 6Set “Report type” to “Cash History”, keep the same period and click “Download CSV” — this is Cash History.csv
  7. 7Import both files together, in one import

Tip: For FIFO method, export history from the first purchase of shares that you still hold or sold in the reporting year.

Read detailed export instructions for NinjaTrader →

How to calculate PIT-38 tax for NinjaTrader?

PIT-38 tax calculation consists of several steps:

  1. 1Import file from NinjaTrader: Use our calculator to import the exported file.
  2. 2System automatically: Applies FIFO method, converts currencies to PLN using NBP rates, calculates tax.
  3. 3You will receive a summary: Ready to transcribe to the PIT-38 form.

Use our calculator

Our calculator automatically performs all calculations for you. Just import the file from NinjaTrader.

Start calculations
Read more about calculations →

How to fill in the PIT-38 form?

Filling in PIT-38 form with data from NinjaTrader:

  1. 1File PIT-38 through Twój e-PIT (e-Urząd Skarbowy) or e-Deklaracje.
  2. 2Enter personal data and tax year.
  3. 3Enter income and costs from the summary generated by the calculator.
  4. 4Calculate tax (19% of income).

Remember: If you have income from sales in a country other than Poland through NinjaTrader, attach PIT-ZG to your PIT-38 — one for each country; that is what podatki.gov.pl advises. Some KIS rulings do not require it when the treaty with that country gives the taxing right only to Poland.

Read more about filling in the form →

Frequently asked questions

Do I have to report all transactions from NinjaTrader?

Yes. In PIT-38 you report all sales and closed positions at NinjaTrader for the year — including those at a loss: a reported loss can be deducted in later years.

Are NinjaTrader commissions deductible?

Yes, commissions are a cost of revenue and reduce taxable income. The calculator automatically includes commissions.

Related guides

Ready to file PIT-38 from NinjaTrader?

Use our calculator to automatically compute your tax. Just import the file from NinjaTrader - the system will automatically apply FIFO, convert currencies and generate a summary ready to transcribe to PIT-38.

Up to 10 sales a year free • No credit card