Thank you for your interest in making bitmex-cli better! We welcome contributions of all kinds—whether it's code, documentation, bug reports, or feature ideas.
To get started, open pull requests (PRs) or issues here on GitHub. Our maintainers review submissions and aim to respond as quickly as possible. Please note that not every PR will be accepted, and some may require changes before merging. We appreciate your patience and collaboration.
Please use GitHub Issues for bug reports and feature requests.
Bug reports:
To help us resolve issues quickly, include:
- The command you ran (please redact any API keys or secrets).
- The output you received (using
-o jsonfor structured output is helpful). - What you expected to happen instead.
- Your OS and architecture (
uname -a). - The CLI version (
bitmex --version).
Feature requests:
Tell us what you’d like the CLI to do and why. If possible, include a usage example. Prefix the title with Feature request: to help us find it easily.
- Fork the repository.
- Create a branch from
master. - Make your changes.
- Run
cargo buildandcargo testlocally to ensure everything works. - Open a pull request against
master.
- Keep PRs focused—one logical change per PR is best.
- Write clear, descriptive commit messages.
- Add or update tests for new behavior.
- Avoid unrelated formatting or refactoring changes.
- Enable "Allow edits from maintainers" on your PR so we can help with small adjustments if needed.
- Bug fixes with a reproducer or test case.
- New commands or flags that extend existing command groups.
- Documentation improvements.
- Test coverage for previously untested code paths.
- Large architectural changes without prior discussion (please open an issue first).
- Changes that break backward compatibility without strong justification.
- Features that require changes to BitMEX exchange infrastructure outside the CLI.
- Follow the existing patterns in the codebase.
- Run
cargo clippy -- -D warningsbefore submitting. - Avoid nightly-only features; the crate must build on stable Rust.
By contributing, you agree that your contributions will be licensed under the MIT License.
If you discover a security vulnerability, please do not open a public issue. Instead, follow the responsible disclosure process described in DISCLAIMER.md.