Contributors Forks Stargazers Issues MIT License LinkedIn


Margin Calculator

Personally tailored investment tool.

Report Bug ยท Request Feature

About The Project

Are you willing to bet on long-term market growth? Great, this tool calculates how much margin you can take according to your risk-tolerance.

(back to top)

Built With

(back to top)


  1. You need to have python and a text editor installed.
  2. Edit the file with your numbers
  3. Run python

What does it do?

This tool tells you how much you can loan from your broker (e.x. Interactive Brokers), according to your risk tolerance.


  • The amount loaned from the broker will be invested in regular, non-leveraged securities.


Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag “enhancement”. Don’t forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)


Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)


Dan Nissim – [email protected]

Project Link:

(back to top)


View Github