{"id":22533485,"url":"https://github.com/oknoorap/aurum79","last_synced_at":"2026-02-07T02:01:42.781Z","repository":{"id":85431626,"uuid":"292294960","full_name":"oknoorap/aurum79","owner":"oknoorap","description":"Aurum79 is a JavaScript library that provides a client for connecting to the MetaTrader 5 (MT5) trading platform","archived":false,"fork":false,"pushed_at":"2022-12-30T04:07:06.000Z","size":344,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T04:46:43.607Z","etag":null,"topics":["expert-advisors","forex","metatrader","socket","trading","trading-bot"],"latest_commit_sha":null,"homepage":"","language":"MQL5","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oknoorap.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-02T13:44:49.000Z","updated_at":"2024-07-03T17:40:29.000Z","dependencies_parsed_at":"2023-03-12T06:15:54.556Z","dependency_job_id":null,"html_url":"https://github.com/oknoorap/aurum79","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/oknoorap/aurum79","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Faurum79","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Faurum79/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Faurum79/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Faurum79/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oknoorap","download_url":"https://codeload.github.com/oknoorap/aurum79/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oknoorap%2Faurum79/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29184977,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T00:44:15.062Z","status":"online","status_checked_at":"2026-02-07T02:00:07.217Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["expert-advisors","forex","metatrader","socket","trading","trading-bot"],"created_at":"2024-12-07T09:08:27.249Z","updated_at":"2026-02-07T02:01:42.768Z","avatar_url":"https://github.com/oknoorap.png","language":"MQL5","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aurum79\nAs a chemical element with the symbol Au and atomic number 79, aurum, commonly known as gold, has long been esteemed for its associations with wealth and luxury. The Aurum79 JavaScript library offers a client for connecting to the MetaTrader 5 trading platform, potentially aiding users in achieving financial success through trading.\n\nIt is possible to utilize `tensorflow.js` for predicting prices, as well as for fetching forex calendar or other relevant events, allowing for the combination of technical and fundamental analysis. Additionally, using javascript can be a more convenient option than scripting in MQL5, as there may be fewer restrictions and difficulties.\n\n---\n\n## Installation\n\nPrerequisites:\n\n* NodeJS (latest version or LTS)\n* MT5 client\n\nInstall from package manager:\n\n**NPM**  \n\u003e `npm install aurum79 --save`\n\n**Yarn**  \n\u003e `yarn add aurum79`\n\n**PNPM**\n\u003e `pnpm add aurum79`\n\n---\n\n## Usage\n\nTo utilize the aurum79 module in your project, you will first need to download the compiled EA from the `mql/Aurum79.ex5` directory or compile it yourself. Once this is done, activate it within the MetaTrader5 client prior to running your script.\n\nAn example of how to utilize the `aurum79` module in your project is provided below:\n\n```typescript\nimport {\n  MetaTraderClient,\n  MetaTraderClientActionType,\n  MetaTraderClientTradingStatus,\n} from 'aurum79';\n\nconst client = new MetaTraderClient();\n\n/**\n * Listening tick event from MetaTrader5\n */\nclient.on('tick', ({ tick, history, chart, status, action }) =\u003e {\n  // Your technical decision here\n  // e.g using machine learning library such as Tensorflow.js\n  if (status !== MetaTraderClientTradingStatus.TRADING) {\n    // If prediction BUY\n    action(MetaTraderClientActionType.BUY);\n\n    // If Prediction SELL\n    action(MetaTraderClientActionType.SELL);\n  }\n\n  // Status, 0 = IDLE, 1 = TRADING\n  console.log({ status })\n\n  // Tick price\n  console.log({ tick });\n\n  // Print all time-series historical data -60 bar\n  console.log({ history });\n\n  // Candlestick chart buffer\n  // You can save buffer as image\n  fs.writeFileSync(\n    path.join('image', `${new Date().toISOString()}.png`),\n    chart\n  );\n});\n\n/**\n * Listening action triggers\n */\nclient.on('action', ({ type, data }) =\u003e {\n  // Save action into log or database\n  console.log({ type });\n});\n\n/**\n * Listening result when trading is finished\n */\nclient.on('result', ({ result, data }) =\u003e {\n  // Save action into log or database\n  console.log({ result, data });\n});\n\n// Start MetaTrader5 client\n// Custom port: client.start(8080);\n// Default port is 3333\nclient.start();\n```\n\n### License\nMIT (c) copyrighted 2022 by [Ribhararnus Pracutian](https://github.com/oknoorap).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foknoorap%2Faurum79","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foknoorap%2Faurum79","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foknoorap%2Faurum79/lists"}