{"id":26504969,"url":"https://github.com/peerchemist/oandaohlc","last_synced_at":"2026-05-14T23:03:54.466Z","repository":{"id":283464749,"uuid":"951857068","full_name":"peerchemist/oandaohlc","owner":"peerchemist","description":"A simple and tiny OHLC data downloader for Oanda.","archived":false,"fork":false,"pushed_at":"2025-03-20T10:58:47.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T11:38:44.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peerchemist.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":"2025-03-20T10:57:12.000Z","updated_at":"2025-03-20T10:59:04.000Z","dependencies_parsed_at":"2025-03-20T11:48:46.992Z","dependency_job_id":null,"html_url":"https://github.com/peerchemist/oandaohlc","commit_stats":null,"previous_names":["peerchemist/oandaohlc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerchemist%2Foandaohlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerchemist%2Foandaohlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerchemist%2Foandaohlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerchemist%2Foandaohlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerchemist","download_url":"https://codeload.github.com/peerchemist/oandaohlc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244688793,"owners_count":20493881,"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":"2025-03-20T20:55:22.175Z","updated_at":"2026-05-14T23:03:53.870Z","avatar_url":"https://github.com/peerchemist.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oandaohlc\n\nA tiny program which connects to Oanda API and downloads OHLC candle data, normalizes it and dumps it into a sqlite database.\n\n## Build\n\n\u003e cargo build --release\n\n### Cross build\n\n\u003e cross build --release --target arm-unknown-linux-gnueabihf\n\n## Setup\n\nExport OANDA_ACCOUNT_ID and OANDA_ACCESS_TOKEN to env.\n\n## Run\n\n```\nUsage: oandaohlc [OPTIONS]\n\nOptions:\n  -d, --db \u003cDB\u003e\n          Database name [default: oanda.db]\n  -g, --granularity [\u003cGRANULARITY\u003e...]\n          Granularity (D, W, M), defaults to all if not provided [default: D W M] [possible values: d, w, m]\n      --oanda-account-id \u003cOANDA_ACCOUNT_ID\u003e\n          OANDA Account ID (overrides env variable)\n      --oanda-access-token \u003cOANDA_ACCESS_TOKEN\u003e\n          OANDA Access Token (overrides env variable)\n      --tickers \u003cTICKERS\u003e\n          Comma-separated list of tickers (whitelist), e.g., --tickers natgas_usd,xau_usd,eur_usd\n  -h, --help\n          Print help\n  -V, --version\n          Print version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerchemist%2Foandaohlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerchemist%2Foandaohlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerchemist%2Foandaohlc/lists"}