Skip to content

sbjohansen/position-size-calculator

Repository files navigation

Position Size and Profit Calculator

This is a Python application built using the tkinter library that allows users to calculate position sizes and potential losses based on their account balance, risk percentage, entry points, and stop-loss levels. It also provides the option to toggle "Cornix Mode," which adjusts position sizes for users using Cornix.

Features

  • Input your account balance, risk percentage, leverage, and stop loss.
  • Choose between two entry types: "Evenly Divided Entry" or "Separate Risk Per Entry."
  • Add multiple entry points with corresponding prices.
  • Calculate position sizes and potential losses.
  • Optionally, enable "Cornix Mode" to adjust position sizes for Cornix users (takes leverage into consideration).
  • Access source code and relevant links directly from the application.

Usage

  1. Input your account balance, risk percentage, leverage, and stop loss in the "Info" section.
  2. Choose your desired entry type in the "Settings" section.
  3. Enter your entry points and corresponding prices in the "Entry Points" section.
  4. Click the "Calculate" button to see the calculated position sizes and potential losses.
  5. Optionally, enable "Cornix Mode" to adjust position sizes for users using Cornix.

Source Code and Links

  • Source Code: View the source code for this application on GitHub.
  • Cornix: Access the Cornix trading platform.

Releases

  • Releases: Downloadable application file

How to Run

To run this application, make sure you have Python installed on your system. You can run the following command:

python position-calculator.py

Alternatively, you can download the executable file from the Releases page.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages