Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.
/ EtoroTelebot Public archive

2022 side project, public version for GitHub

Notifications You must be signed in to change notification settings

winterdrive/EtoroTelebot

Repository files navigation

Etoro X Telebot

What-Can-Trade-Today (run in Heroku app and backup with Railway app)

Features:

  1. use BB strategy to check tickers
  2. BB strategy demo clip is on Google Drive now :

Demo Locally

https://drive.google.com/file/d/1WIVBSOXXoSdfN-0M6hUhFN8FWXoG8EcR/view?usp=sharing

Demo in Heroku app with telegram bot

https://drive.google.com/file/d/1ZQqjkHx6O02Nn7fkRiaDMwwxnQw-4pbd/view?usp=sharing

Demo screenshot on mobile device

screenshot1

screenshot2

subscribing the channel

screenshot3

效能提升

2022/11/06 in localhost

  • V1
    • 條件:4845個ticker, ticker number in each batch=10, thread number=1, bb std=2,
    • 結果:~=90分鐘(600張圖)
    • 未來改善方向:
      1. 太慢,需提速
  • V2
  • V3
    • 條件:4845個ticker, ticker number in batch=100, thread number=5, bb std=3,
    • 結果: ~=15分鐘(50張圖)
    • 更新項目:
      • std=2條件過於寬鬆,更改為std=3
      • 429及製圖缺失大量減少,因為每批次執行數量提升,且bb std拉高,需製作及傳送的圖已大量減少,但仍需使用queue使系統更robust
    • 未來改善方向:
      1. 多主機併行衍生議題
      2. 多執行續衍生議題
      3. 資料處理過程的中繼檔案過多

2022/11/07 in localhost connect remote redis

  • V4
    • 條件:4845個ticker, ticker number in batch=100, thread number=5, bb std=3,
    • 結果:~=27分鐘(不含發圖),時間拉長,因為Redis連線次數增加
    • 更新項目:
      • 重構資料處理流程,減少中繼檔案數量
      • 製圖模組重構,解決多執行續下的資源競爭問題
      • 發圖模組重構,以便後續處理resp:429問題
      • 多主機任務分派(免費版只執行選定ticker,自己的主機再執行所有ticker)
        • railway測試,單次花費
        • ENVIRONMENT參數決定哪台主機是master哪台主機是slave
    • 未來改善方向:
      1. redis操作提速

2022/11/08 in localhost connect remote redis with LUA script



Auto-Login-and-Buy (developing)

Etoro frequently changes their UI/UX, so it might not work now

Features:

  1. auto login your Etoro account
  2. switch to virtual portfolio
  3. open positions

Demo Locally

https://drive.google.com/file/d/1a5LGwJYYAsmHQJFpWiJyKPtz2ni_J-fg/view?usp=sharing

Possible Features in the Future (if I'm not busy)

  1. create a main page
  2. open position with a click
  3. close position with a click
  4. check positions with a click

About

2022 side project, public version for GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages