{"id":38260483,"url":"https://github.com/goex-top/market_center","last_synced_at":"2026-01-17T01:35:22.748Z","repository":{"id":57507814,"uuid":"233543551","full_name":"goex-top/market_center","owner":"goex-top","description":"Center to collect market data from cryptocurrency exchanges and distribute it over UDS(Unix Domain Sockets) using GoEx","archived":false,"fork":false,"pushed_at":"2020-04-30T06:38:03.000Z","size":96,"stargazers_count":16,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T00:33:31.229Z","etag":null,"topics":["cryptocurrency","goex","market-center","uds","unix-domain-sockets"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goex-top.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-13T08:09:31.000Z","updated_at":"2024-06-19T00:33:31.230Z","dependencies_parsed_at":"2022-09-26T17:50:47.107Z","dependency_job_id":null,"html_url":"https://github.com/goex-top/market_center","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/goex-top/market_center","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goex-top%2Fmarket_center","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goex-top%2Fmarket_center/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goex-top%2Fmarket_center/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goex-top%2Fmarket_center/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goex-top","download_url":"https://codeload.github.com/goex-top/market_center/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goex-top%2Fmarket_center/sbom","scorecard":{"id":433681,"data":{"date":"2025-08-11","repo":{"name":"github.com/goex-top/market_center","commit":"d15f449fbfa3416bc2f0c90418e5e134f471a47c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.1-alpha not signed: https://api.github.com/repos/goex-top/market_center/releases/22993203","Warn: release artifact v1.0.1-alpha does not have provenance: https://api.github.com/repos/goex-top/market_center/releases/22993203"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T04:02:57.784Z","repository_id":57507814,"created_at":"2025-08-19T04:02:57.785Z","updated_at":"2025-08-19T04:02:57.785Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["cryptocurrency","goex","market-center","uds","unix-domain-sockets"],"created_at":"2026-01-17T01:35:22.144Z","updated_at":"2026-01-17T01:35:22.737Z","avatar_url":"https://github.com/goex-top.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Market Center\n![HitCount](http://hits.dwyl.io/goex-top/market_center.svg)\n\nA center to collect market data from cryptocurrency exchanges and distribute it over UDS(Unix Domain Sockets) using [GoEx](https://github.com/nntaoli-project/GoEx), it design for multi-strategy in one server, especial hft(high frequency trading) \n\n## NOT Support Windows\n\n## Why market center\nSome exchanges has limitation for **REST** api, limit access frequency by IP or Account.\n\nUsually we start some strategies in one server(description followed), Exchange 2 maybe ban your server IP because too many request.\n\n![trandition](trandition.png)\n\nSo we could use a market center as a router to avoid limitation(description followed)\n![market_center](market_center.png)\n\n\n## APIs\n\nRef to [Client](https://github.com/goex-top/market_center_client)\n\nparams\n- exchangeName: exchange name, ref to [Supports](#support-exchanges)\n- currencyPair: currency pair, format with `_`, like `BTC_USDT`\n- period: market data update period, unit ms\n- contractType: future/swap contract type\n\n* GetSupportList() []\n* SubscribeSpotTicker(exchangeName, currencyPair, period) (error)\n* SubscribeSpotDepth(exchangeName, currencyPair, period) (error)\n* ~~SubscribeSpotTrade(exchangeName, currencyPair) (error)~~\n* GetSpotTicker(exchangeName, currencyPair) (*Ticker, error)\n* GetSpotDepth(exchangeName, currencyPair) (*Depth, error)\n* ~~GetSpotTrade(exchangeName, currencyPair) (*Trade, error)~~\n* SubscribeFutureTicker(exchangeName, contractType, currencyPair, period) (error)\n* SubscribeFutureDepth(exchangeName, contractType, currencyPair, period) (error)\n* ~~SubscribeFutureTrade(exchangeName, contractType, currencyPair) (error)~~\n* GetFutureTicker(exchangeName, contractType, currencyPair) (*Ticker, error)\n* GetFutureDepth(exchangeName, contractType, currencyPair) (*Depth, error)\n* ~~GetFutureTrade(exchangeName, contractType, currencyPair) (*Trade, error)~~\n\n## Support Exchanges\n### SPOT\n* Poloniex\n* Bitstamp\n* Huobi\n* Bitfinex\n* Okex\n* Binance\n* Bittrex\n* Bithumb\n* Gdax\n* Gate\n* Coinex\n* Zb\n* Bigone\n* Hitbtc\n\n### FUTURE\n* Future_Bitmex\n* Future_Okex\n* Swap_Okex\n* Future_Hbdm\n* Swap_Binance\n* Future_Coinbene\n\n## Proxy\n\ncenter will get proxy setting from system environment, key word is `HTTP_PROXY`. if you want to use proxy for center, `set HTTP_PROXY=socks5://127.0.0.1:1080` or `export HTTP_PROXY=socks5://127.0.0.1:1080`\n \n## Client\n\ngolang client \n[https://github.com/goex-top/market_center_client](https://github.com/goex-top/market_center_client)\n\nfmz js client\n[https://github.com/goex-top/market_center_client_fmz](https://github.com/goex-top/market_center_client_fmz)\n\n## Why UDS\n### benchmark compare between USD and TCP/IP loopback\n\n* When the server and client benchmark programs run on the same box, both the TCP/IP loopback and unix domain sockets can be used. Depending on the platform, unix domain sockets can achieve around 50% more throughput than the TCP/IP loopback (on Linux for instance). The default behavior of redis-benchmark is to use the TCP/IP loopback.[redis report](https://redis.io/topics/benchmarks)\n* [Performance Analysis of Various Mechanisms\nfor Inter-process Communication\n](http://osnet.cs.binghamton.edu/publications/TR-20070820.pdf)\n\n## How UDS\n* [unix-domain-sockets-in-go](https://eli.thegreenplace.net/2019/unix-domain-sockets-in-go/)\n\n### 观星者\n\n![观星者](https://starchart.cc/goex-top/market_center.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoex-top%2Fmarket_center","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoex-top%2Fmarket_center","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoex-top%2Fmarket_center/lists"}