{"id":20049408,"url":"https://github.com/aidear3/deno-trading-bot","last_synced_at":"2026-04-07T23:31:45.889Z","repository":{"id":186288701,"uuid":"635250109","full_name":"aidear3/deno-trading-bot","owner":"aidear3","description":"technical strategies and indicators for trading","archived":false,"fork":false,"pushed_at":"2023-05-02T09:45:31.000Z","size":752,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T11:55:52.974Z","etag":null,"topics":["crypto","deno","docker-compose","esm","javascript","raspberry","reactjs","slack-api","telegram-bot-api","trading-algorithms","trading-api","trading-strategies"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/aidear3.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}},"created_at":"2023-05-02T09:42:15.000Z","updated_at":"2025-02-19T21:45:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d3cd17f-ca20-44be-9042-f1c104a7040f","html_url":"https://github.com/aidear3/deno-trading-bot","commit_stats":null,"previous_names":["aidear323/deno-trading-bot","aidear3/deno-trading-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aidear3/deno-trading-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidear3%2Fdeno-trading-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidear3%2Fdeno-trading-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidear3%2Fdeno-trading-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidear3%2Fdeno-trading-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidear3","download_url":"https://codeload.github.com/aidear3/deno-trading-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidear3%2Fdeno-trading-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31533823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":["crypto","deno","docker-compose","esm","javascript","raspberry","reactjs","slack-api","telegram-bot-api","trading-algorithms","trading-api","trading-strategies"],"created_at":"2024-11-13T11:49:49.981Z","updated_at":"2026-04-07T23:31:45.875Z","avatar_url":"https://github.com/aidear3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/Zizwar/deno-trad-bot)\n# deno-trade-bot\ndeno trading bot\nv0.1.3-alpha\n\n1- https://deno.land/#installation\n\n2- clone: \n```sh \ngit clone https://github.com/JavSFDev/deno-trad-bot.git \n```\n\n3- rename file .env.exemple to .env and set  \n```sh \nTOKEN_TELEGRAM = \nID_TELEGRAM = \nTOKEN_SLACK =\nSHANEL_SLACK =\nAPI_KEY_BINANCE = \nAPI_SECRET_BINANCE = \nINTERVAL_TIME = \n```\n## test\n - in terminal\n```sh\n$ deno test --allow-net --allow-env --allow-read \n```\n## run\n - in terminal\n```sh\n$ deno run --allow-net --allow-env --allow-read main.js\n```\n - in docker \n ```sh\n$ docker build -t app . \u0026\u0026 docker run -it --init -p 1993:1993 app\n```\n## exemple\n\n```ts\nimport DenoBot from './wino/denoBot.js';\nimport { ENV } from './deps.js';\nconst { INTERVAL_TIME = 1 } = ENV;\n\nconst denoBot = new DenoBot();\nconst ping = await denoBot.ping;\ndenoBot.stratigy = \"onlyRsis\"\nsetInterval(async _ =\u003e {\n    const options = {\n        candeles: { symbol: \"DOGEUSDT\" }\n    }\n    const listenMyCoins = await denoBot.listenCoins(options);\n    const action = denoBot.action(listenMyCoins);\n    if (action) {\n        try {\n            const {\n                symbol,\n                rsi,\n                stochRSI,\n                sma,\n                ema,\n                upper,\n                lower,\n                close,\n                stratigy\n            } = listenMyCoins;\n            const tfx = (val) =\u003e parseFloat(val).toFixed(5)\n            const message = `\n${action === \"Buy\" ? \"⤴️\" : \"⤵️\"} action=${action}\nsymbol=${symbol}\nprice=${close}\nrsi=${rsi}\nstochRSI=${tfx(stochRSI)}\nsma=${tfx(sma)}\nema=${tfx(ema)} \nstratigy=${stratigy}\n`;\n            denoBot.postMessageTelegram(message)\n        } catch (error) {\n            console.error(error)\n        }\n    }\n    // denoBot.postMessageSlacK(action)\n    console.log({ action, ...listenMyCoins })\n}, INTERVAL_TIME * 1000)\n```\n##  Screens\nTelegram \n\n![Console log](https://raw.githubusercontent.com/Zizwar/deno-trading-bot/main/screens/telegram.jpg)\n\nConsole\n![Console log](https://raw.githubusercontent.com/Zizwar/deno-trading-bot/main/screens/denolog.jpg)\n\nnotif\n![Telegram](https://raw.githubusercontent.com/Zizwar/deno-trading-bot/main/screens/denobottelegram.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidear3%2Fdeno-trading-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidear3%2Fdeno-trading-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidear3%2Fdeno-trading-bot/lists"}