{"id":20021952,"url":"https://github.com/haehnchen/node-js-crypto-technical-analysis-candlestick-webserver","last_synced_at":"2025-08-23T17:50:10.105Z","repository":{"id":144802978,"uuid":"134963034","full_name":"Haehnchen/node-js-crypto-technical-analysis-candlestick-webserver","owner":"Haehnchen","description":"Candlestick Technical Analysis Http Server based on node.js","archived":false,"fork":false,"pushed_at":"2018-05-26T14:41:52.000Z","size":17,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T14:45:48.510Z","etag":null,"topics":["bitcoin","candlestick","crypto","cryptocurrency","nodejs","technical-analysis"],"latest_commit_sha":null,"homepage":null,"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/Haehnchen.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":"2018-05-26T13:19:49.000Z","updated_at":"2023-08-20T15:54:37.000Z","dependencies_parsed_at":"2024-08-19T09:32:20.355Z","dependency_job_id":null,"html_url":"https://github.com/Haehnchen/node-js-crypto-technical-analysis-candlestick-webserver","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/Haehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Haehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Haehnchen","download_url":"https://codeload.github.com/Haehnchen/node-js-crypto-technical-analysis-candlestick-webserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252423021,"owners_count":21745532,"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":["bitcoin","candlestick","crypto","cryptocurrency","nodejs","technical-analysis"],"created_at":"2024-11-13T08:38:43.990Z","updated_at":"2025-05-05T01:31:01.643Z","avatar_url":"https://github.com/Haehnchen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Candlestick Technical Analysis Http Server\n\n## Tools\n\n- node.js\n- technicalindicators lib\n\n## Start\n\n```\nnpm install\nnode index.js\n```\n\nOr change port listen on\n\n```\nnode index.js 8080\n```\n\n## Start\n\nDownload some candles from live market and post them to the webserver\n\nSome Urls:\n```\nhttps://api.bitfinex.com/v2/candles/trade:1m:tBTCUSD/hist?limit=500\n\n```\n\nCandles must be formatted as the common why in a numeric array whereas newest candles must be given first oldest last\n        \n```\n{\n[\n    1527335700000, // micro timestamp\n    7532.5, // open\n    7532.5, // close\n    7532.5,  // high\n    7532.5,  // low\n    1.02278819 // volume\n],\n[\n    1527340320000,\n    7521.2,\n    7522.9,\n    7522.9,\n    7521.2,\n    0.59021799\n]\n}\n```\n\n## Indicators\n\n### EMA\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/ema\"\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/ema?period=200\"\n```\n\n### SMA\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/sma\"\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/sma?period=200\"\n\n```\n\n### Bollinger Bands\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/bollinger_bands\"\n```\n\n### Stochastic RSI\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/stoch_rsi\"\n```\n\n### Stochastic\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/stoch\"\n```\n\n### MACD\n\n```\ncurl -H \"Content-Type: application/json\" --data @candles.json \"http://127.0.0.1:8080/macd\"\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaehnchen%2Fnode-js-crypto-technical-analysis-candlestick-webserver/lists"}