{"id":13420313,"url":"https://github.com/libtrading/libtrading","last_synced_at":"2025-03-15T06:32:25.855Z","repository":{"id":1152318,"uuid":"1037001","full_name":"libtrading/libtrading","owner":"libtrading","description":"Libtrading, an ultra low-latency trading connectivity library for C and C++.","archived":false,"fork":false,"pushed_at":"2020-12-16T18:53:25.000Z","size":1356,"stargazers_count":695,"open_issues_count":32,"forks_count":240,"subscribers_count":96,"default_branch":"master","last_synced_at":"2024-07-31T22:54:30.667Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://libtrading.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/libtrading.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}},"created_at":"2010-10-30T08:40:39.000Z","updated_at":"2024-07-31T20:57:03.000Z","dependencies_parsed_at":"2022-08-16T12:15:29.521Z","dependency_job_id":null,"html_url":"https://github.com/libtrading/libtrading","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtrading%2Flibtrading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtrading%2Flibtrading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtrading%2Flibtrading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libtrading%2Flibtrading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libtrading","download_url":"https://codeload.github.com/libtrading/libtrading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695455,"owners_count":20332622,"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":"2024-07-30T22:01:31.039Z","updated_at":"2025-03-15T06:32:25.442Z","avatar_url":"https://github.com/libtrading.png","language":"C","funding_links":[],"categories":["TODO scan for Android support in followings","编程"],"sub_categories":["C++"],"readme":"# Libtrading\n\n[![Build Status](https://secure.travis-ci.org/libtrading/libtrading.png?branch=master)](http://travis-ci.org/libtrading/libtrading)\n\nLibtrading is an open source API for high-performance, low-latency trading\napplications. It implements network protocols used for communicating with\nexchanges, dark pools, and other trading venues. The API supports FIX,\nFIX/FAST, and many proprietary protocols such as ITCH and OUCH used by NASDAQ.\n\n## Features\n\n* C API\n* High performance, low latency\n* FIX dialect support\n* SystemTap/DTrace probes\n\n## Install\n\nInstall prerequisite packages:\n\n**Debian**\n\n```\n$ apt-get install pkg-config libxml2-dev libglib2.0-dev libncurses5-dev \\\n    python-yaml libevent-dev\n```\n\n**Fedora**\n\n```\n$ yum install zlib-devel libxml2-devel glib2-devel vim-common ncurses-devel \\\n    python-yaml libevent-devel\n```\nNote: on older RHEL versions you'll need to replace libevent-devel with libevent2-devel\n\n**OSX**\n\n```\n$ brew install libevent glib pkgconfig\n$ pip install pyyaml\n```\n\nThen run:\n\n```\n$ make install\n```\n\nYou can also run the test harness:\n\n```\n$ make check\n```\n\n## Usage\n\nTo measure FIX engine performance locally, start a FIX server:\n\n```\n$ ./tools/fix/fix_server -m 1 -p 7070\nServer is listening to port 7070...\n```\n\nand then run the FIX client latency tester against it:\n\n```\n$ ./tools/fix/fix_client -n 100000 -m order -p 7070 -h localhost\nClient Logon OK\nMessages sent: 100000\nRound-trip time: min/avg/max = 15.0/16.8/129.0 μs\nClient Logout OK\n```\n\n## Documentation\n\n* [Quick Start Guide](docs/quickstart.md)\n* [Exchange Coverage](https://github.com/libtrading/libtrading/wiki/Exchange-Coverage)\n* [Protocol Coverage](https://github.com/libtrading/libtrading/wiki/Protocol-Coverage)\n\n## Performance\n\nProtocol | RTT (μs)\n---------|---------\nFAST     | 13\nFIX      | 6\n\nThe following above were obtained by running Libtrading messaging\nping-pong tests on a 4-way Intel Haswell 3.60 GHz CPU running Fedora 21\nwith Linux 3.19.7-200. The processes were pinned to separate physical cores\nand the numbers include time spent in the Linux TCP/IP stack.\n\nFIX engine round-trip time frequency plot for the above looks as follows:\n\n\u003cimg src=\"http://libtrading.org/latency-frequency-plot.svg\"\u003e\n\n## License\n\nCopyright (C) 2011-2014 Pekka Enberg and contributors\n\nLibtrading is distributed under the 2-clause BSD license.\n\n## Contributors\n\n* Denis Ivaykin\n* Marat Stanichenko\n* Jussi Virtanen\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibtrading%2Flibtrading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibtrading%2Flibtrading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibtrading%2Flibtrading/lists"}