{"id":22289229,"url":"https://github.com/zvory/js-trader-bot","last_synced_at":"2025-03-25T21:22:02.355Z","repository":{"id":82239684,"uuid":"50246344","full_name":"zvory/js-trader-bot","owner":"zvory","description":"security trading bot written for trading hackathon","archived":false,"fork":false,"pushed_at":"2016-01-27T18:00:37.000Z","size":535,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-30T18:42:19.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/zvory.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":"2016-01-23T16:17:06.000Z","updated_at":"2019-03-05T09:04:42.000Z","dependencies_parsed_at":"2023-04-21T19:07:26.503Z","dependency_job_id":null,"html_url":"https://github.com/zvory/js-trader-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvory%2Fjs-trader-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvory%2Fjs-trader-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvory%2Fjs-trader-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zvory%2Fjs-trader-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zvory","download_url":"https://codeload.github.com/zvory/js-trader-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245543560,"owners_count":20632671,"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-12-03T17:08:36.452Z","updated_at":"2025-03-25T21:22:02.321Z","avatar_url":"https://github.com/zvory.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### JS Trader bot\n\nThis is a trader bot written in __JavaScript__ and __Node.js__ created for a certain securities trading competition run by a _Very Cool_ quantative finance firm (Name removed by request). The competition lasted 12 hours.\n\n##### Decision Making Process\nThe trading algorithm analyses relationships between the __30-tick Moving Average__ and __5-tick Moving Average__. Once the two cross over and the most recent tick contains a favourable move in prices, our bot would execute a trade to take advantage of the trend.\n\nThis algorithm produced consistent results netting positive profit to loss ratios. \n\n##### File Breakdown\n__networking.js__ handled networking and would execute the decisions given to it based on analysis in marketlog.js.\n\n__marketLogic.js__ handles the decision making process and contains the trading algorithm.\n\n__createMessage.js__ is used for formatting requests too and from the server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvory%2Fjs-trader-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzvory%2Fjs-trader-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzvory%2Fjs-trader-bot/lists"}