{"id":17352878,"url":"https://github.com/gavincyi/crypto-account-reportor","last_synced_at":"2026-05-01T10:31:43.903Z","repository":{"id":53071532,"uuid":"242541794","full_name":"gavincyi/crypto-account-reportor","owner":"gavincyi","description":"Cryptocurrency account balance reporter based on aws managed services.","archived":false,"fork":false,"pushed_at":"2021-04-08T01:49:08.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:13:57.368Z","etag":null,"topics":["aws","aws-dynamodb","aws-lambda","ccxt","cryptocurrency","exchange","finance","trading"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gavincyi.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":"2020-02-23T15:30:02.000Z","updated_at":"2021-04-08T01:49:10.000Z","dependencies_parsed_at":"2022-08-30T22:31:27.288Z","dependency_job_id":null,"html_url":"https://github.com/gavincyi/crypto-account-reportor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gavincyi/crypto-account-reportor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavincyi%2Fcrypto-account-reportor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavincyi%2Fcrypto-account-reportor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavincyi%2Fcrypto-account-reportor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavincyi%2Fcrypto-account-reportor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavincyi","download_url":"https://codeload.github.com/gavincyi/crypto-account-reportor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavincyi%2Fcrypto-account-reportor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["aws","aws-dynamodb","aws-lambda","ccxt","cryptocurrency","exchange","finance","trading"],"created_at":"2024-10-15T17:14:53.077Z","updated_at":"2026-05-01T10:31:43.715Z","avatar_url":"https://github.com/gavincyi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crypto-account-reportor\n\nCrypto account report is a AWS SAM template project. Currently it supports to store the daily balance in each exchange in dynamodb.\n\n## Requirement\n\n- AWS SAM\n\n- Docker (for testing)\n\n\n## Installation\n\nTo build the app, run\n\n```\nsam build\n```\n\nTo local invoke the app, e.g. update balance function, run\n\n```\nsam local invode \"UpdateBalanceFunction\" -e events/event.json\n```\n\nTo deploy the app, run\n\n```\nsam deploy --guided\n```\n\n## Preparation\n\nThe following commands requires running the commands with `awscli`. Please\nrefer to the installation [guide](https://github.com/aws/aws-cli) for the\npackage in the interactive machines.\n\n### Create table crypto-exchange-keys \n\n```\naws dynamodb create-table \\\n--table-name crypto-exchange-keys \\\n--attribute-definitions AttributeName=name,AttributeType=S \\\n--key-schema AttributeName=name,KeyType=HASH \\\n--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5\n```\n\n### Create table crypto-exchange-balance\n\n```\naws dynamodb create-table \\\n--table-name crypto-exchange-balance \\\n--attribute-definitions AttributeName=id,AttributeType=S \\\n--key-schema AttributeName=id,KeyType=HASH \\\n--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5\n```\n\n### Insert exchange accounts\n\nFirst you need to create the exchange API keys first. It is highly recommended to create a \n**read-only** key for security.\n\nThen amend the file `crypto-exchange-keys.json` on the following values\n\n* name: An unique name of the key\n* exchange: The exchange name, e.g. bitfinex\n* key: The exchange API key\n* secret: The exchange API secret\n* types: A list of account types. For example, `spot` in Binance.\n\nThen run the command to insert the exchange key.\n\n```\naws dynamodb put-item --table-name crypto-exchange-keys --item file://crypto-exchange-keys.json \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavincyi%2Fcrypto-account-reportor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavincyi%2Fcrypto-account-reportor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavincyi%2Fcrypto-account-reportor/lists"}