Commit Β·
ad69fc8
0
Parent(s):
Upload to GitHub
Browse files- .gitignore +6 -0
- .pyquotex-src +1 -0
- .quotex-alt +1 -0
- LICENSE +21 -0
- QuotexBot.session +0 -0
- README.md +94 -0
- app.py +13 -0
- bot.py +0 -0
- info comd.txt +1 -0
- ping.py +19 -0
- pip +0 -0
- render-build.sh +4 -0
- requirements.txt +11 -0
.gitignore
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.env
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.pyc
|
| 4 |
+
browser/
|
| 5 |
+
session.json
|
| 6 |
+
.venv/
|
.pyquotex-src
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit 224476543b6744b0f5d867bf554783d1643880e0
|
.quotex-alt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Subproject commit 13fa2b5e8d11e39c6e200e20f7cec88b8f7328be
|
LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2025 ByteSupreme
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
QuotexBot.session
ADDED
|
Binary file (41 kB). View file
|
|
|
README.md
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# β¨ Quotex Auto Trade Bot ππ°
|
| 2 |
+
|
| 3 |
+
Quotex Auto Trade Bot is a Python-based automation tool designed to facilitate trading on the Quotex platform. It allows users to add and manage multiple accounts, configure trade settings, and toggle automated trading features.
|
| 4 |
+
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
## πβ¨ Features
|
| 8 |
+
|
| 9 |
+
- **π€ Account Management**:
|
| 10 |
+
- π Securely add and manage multiple Quotex accounts.
|
| 11 |
+
- π View account profiles and balances.
|
| 12 |
+
- **π€ Trading Automation**:
|
| 13 |
+
- βοΈ Configure automated trading settings, including:
|
| 14 |
+
- π Trade Mode
|
| 15 |
+
- β³ Candle Size
|
| 16 |
+
- π¦ Account Type
|
| 17 |
+
- β»οΈ Automated Martingale strategy with cooldown management.
|
| 18 |
+
- **π οΈ Admin Tools**:
|
| 19 |
+
- π₯ Manage users and π’ broadcast messages via the admin panel.
|
| 20 |
+
- **β‘ Flexible Settings**:
|
| 21 |
+
- πΉ Support for OTC and regular trading assets.
|
| 22 |
+
- π Real-time candle direction analysis.
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## π οΈ Setup
|
| 27 |
+
|
| 28 |
+
1. **π₯ Clone the Repository**:
|
| 29 |
+
```bash
|
| 30 |
+
git clone https://github.com/ByteSupreme/QuotexAutoTradeBot.git
|
| 31 |
+
cd QuotexAutoTradeBot
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
2. **π¦ Install Dependencies**:
|
| 35 |
+
Ensure you have Python installed. Then run:
|
| 36 |
+
```bash
|
| 37 |
+
pip install -r requirements.txt
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
3. **π‘οΈ Create a `.env` File**:
|
| 41 |
+
Set up your environment variables for secure credentials.
|
| 42 |
+
|
| 43 |
+
4. **βΆοΈ Run the Bot**:
|
| 44 |
+
Start the bot with:
|
| 45 |
+
```bash
|
| 46 |
+
python bot.py
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## π‘ Usage
|
| 52 |
+
|
| 53 |
+
The bot is fully managed through interactive keyboards. Simply use the `/start` command to begin, and navigate through the options provided in the bot's interface.
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## π Dependencies
|
| 58 |
+
|
| 59 |
+
- `python-dotenv`
|
| 60 |
+
- `pyrofork`
|
| 61 |
+
- `tgcrypto`
|
| 62 |
+
- `motor`
|
| 63 |
+
- `colorama`
|
| 64 |
+
- `dnspython`
|
| 65 |
+
- `flask`
|
| 66 |
+
- `gunicorn`
|
| 67 |
+
- `requests`
|
| 68 |
+
- Custom library: `pyquotex` (installed via GitHub)
|
| 69 |
+
|
| 70 |
+
---
|
| 71 |
+
|
| 72 |
+
## π Thanks
|
| 73 |
+
|
| 74 |
+
Special thanks to the developers of the original [`pyquotex`](https://github.com/cleitonleonel/pyquotex) library, which serves as a foundation for the trading features in this bot.
|
| 75 |
+
|
| 76 |
+
---
|
| 77 |
+
|
| 78 |
+
## βοΈ Contact
|
| 79 |
+
|
| 80 |
+
For support or inquiries, please contact [@cybrion](https://t.me/cybrion) on Telegram.
|
| 81 |
+
Join the official channel: [The Hacking Zone](https://t.me/The_Hacking_Zone).
|
| 82 |
+
Check out the bot preview here: [Telegram Post](https://t.me/THZMedia/1099) π.
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## π€ Contributing
|
| 87 |
+
|
| 88 |
+
If you want to contribute, feel free to fork this repository, make your changes, and submit a pull request. Contributions are always welcome! π‘β¨
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## π License
|
| 93 |
+
|
| 94 |
+
This project is licensed under the [MIT License](LICENSE.md).
|
app.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from flask import Flask
|
| 2 |
+
|
| 3 |
+
# Create a Flask application
|
| 4 |
+
app = Flask(__name__)
|
| 5 |
+
|
| 6 |
+
# Define a route for the homepage
|
| 7 |
+
@app.route('/')
|
| 8 |
+
def hello_world():
|
| 9 |
+
return 'This bot is made by @Cybrion and currently it hosted and live for everyone'
|
| 10 |
+
|
| 11 |
+
# Run the application
|
| 12 |
+
if __name__ == '__main__':
|
| 13 |
+
app.run()
|
bot.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
info comd.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
gunicorn app:app & python3 bot.py & python3 ping.py
|
ping.py
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import requests
|
| 2 |
+
import time
|
| 3 |
+
import os
|
| 4 |
+
from dotenv import load_dotenv
|
| 5 |
+
|
| 6 |
+
# Load .env variables
|
| 7 |
+
load_dotenv()
|
| 8 |
+
|
| 9 |
+
url = os.getenv("PING_URL")
|
| 10 |
+
interval = int(os.getenv("PING_INTERVAL", 20))
|
| 11 |
+
|
| 12 |
+
while True:
|
| 13 |
+
try:
|
| 14 |
+
response = requests.get(url)
|
| 15 |
+
print("Status Code:", response.status_code)
|
| 16 |
+
except requests.exceptions.RequestException as e:
|
| 17 |
+
print("An error occurred:", e)
|
| 18 |
+
|
| 19 |
+
time.sleep(interval)
|
pip
ADDED
|
File without changes
|
render-build.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
pip install -r requirements.txt
|
| 3 |
+
playwright install chromium
|
| 4 |
+
playwright install-deps
|
requirements.txt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
python-dotenv
|
| 2 |
+
pyrofork
|
| 3 |
+
tgcrypto
|
| 4 |
+
motor
|
| 5 |
+
colorama
|
| 6 |
+
playwright-stealth==1.0.6
|
| 7 |
+
git+https://github.com/cleitonleonel/pyquotex.git
|
| 8 |
+
dnspython
|
| 9 |
+
flask
|
| 10 |
+
gunicorn
|
| 11 |
+
requests
|