{"id":19903073,"url":"https://github.com/washbin/trader","last_synced_at":"2026-05-07T09:34:54.648Z","repository":{"id":48307656,"uuid":"380229296","full_name":"washbin/trader","owner":"washbin","description":"A stock trading simulation app created using flask framework","archived":false,"fork":false,"pushed_at":"2023-02-16T04:14:11.000Z","size":67,"stargazers_count":0,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T08:56:47.016Z","etag":null,"topics":["docker","flask","jinja2","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/washbin.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":"2021-06-25T12:21:11.000Z","updated_at":"2021-11-09T12:51:06.000Z","dependencies_parsed_at":"2024-11-12T20:21:46.563Z","dependency_job_id":"6687f853-d33a-4654-b5f8-c0f51650cb95","html_url":"https://github.com/washbin/trader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/washbin/trader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/washbin%2Ftrader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/washbin%2Ftrader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/washbin%2Ftrader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/washbin%2Ftrader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/washbin","download_url":"https://codeload.github.com/washbin/trader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/washbin%2Ftrader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["docker","flask","jinja2","python"],"created_at":"2024-11-12T20:21:20.066Z","updated_at":"2026-05-07T09:34:54.628Z","avatar_url":"https://github.com/washbin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trader\n\nA stock trading simulation app created using python flask framework\u003cbr\u003e\n\n\u003c!-- ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/washbin/trader/Python%20application) --\u003e\n\n# Running Yourself\n\n\u003e You could do both development and deployment without docker but this readme doesn't cover that part as of now.\n\n- Make sure you have docker and docker-compose installed.\n- If you do not have docker, you could follow the instructions at [Getting started with docker](https://www.docker.com/get-started)\n- Create a .env file at the root of project directory with your secrets, \\\n  following the template.env structure and source it.\n  \u003e - The API_KEY could be obtained from [IEX Cloud](https://www.iexcloud.io/)\u003cbr\u003e\n  \u003e - View info about SECRET_KEY at [Flask documentation](https://flask.palletsprojects.com/en/2.0.x/config/#SECRET_KEY)\u003cbr\u003e\n  \u003e - DATABASE_URL as the name suggests just points to your database \\\n    \u003e For development you could use something simple like `DATABASE_URL=\"sqlite:///local.db\"`, \\\n    \u003e For production you will likely define it in docker-compose file in compose_production directory\n\n## Development\n\n1. Change directory into the main_app directory\n2. Do a `docker-compose up -d`\n3. Your site should now be served at port 5000 and reflect any changes you make to the code.\n\n## Deployment\n\n\u003e You may want to make some changes in nginx configuration and \\\n\u003e hide postgres credintials from compose_production/docker-compose.yml file.\n\n1. Change directory into the compose_prduction directory\n2. Do a `docker-compose -f docker-compose.yml up -d`\n3. Your site should now be served at port 80 in your ip.\n\n# Acknowledgments\n\n\u003e This project is basically a clone of [CS50's finance project](https://finance.cs50.net/)\n\n# License\n\nLicensed under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwashbin%2Ftrader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwashbin%2Ftrader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwashbin%2Ftrader/lists"}