{"id":22407385,"url":"https://github.com/amor71/trade_deploy","last_synced_at":"2025-04-13T10:26:38.063Z","repository":{"id":106186472,"uuid":"295318037","full_name":"amor71/trade_deploy","owner":"amor71","description":"Docker orchestration  \u0026 Deployment fo liu trading framework","archived":false,"fork":false,"pushed_at":"2020-09-23T03:03:31.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T01:48:32.768Z","etag":null,"topics":["dockerfile","liualgotrader","trading","trading-platform"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amor71.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-14T05:57:19.000Z","updated_at":"2024-11-07T20:48:23.000Z","dependencies_parsed_at":"2023-06-16T01:30:18.159Z","dependency_job_id":null,"html_url":"https://github.com/amor71/trade_deploy","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/amor71%2Ftrade_deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amor71%2Ftrade_deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amor71%2Ftrade_deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amor71%2Ftrade_deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amor71","download_url":"https://codeload.github.com/amor71/trade_deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248697272,"owners_count":21147298,"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":["dockerfile","liualgotrader","trading","trading-platform"],"created_at":"2024-12-05T11:14:04.536Z","updated_at":"2025-04-13T10:26:38.040Z","avatar_url":"https://github.com/amor71.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker setup for `LiuAlgoTrader`\n\nThe project exposes container implementation for LiuAlgoTrader project. It's intended to kick-start strategy development, as well as exposing a full container/service oriented deployment for a full trading system.\n \n\n### Available Docker implementations\n\n* `liu-in-a-box` : a single container implementation that encapsulating database and the trading platform, for first time users.\n* `liu-db-in-a-box`: a ready to use database for LiuAlgoTrader\n\n## `liu-in-a-box` quick-start\n\n### Prerequisites\n\n1. make sure you have a locally installed docker (https://docs.docker.com/get-docker/) ,\n2. Setup your PAPER or LIVE trading account w/ Alpaca Markets https://alpaca.markets/  .\n\n### Installation \u0026 Setup\n\n1. Execute `docker pull amor71/liu-in-a-box`,\n2. Download the file https://github.com/amor71/trade_deploy/blob/master/liu-in-a-box/env.list to the folder in which you intend to run your strategies (eg. ~/my-liu/),\n3. Make you to have a valid `tradeplan.toml` file in the same directory, as well as set-up `LiuAlgoTrader` environment variables. For more details \u0026 examples see here https://liualgotrader.readthedocs.io/en/latest/Configuration.html .\n\n### Running your local `liu-in-a-box`\n\nExecute `docker run -v \u003clocal_folder\u003e:/opt/trader --env-file env.list --env DSN=postgresql://docker:docker@localhost/tradedb amor71/liu-in-a-box`\n\n## `liu-db-in-a-box` quick-start \n\n### Prerequisites\n\n1. make sure you have a locally installed docker (https://docs.docker.com/get-docker/) ,\n2. Setup your PAPER or LIVE trading account w/ Alpaca Markets https://alpaca.markets/  ,\n3. recommanded: a local installation of `psql` (PostgreSQL client - https://www.postgresql.org/docs/12/app-psql.html) .\n\n### Installation \u0026 Setup\n\n1. Execute `docker pull amor71/liu-db-in-a-box`,\n2. Execute `docker run -P amor71/liu-db-in-a-box`.\n\n### Recommanded step: validate access\n\n1. Execute `docker ps` and find the local port,\n2. Execute `\\psql -h localhost -p \u003clocal-port-fron-step-1\u003e -U docker tradedb` (password: `docker`).\n\n### Using w/ _LiuAlgoTrader_\n\n1. Execute `docker ps` and find the local port,\n2. `export DSN=postgresql://docker:docker@localhost:\u003clocal-port-fron-step-1\u003e/tradedb`\n3. Follow _LiuAlgoTrader_ instructions for running the relevant application.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famor71%2Ftrade_deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famor71%2Ftrade_deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famor71%2Ftrade_deploy/lists"}