{"id":43007935,"url":"https://github.com/gitbitex/gitbitex-new","last_synced_at":"2026-01-31T05:04:17.498Z","repository":{"id":37035228,"uuid":"477022469","full_name":"gitbitex/gitbitex-new","owner":"gitbitex","description":"an open source cryptocurrency exchange","archived":false,"fork":false,"pushed_at":"2024-09-15T14:00:33.000Z","size":1725,"stargazers_count":235,"open_issues_count":1,"forks_count":85,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-09-16T15:16:31.822Z","etag":null,"topics":["btc","cryptocurrency","exchange","matching-algorithm","matching-engine","orderbooks","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitbitex.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":"2022-04-02T10:32:41.000Z","updated_at":"2024-09-15T14:00:36.000Z","dependencies_parsed_at":"2024-05-05T06:25:40.800Z","dependency_job_id":"75b06a03-28b8-4fca-a0d6-670556791e1a","html_url":"https://github.com/gitbitex/gitbitex-new","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitbitex/gitbitex-new","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbitex%2Fgitbitex-new","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbitex%2Fgitbitex-new/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbitex%2Fgitbitex-new/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbitex%2Fgitbitex-new/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitbitex","download_url":"https://codeload.github.com/gitbitex/gitbitex-new/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitbitex%2Fgitbitex-new/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"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":["btc","cryptocurrency","exchange","matching-algorithm","matching-engine","orderbooks","prometheus"],"created_at":"2026-01-31T05:04:16.874Z","updated_at":"2026-01-31T05:04:17.491Z","avatar_url":"https://github.com/gitbitex.png","language":"Java","readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"40%\" src=\"https://getbitex.oss-cn-beijing.aliyuncs.com/projects/image/logo.svg\" /\u003e\u003c/p\u003e\n\nGitBitEX is an open source cryptocurrency exchange.\n\n![微信图片_20220417184255](https://user-images.githubusercontent.com/4486680/163711067-8543457a-5b13-4131-bbd7-254860a580dc.png)\n\n\n## Features\n- All in memory matching engine\n- Support distributed deployment (standby mode：only one matching engine is running at the same time)\n- Support 100000 orders per second (Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz   3.79 GHz  32.0 GB RAM 1T SSD)\n- Support the replay of matching engine commands and ensure that each result is completely consistent\n\n## Architecture\n![gitbitex-architecture](https://github.com/gitbitex/gitbitex-new/assets/4486680/586238c9-a53d-4cb0-817b-c3ead4b96253)\n\n\n## Quick Start\n### Prerequisites\n- Install docker\n- Install jdk\n- Install maven\n- Update your **/etc/hosts** file. (required for mongodb-replica-set：https://github.com/UpSync-Dev/docker-compose-mongo-replica-set)\n```text\n127.0.0.1       mongo1\n127.0.0.1       mongo2\n127.0.0.1       mongo3\n```\n\n### Run\n\n```shell\ngit clone https://github.com/gitbitex/gitbitex-new.git\ncd gitbitex-new\ndocker compose up -d\nmvn clean package -Dmaven.test.skip=true\ncd target\njava -jar gitbitex-0.0.1-SNAPSHOT.jar\n#visit http://127.0.0.1/\n```\n\n## FAQ\n### How do i add new product (currency pair)?\n```shell\ncurl -X PUT -H \"Content-Type:application/json\" http://127.0.0.1/api/admin/products -d '{\"baseCurrency\":\"BTC\",\"quoteCurrency\":\"USDT\"}'\n```\n### Does the project include blockchain wallets?\nNo, you need to implement it yourself, and then connect to gitbiex.\nFor example, after users recharge/withdraw, send **_DepositCommand_**/**_WithdrawalCommand_** to the matching engine\n\n### How can I monitor the performance of the matching engine?\nSome prometheus metrics for measuring performance have been built into the project. \nYou can visit http://127.0.0.1:7002/actuator/prometheus see.You can use Prometheus and grafana to monitor.\nThe metrics are as follows:\n- **gbe_matching_engine_command_processed_total** : The number of commands processed by the matching engine. The greater the value change, the faster the processing.\n- **gbe_matching_engine_modified_object_created_total** : This value represents the number of objects that have modified,Wait to save to database.\n- **gbe_matching_engine_modified_object_saved_total** : The number of modified objects that have been saved. If the difference between this value and _gbe_matching_engine_modified_object_created_total_ is too large, it means that saving to disk is too slow.\n- **gbe_matching_engine_snapshot_taker_modified_objects_queue_size** : Objects that have not been written to the snapshot. This value reflects the performance of the snapshot thread.\n\n\n### Where is the API document?\nhttp://127.0.0.1/swagger-ui/index.html#/\n\n### Web code\nhttps://github.com/gitbitex/gitbitex-web\n\n## Contact Me\n- telegram：https://t.me/greensheng\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbitex%2Fgitbitex-new","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitbitex%2Fgitbitex-new","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitbitex%2Fgitbitex-new/lists"}