{"id":26872738,"url":"https://github.com/etacassiopeia/odinta4s-public","last_synced_at":"2025-07-16T13:13:40.529Z","repository":{"id":218759467,"uuid":"746997969","full_name":"EtaCassiopeia/OdinTa4s-public","owner":"EtaCassiopeia","description":"OdinTa4s is a technical analysis tool along with an algorithmic trading strategy and application","archived":false,"fork":false,"pushed_at":"2024-01-23T16:54:08.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-23T17:54:39.681Z","etag":null,"topics":["binance","scala","technical-analysis","trading-bot","zio"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/EtaCassiopeia.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-23T03:49:23.000Z","updated_at":"2024-01-23T17:54:54.129Z","dependencies_parsed_at":"2024-01-23T18:07:43.934Z","dependency_job_id":null,"html_url":"https://github.com/EtaCassiopeia/OdinTa4s-public","commit_stats":null,"previous_names":["etacassiopeia/odinta4s-public"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtaCassiopeia%2FOdinTa4s-public","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtaCassiopeia%2FOdinTa4s-public/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtaCassiopeia%2FOdinTa4s-public/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EtaCassiopeia%2FOdinTa4s-public/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EtaCassiopeia","download_url":"https://codeload.github.com/EtaCassiopeia/OdinTa4s-public/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246442110,"owners_count":20778166,"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":["binance","scala","technical-analysis","trading-bot","zio"],"created_at":"2025-03-31T08:33:09.511Z","updated_at":"2025-03-31T08:33:09.565Z","avatar_url":"https://github.com/EtaCassiopeia.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OdinTa4s\n\nOdinTa4s is a technical analysis tool along with an algorithmic trading strategy and application\n\nNote: This project is made public for educational and demo purposes only. It is not intended to be used as a trading bot.\n\n------\n\n# Publish to Google Cloud\n\n## Create a Docker image\n\n```shell\nsbt docker:publishLocal\n```\n\n## Run the Docker image locally\n\n```shell\ndocker run eu.gcr.io/odin-trader/trader:0.1.0-SNAPSHOT\n```\n\n## Push Docker images\n\n```shell\ngcloud auth configure-docker\ndocker push eu.gcr.io/odin-trader/trader:0.1.0-SNAPSHOT\n\ngcloud container images list-tags eu.gcr.io/odin-trader/trader\n```\n\n## Create the VM instance\n\nCreate a ComputeEngine instance from a COS image (cos-69-lts) and specify the Docker image to start the VM instance (Don't forget to add the environment variables)\n\n\n## Create the VM instance (using gcloud tool)\n```shell\ngcloud beta compute --project=odin-trader instances create-with-container odin-trader-trader --zone=europe-west4-b --machine-type=f1-micro --subnet=default --network-tier=PREMIUM --metadata=google-logging-enabled=true --maintenance-policy=MIGRATE --service-account=\u003cSERVICE_ACCOUNT\u003e --scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append --tags=http-server,https-server --image=cos-stable-81-12871-103-0 --image-project=cos-cloud --boot-disk-size=10GB --boot-disk-type=pd-standard --boot-disk-device-name=odin-trader-api --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --container-image=eu.gcr.io/odin-trader/api:0.0.1 --container-restart-policy=always --container-env=SERVER_HOST=0.0.0.0,SERVER_PORT=80,BINANCE_SCHEME=https,BINANCE_HOST=api.binance.com,BINANCE_PORT=443,BINANCE_INFO_URL=/api/v1/exchangeInfo,BINANCE_API_KEY=\u003cBINANCE_API_KEY\u003e,BINANCE_API_SECRET=\u003cBINANCE_API_SECRET\u003e --labels=container-vm=cos-stable-81-12871-103-0 --reservation-affinity=any\n\ngcloud compute --project=odin-trader firewall-rules create default-allow-https --direction=INGRESS --priority=1000 --network=default --action=ALLOW --rules=tcp:443 --source-ranges=0.0.0.0/0 --target-tags=https-server\n```\n\n## ssh\n\n```shell\ngcloud beta compute ssh --zone \"europe-west4-b\" \"odin-trader-api\" --project \"odin-trader\"\n```\n\n## Binance webhooks\nWebhooks allow you to send a POST request to a certain URL every time the alert is triggered.\nIf the alert message is valid JSON, Binance will send a request with an \"application/json\" content-type header. Otherwise, it will send \"text/plain\" as a content-type header.\n\nIf you want to send a request to a URL with a port number, please note that we only accept URLs with port numbers 80 and 443. Requests for URLs with any other port number will be rejected.\n\n## Binance IP addresses\n\nHere is a list of IP addresses that Binance will use to send POST requests\n\n- 52.89.214.238\n- 34.212.75.30\n- 54.218.53.128\n- 52.32.178.7\n\n## CIDR IP ranges\n\n- 52.89.214.238/32\n- 34.212.75.30/32\n- 54.218.53.128/32\n- 52.32.178.7/32","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetacassiopeia%2Fodinta4s-public","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetacassiopeia%2Fodinta4s-public","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetacassiopeia%2Fodinta4s-public/lists"}