{"id":25056521,"url":"https://github.com/ascender1729/bybitcalculator","last_synced_at":"2026-03-09T12:38:20.994Z","repository":{"id":246995490,"uuid":"824492512","full_name":"ascender1729/BybitCalculator","owner":"ascender1729","description":"A Ruby application for cryptocurrency traders to calculate and analyze risks and strategies for ByBit's Inverse BTCUSD Perpetual contracts using a GUI built with Tk.","archived":false,"fork":false,"pushed_at":"2024-07-06T00:50:37.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T16:15:36.500Z","etag":null,"topics":["crypto-trading","cryptocurrency","financial-analysis","gui-application","investment-tools","risk-analysis","ruby","trading-strategies","trading-tools"],"latest_commit_sha":null,"homepage":"https://github.com/ascender1729/BybitCalculator","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ascender1729.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-05T08:49:24.000Z","updated_at":"2024-07-31T00:01:16.000Z","dependencies_parsed_at":"2024-07-06T04:11:10.518Z","dependency_job_id":null,"html_url":"https://github.com/ascender1729/BybitCalculator","commit_stats":null,"previous_names":["ascender1729/bybitcalculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ascender1729/BybitCalculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascender1729%2FBybitCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascender1729%2FBybitCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascender1729%2FBybitCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascender1729%2FBybitCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ascender1729","download_url":"https://codeload.github.com/ascender1729/BybitCalculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascender1729%2FBybitCalculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30295580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypto-trading","cryptocurrency","financial-analysis","gui-application","investment-tools","risk-analysis","ruby","trading-strategies","trading-tools"],"created_at":"2025-02-06T13:30:48.988Z","updated_at":"2026-03-09T12:38:20.978Z","avatar_url":"https://github.com/ascender1729.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ByBit Inverse BTCUSD Perpetual Calculator\n\nDeveloped by Pavan Kumar, this Ruby-based application assists cryptocurrency traders in managing and calculating risks associated with ByBit's Inverse BTCUSD Perpetual contracts. It features various calculators and a user-friendly interface implemented with Tk and Ruby gems.\n\n## Table of Contents\n\n- [Project Overview](#project-overview)\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Project Structure](#project-structure)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Project Overview\n\nThis desktop application is designed to help traders make informed decisions by providing detailed calculations for strategies such as averaging down and comparing different margin strategies.\n\n## Features\n\n- **Inverse Perpetual Calculator**: Compute liquidation and bankruptcy prices, and other metrics for both long and short positions.\n- **Averaging Down Calculator**: Helps plan additional purchases as the BTC price declines, providing new average entry prices.\n- **Strategy Comparison**: Allows comparison between different trading strategies like Isolated Margin and Cross Margin.\n\n## Technologies Used\n\n- **Programming Language**: Ruby\n- **GUI Toolkit**: Tk\n- **Ruby Gems**:\n  - `tk` - For the GUI components.\n  - `terminal-table` - To display tabular data in the terminal.\n  - `minitest` - For running unit tests on the application.\n\n## Project Structure\n\n```\nBybitCalculator/\n│\n├── assets/\n│   └── cal.ico\n│\n├── lib/\n│   ├── calculators/\n│   │   ├── averaging_down.rb\n│   │   ├── bybit_calculator.rb\n│   │   └── strategy_comparison.rb\n│   ├── gui/\n│   │   ├── averaging_down_tab.rb\n│   │   ├── inverse_perpetual_tab.rb\n│   │   └── strategy_comparison_tab.rb\n│   │   └── main_window.rb\n│   └── utilities/\n│       └── formatter.rb\n│\n├── test/\n│   ├── calculator_test.rb\n│   └── icon_test.rb\n│\n├── app.rb\n├── Gemfile\n├── Gemfile.lock\n├── LICENSE\n└── README.md\n```\n\n## Installation\n\nEnsure Ruby is installed on your system (Ruby 2.7+ recommended):\n1. Clone the repository:\n   ```\n   git clone https://github.com/ascender1729/BybitCalculator.git\n   cd BybitCalculator\n   ```\n2. Install required Ruby gems:\n   ```\n   bundle install\n   ```\n\n## Usage\n\nTo launch the application:\n```\nruby app.rb\n```\nNavigate through the tabs to access different calculators for various trading strategies.\n\n## Contributing\n\nInterested in contributing? Here's how you can help:\n1. Fork the repository.\n2. Create a new branch for your feature (`git checkout -b feature/AmazingFeature`).\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`).\n4. Push to the branch (`git push origin feature/AmazingFeature`).\n5. Submit a pull request.\n\n## License\n\nThis project is released under the MIT License. See the `LICENSE` file for details.\n\n## Contact\n\nPavan Kumar - pavankumard.pg19.ma@nitp.ac.in\n\nLinkedIn: [linkedin.com/in/im-pavankumar](https://www.linkedin.com/in/im-pavankumar/)\n\nProject Link: [github.com/ascender1729/BybitCalculator](https://github.com/ascender1729/BybitCalculator)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascender1729%2Fbybitcalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fascender1729%2Fbybitcalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascender1729%2Fbybitcalculator/lists"}