{"id":15719927,"url":"https://github.com/andrewbarba/bitmex-node","last_synced_at":"2025-03-30T22:46:05.179Z","repository":{"id":145541298,"uuid":"153461208","full_name":"AndrewBarba/bitmex-node","owner":"AndrewBarba","description":"Rest and Realtime Client for Bitmex","archived":false,"fork":false,"pushed_at":"2020-05-02T15:09:58.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T04:13:24.118Z","etag":null,"topics":["bitmex","bitmex-api","cryptocurrency","cryptoexchange","websockets"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/AndrewBarba.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-10-17T13:25:38.000Z","updated_at":"2020-06-19T00:49:54.000Z","dependencies_parsed_at":"2023-05-23T09:15:43.933Z","dependency_job_id":null,"html_url":"https://github.com/AndrewBarba/bitmex-node","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/AndrewBarba%2Fbitmex-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbitmex-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbitmex-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewBarba%2Fbitmex-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewBarba","download_url":"https://codeload.github.com/AndrewBarba/bitmex-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390857,"owners_count":20769476,"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":["bitmex","bitmex-api","cryptocurrency","cryptoexchange","websockets"],"created_at":"2024-10-03T21:57:16.073Z","updated_at":"2025-03-30T22:46:05.143Z","avatar_url":"https://github.com/AndrewBarba.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitmex-node\n\n[![wercker status](https://app.wercker.com/status/feb7e7d87d5a4a29ea9c04b4a1350a44/s/master \"wercker status\")](https://app.wercker.com/project/byKey/feb7e7d87d5a4a29ea9c04b4a1350a44)\n\n\u003e *Warning:* This is still in development and the API may change before the official 1.0.0 release.\n\nA full-featured Bitmex API client for Node.js\n\n- [x] Realtime and Rest clients\n- [x] 100% unit-test coverage\n- [x] Heavily documented\n- [x] Promise based with async/await\n\n## Initialize Client\n\n#### Combined\n\n```javascript\nconst Bitmex = require('bitmex-node')\n\nlet bitmex = new Bitmex({\n  apiKey: '12345',\n  apiSecret: 'abcde'\n})\n\nbitmex.rest.request(...)\n\nbitmex.realtime.on('message', () =\u003e {})\n```\n\n#### Seperately\n\n```javascript\nconst bitmex = require('bitmex-node')\n\nlet restClient = new bitmex.RestClient({\n  apiKey: '12345',\n  apiSecret: 'abcde'\n})\n\nlet realtimeClient = new bitmex.RealtimeClient({\n  apiKey: '12345',\n  apiSecret: 'abcde'\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbarba%2Fbitmex-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewbarba%2Fbitmex-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewbarba%2Fbitmex-node/lists"}