{"id":26507442,"url":"https://github.com/jmakov/websockets_orderbook_example","last_synced_at":"2026-05-15T23:39:49.535Z","repository":{"id":185975249,"uuid":"605810085","full_name":"jmakov/websockets_orderbook_example","owner":"jmakov","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-28T14:03:35.000Z","size":12883,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-20T22:34:31.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/jmakov.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}},"created_at":"2023-02-24T00:13:43.000Z","updated_at":"2023-02-28T12:57:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"0450247a-8c06-4fda-aae4-e4b4657ca45d","html_url":"https://github.com/jmakov/websockets_orderbook_example","commit_stats":null,"previous_names":["jmakov/websockets_orderbook_example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmakov%2Fwebsockets_orderbook_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmakov%2Fwebsockets_orderbook_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmakov%2Fwebsockets_orderbook_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmakov%2Fwebsockets_orderbook_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmakov","download_url":"https://codeload.github.com/jmakov/websockets_orderbook_example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244706543,"owners_count":20496571,"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":"2025-03-20T23:19:42.976Z","updated_at":"2026-05-15T23:39:44.511Z","avatar_url":"https://github.com/jmakov.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple websocket client processing market data\n\n## Usage\n```bash\nDOCKER_BUILDKIT=1 docker build --target production -t production:0.9 .\n```\n## Design decisions\n### Project\n- multi stage Docker build enabling development (and debugging) in the Docker image\n\n## Development\n### CLion\n#### Docker toolbox\nIn case \"Services\" toolbox reports permission denied errors: \n```bash\nsudo chown $USER:docker /var/run/docker.sock\n```\n\n### Developing the app in the docker\nCLion toolchains can be extended with a Docker type. It requires a Docker image:\n```bash\nDOCKER_BUILDKIT=1 docker build --target run_develop -t run_develop:latest .\n```\nAdd a new CMake profile (Settings -\u003e Build -\u003e CMake -\u003e Add) e.g. \"Debug-Docker\" and select the Docker toolchain. \n\nTo make the IDE aware which toolchain to use (and which indices/libs it should parse), change the \"Run/Debug Configuration\"\nto the configuration we have just created \"Debug-Docker\". After the IDE updates its index, we see the libs built in\nthe Docker image can now be imported. \n\n## TODO\n- send logs to Clickhouse for real time visualization\n- add percentile showing benchmarks e.g. [CppBenchmark](https://github.com/chronoxor/CppBenchmark)\n- use Hummingbot in another Docker container to simulate how agents (with default Hummingbot settings) respond to\n  - liquidity evaporation\n  - trend ignition\n  - quote stuffing (stalling the exchange \u0026 other market participants having to process more data than we i.e. slowing them down)\n  - discovering block orders\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmakov%2Fwebsockets_orderbook_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmakov%2Fwebsockets_orderbook_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmakov%2Fwebsockets_orderbook_example/lists"}