{"id":20426032,"url":"https://github.com/dfischer/bitmex-broker","last_synced_at":"2026-05-10T17:45:05.655Z","repository":{"id":66376794,"uuid":"158688285","full_name":"dfischer/Bitmex-Broker","owner":"dfischer","description":"Simple CLI that lets the user manage his/her entries, positions and total portfolio on Bitmex exchange.","archived":false,"fork":false,"pushed_at":"2018-11-14T18:47:42.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T15:39:27.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/dfischer.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":"2018-11-22T11:19:11.000Z","updated_at":"2019-11-20T08:15:35.000Z","dependencies_parsed_at":"2023-05-11T08:00:46.806Z","dependency_job_id":null,"html_url":"https://github.com/dfischer/Bitmex-Broker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfischer%2FBitmex-Broker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfischer%2FBitmex-Broker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfischer%2FBitmex-Broker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfischer%2FBitmex-Broker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfischer","download_url":"https://codeload.github.com/dfischer/Bitmex-Broker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241967054,"owners_count":20050331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-15T07:15:03.060Z","updated_at":"2026-05-10T17:45:05.624Z","avatar_url":"https://github.com/dfischer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitmex-Broker\nCLI that lets the user manage his/her entries, positions and total portfolio on Bitmex exchange.  \nTested and developed using python 3.7.0\n\n# Features\nPLEASE NOTE: ALL ENTRY ORDERS ARE RISK ADJUSTED. THIS MEANS THAT WHEN THE USER WANTS TO SUBMIT A NEW ENTRY ORDER HE/SHE WILL BE ASKED TO INPUT THE DESIRED RISK PERCENTAGE TO BE TAKEN AND THE DESIRED STOP-LOSS PRICE IN ORDER TO GET A RISK-ADJUSTED POSITION SIZE. IN OTHER WORDS, THERE IS NO WAY TO SELECT THE SIZE OF THE ORDER, IT IS CALCULATED USING THE RISK, THE STOP-LOSS PRICE AND THE ENTRY-PRICE AND THERE IS NO OTHER WAY TO SUBMIT ENTRY ORDERS USING THIS PROGRAM.  \n  \n-\u003e Risk-adjusted entry order submission.   \n-\u003e Aggressive orders (the order price is the closest possible price (+/- mininum bitmex increment) to the current price) - to be used as an alternative to market orders. This type of order is ideal when the user wants immediacy but is patient enough to not take liquidity.  \n-\u003e Stop-loss cancelation when the position is succefully closed (only available when the user tries to close the position with a market or an aggressive close order  \n-\u003e Portfolio overview (all existing positions and the total amount of unrealised profit in BTC)  \n-\u003e Portfolio selling (close all existing positions with market close orders)\n\n# Requirements\nPython 3.7.0  \nBravado and Bravado-core python libraries  \n\n# Usage\n\nEnter your api-key and secret (both for the testnet and the mainnet) on the __init__ function for the class BitmexWrapper located on main.py as the values for the api-key and api-secret arguments on the bitmex.bitmex function  \nRun main.py with python3  \nChoose between testnet or mainnet  \nEnjoy. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfischer%2Fbitmex-broker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfischer%2Fbitmex-broker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfischer%2Fbitmex-broker/lists"}