This code generates the tables needed for the Israeli capital gains/losses tax forms for people who have an Interactive Brokers (IB) accounts.
For ease of use for non python users, it is adapted for use in a Google Colab notebook that contain instructions: https://colab.research.google.com/drive/1nYSSYar-MK5CTc0g6tAPepA2iaaORaOz#scrollTo=AUoXTyNeoNKv