{"id":13849920,"url":"https://github.com/jkotra/algoticks","last_synced_at":"2025-07-12T21:32:26.254Z","repository":{"id":41854149,"uuid":"271830629","full_name":"jkotra/algoticks","owner":"jkotra","description":"Algoticks is an algorithmic trading simulator written in C.","archived":false,"fork":false,"pushed_at":"2022-04-26T09:52:37.000Z","size":974,"stargazers_count":16,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-22T03:32:00.304Z","etag":null,"topics":["algorithms","algotrading","c","simulation","simulator","trading"],"latest_commit_sha":null,"homepage":"","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/jkotra.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":"2020-06-12T15:26:24.000Z","updated_at":"2022-07-04T10:22:08.000Z","dependencies_parsed_at":"2022-08-11T19:31:12.900Z","dependency_job_id":null,"html_url":"https://github.com/jkotra/algoticks","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/jkotra/algoticks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkotra%2Falgoticks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkotra%2Falgoticks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkotra%2Falgoticks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkotra%2Falgoticks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkotra","download_url":"https://codeload.github.com/jkotra/algoticks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkotra%2Falgoticks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265059453,"owners_count":23705218,"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":["algorithms","algotrading","c","simulation","simulator","trading"],"created_at":"2024-08-04T20:00:52.760Z","updated_at":"2025-07-12T21:32:25.877Z","avatar_url":"https://github.com/jkotra.png","language":"C","readme":"\u003cdiv align=\"center\"\u003e\n\n![](assets/algoticks_logo.png)\n\n\n# Algoticks\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Build Status](https://travis-ci.org/jkotra/algoticks.svg?branch=master)](https://travis-ci.org/jkotra/algoticks)\n\n---\n\u003cpre\u003e\nAlgoticks is an algorithmic trading simulator written in C.\n\u003c/pre\u003e\n\n\n[READ: Getting started with Algoticks](https://stdin.top/posts/getting-started-with-algoticks/)\n\n[READ: Writing an Algorithm for Algoticks](https://stdin.top/posts/write-algo-for-algoticks/)\n\n\u003c/div\u003e\n\n---\n\n## Building\n\n### Optimizations\n\nSome optimizations are disabled by default to improve speed and efficiency.\n\n```\n#uncomment below line to enable Optimizations\n#set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -DCHOMP -DQUOTED_CHECK -DCHECK_ROW_INTEGRITY\")\n```\n\n### Release\n\nRecommended Compiler: `GCC`\n\nRecommended Standard: `C11`\n\nDependencies:\n- [`JSON-C`](https://github.com/json-c/json-c)\n- [`ZeroMQ`](https://github.com/zeromq/libzmq)\n- [`libuv`](https://github.com/libuv/libuv)\n\n```\nmkdir bin\ncd bin\ncmake ..\nmake\n```\n\nupon successful compilation, the binary executable along with config files are found in `release` (`bin/release`) folder.\n\n### Debug\n\n```\nmkdir bin\ncd bin\ncmake -DCMAKE_BUILD_TYPE=Debug ..\nmake\n```\n\nupon successful compilation, the binary executable along with config files are found in `debug` (`bin/debug`) folder.\n\n---\n\n\n### Building on Windows (experimental)\n\n1. Install [MSYS2](https://www.msys2.org/)\n2. Install [CMake for Windows.](https://cmake.org/download/)\n2. Add the following to System PATH:\n```\nC:\\msys64\\mingw64\\include\nC:\\msys64\\mingw64\\bin\nC:\\msys64\\mingw64\\lib\nC:\\msys64\\usr\\bin\n```\n\nRun the following commands in `mingw64.exe` terminal:\n```\npacman -S base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-json-c mingw-w64-x86_64-zeromq mingw-w64-x86_64-libuv\n```\n\nRun the following commands from repository root directory:\n```\nmkdir bin\ncd bin\ncmake -G \"MinGW Makefiles\" ..\nmingw32-make.exe\n```\n\n---\n\n## Usage\n\n```\nUsage: algoticks [OPTION...]\nAlgoticks - algorithmic trading simulator.\n\n  -b, --benchmark            Benchmark mode\n  -B, --benchmarkfile=FILE   Benchmark file.\n  -C, --configfile=FILE      Config file.\n  -d, --derivative           Derivative mode\n  -D, --debug=LEVEL          Debug mode.\n  -l, --live                 Live mode. Wait for date at EOF\n  -s, --socket=PORT          Open socket to receive data at EOF\n  -S, --settingsfile=FILE    settings file.\n  -?, --help                 Give this help list\n      --usage                Give a short usage message\n  -V, --version              Print program version\n\nMandatory or optional arguments to long options are also mandatory or optional\nfor any corresponding short options.\n\nReport bugs to \u003cjagadeesh@stdin.top\u003e.\n\n\n```\n\n\n### Timeline\n\nStart of development: 13-Jun-2020\n\nRepository made public: 02-Jul-2020\n\n---\n\n### Credits\n\nIcons made by \u003ca href=\"https://creativemarket.com/eucalyp\" title=\"Eucalyp\"\u003eEucalyp\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003e www.flaticon.com\u003c/a\u003e\n","funding_links":[],"categories":["C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkotra%2Falgoticks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkotra%2Falgoticks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkotra%2Falgoticks/lists"}