{"id":37109824,"url":"https://github.com/stockmq/stockmq-server","last_synced_at":"2026-01-14T13:03:15.444Z","repository":{"id":72223370,"uuid":"578521656","full_name":"stockmq/stockmq-server","owner":"stockmq","description":"High-Performance message broker for the market data","archived":false,"fork":false,"pushed_at":"2024-01-28T20:16:48.000Z","size":175,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-28T21:24:31.960Z","etag":null,"topics":["binance","market-data","nats","stocks"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stockmq.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}},"created_at":"2022-12-15T08:57:16.000Z","updated_at":"2024-01-28T21:24:36.995Z","dependencies_parsed_at":"2024-01-28T21:24:35.809Z","dependency_job_id":"35ea8c10-56c1-4769-96cc-ca0f76566367","html_url":"https://github.com/stockmq/stockmq-server","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/stockmq/stockmq-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stockmq%2Fstockmq-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stockmq%2Fstockmq-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stockmq%2Fstockmq-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stockmq%2Fstockmq-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stockmq","download_url":"https://codeload.github.com/stockmq/stockmq-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stockmq%2Fstockmq-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["binance","market-data","nats","stocks"],"created_at":"2026-01-14T13:03:14.891Z","updated_at":"2026-01-14T13:03:15.438Z","avatar_url":"https://github.com/stockmq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StockMQ Server\n\n![build status](https://github.com/stockmq/stockmq-server/actions/workflows/build.yml/badge.svg)\n![build status](https://github.com/stockmq/stockmq-server/actions/workflows/docker-build.yml/badge.svg)\n\n\nHigh-Performance message broker for the market data.\n\nThis repository provides core functionality including WebSocket connector for Binance.\n\n# Requirements\n\nNATS Server\n\n```\ngo install github.com/nats-io/nats-server/v2@latest\n$(GOPATH)/bin/nats-server\n```\n\n# Example configuration\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cConfig\u003e\n    \u003cWebSocket\u003e\n        \u003cName\u003eBinance-BTCUSD\u003c/Name\u003e\n        \u003cEnabled\u003etrue\u003c/Enabled\u003e\n        \u003cURL\u003ewss://stream.binance.com:9443/ws\u003c/URL\u003e\n        \u003cHandler\u003eBinance\u003c/Handler\u003e\n        \u003cDialTimeout\u003e4\u003c/DialTimeout\u003e\n        \u003cRetryDelay\u003e3\u003c/RetryDelay\u003e\n        \u003cPingTimeout\u003e60\u003c/PingTimeout\u003e\n        \u003cReadLimit\u003e655350\u003c/ReadLimit\u003e\n        \u003cInitMessage\u003e{\"id\": 0, \"method\": \"SUBSCRIBE\", \"params\": [\"btcusdt@kline_1s\", \"btcusdt@depth\"]}\u003c/InitMessage\u003e\n    \u003c/WebSocket\u003e\n\u003c/Config\u003e\n```\n\n# Persistence\n\nIt's possible to persist messages to MongoDB and InfluxDB. See stockmq-config.xml for details.\n\nFor MongoDB database and collections will be created automatically.\n\n```xml\n    \u003cMongoDB\u003e\n        \u003cEnabled\u003etrue\u003c/Enabled\u003e\n        \u003cURL\u003emongodb://localhost:27017\u003c/URL\u003e\n        \u003cRetryDelay\u003e5\u003c/RetryDelay\u003e\n        \u003cDatabase\u003estockmq\u003c/Database\u003e\n        \u003cCandles\u003ecandles\u003c/Candles\u003e\n        \u003cQuotes\u003equotes\u003c/Quotes\u003e\n    \u003c/MongoDB\u003e\n```\n\nInfluxDB requires organization and access token with write access.\n\n```xml\n    \u003cInfluxDB\u003e\n        \u003cEnabled\u003efalse\u003c/Enabled\u003e\n        \u003cURL\u003ehttp://127.0.0.1:8086\u003c/URL\u003e\n        \u003cToken\u003e\u003c!-- InfluxDB Token --\u003e\u003c/Token\u003e\n        \u003cOrganization\u003estockmq\u003c/Organization\u003e\n        \u003cBucket\u003estockmq-data\u003c/Bucket\u003e\n    \u003c/InfluxDB\u003e\n```\n\n\n\n# Start the server\n\nConfigure all required feeds in stockmq-server.xml\n\n```\ngo build\n./stockmq-server -c stockmq-server.xml\n```\n\n# Listen for updates\n\n```\ncd cmd/stockmq-nats\ngo build\n./stockmq-nats -debug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstockmq%2Fstockmq-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstockmq%2Fstockmq-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstockmq%2Fstockmq-server/lists"}