https://github.com/jojoee/duckbot
Duck learns trading bot. With his 1-3-inch-flying-algorithm, he rules them all.
https://github.com/jojoee/duckbot
Last synced: 4 months ago
JSON representation
Duck learns trading bot. With his 1-3-inch-flying-algorithm, he rules them all.
- Host: GitHub
- URL: https://github.com/jojoee/duckbot
- Owner: jojoee
- Created: 2021-02-18T11:01:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-06T04:45:33.000Z (almost 4 years ago)
- Last Synced: 2025-07-31T02:15:50.301Z (11 months ago)
- Language: Python
- Homepage:
- Size: 115 KB
- Stars: 7
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# duckbot
:duck: -is swimming in the pond.
Duck learns trading bot. With his 1-3-inch-flying-algorithm makes, he rules them all.


## Getting Started
1. Install [Python](https://www.python.org/) and [Conda](https://docs.conda.io/en/latest/)
2. Install dependencies `pip install -r requirements.txt`
3. 3rd party setup
- FTX: Register [FTX exchange](https://ftx.com/#a=13144711)
- FTX: do the KYC
- FTX: Create [API key](https://ftx.com/profile)
- LINE: create LINE group
- LINE: create [LINE bot token](https://notify-bot.line.me/my/)
- LINE: invite "LINE Notify" bot into that group
4. Setup project and run
```bash
# TODO: complete it
```
## Note
- [ ] Backtesting
- [ ] Gracefully shutdown by closing all opened positions
- [ ] Trading algorithm that not depends on historical data
- [ ] Fix floating point error e.g. 3.7572000000000005
- [x] `ALL_UPPER_CASE` is for global variable and constant
- [ ] `generate_zone.py`
- [ ] Setup https://github.com/pyinstaller/pyinstaller
- [x] Logger
- Daily rotation
- Specify timezone
## Reference
- Originally created by Pisut Oncharoen
- https://docs.ftx.com/#rest-api