Day Trade Tax B3
- Yardımcı programlar
- Sürüm: 1.0
- Etkinleştirmeler: 5
This utility reads the history of your account and estimates the Brazilian income tax of day trades in futures of B3: WIN, WDO, IND and DOL.
For each month the panel shows the result, the losses of earlier months, the 1% already kept by the broker and the amount of the DARF, code 6015.
How it calculates, following the normative instruction 1585 of 2015 of the Brazilian tax authority:
The first purchase of the day is paired with the first sale of the same contract, and so on. Positions from earlier days are left out.
Losses only reduce day trades of the same month or of the next ones.
The tax is 20% of what remains, less the 1% kept by the broker. What is left of the 1% goes to the next months of the same year.
A DARF under 10 reais waits and is added to the next one.
How to use it: attach the utility to any chart. In the History tab of the terminal, choose All History. The months and the days are also saved as files for spreadsheets in the folder MQL5\Files\DayTradeTax, so you can compare them with your brokerage notes.
Inputs: fees per contract for the index and for the dollar, losses from before this history, number of months on the panel, panel side and font size. If your broker records the fees in the history, they are already counted: leave the inputs at zero.
Only this account is read. If you trade at more than one broker, the tax is calculated over the sum of them. Stocks, options and positions kept overnight are left out.
In the Strategy Tester the utility shows sample data. It does not trade, and nothing is sent anywhere. The numbers are estimates: check them with your accountant before paying.
