Metadata-Version: 2.1
Name: quotexpy
Version: 1.0.33
Summary: 📈 QuotexPy is a library for interact with qxbroker easily.
Home-page: https://github.com/SantiiRepair/quotexpy
License: BSL
Keywords: quotex,quotexpy
Author: Santiago Ramirez
Author-email: santiirepair@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: appdirs (>=1.4.4,<2.0.0)
Requires-Dist: beautifulsoup4 (>=4.11.2,<5.0.0)
Requires-Dist: certifi (>=2022.12.7,<2023.0.0)
Requires-Dist: charset-normalizer (>=3.2.0,<4.0.0)
Requires-Dist: cloudscraper (>=1.2.71,<2.0.0)
Requires-Dist: greenlet (>=2.0.2,<3.0.0)
Requires-Dist: idna (>=3.4,<4.0)
Requires-Dist: importlib-metadata (>=6.2.0,<7.0.0)
Requires-Dist: playwright (>=1.37.0,<2.0.0)
Requires-Dist: pyee (>=9.0.4,<10.0.0)
Requires-Dist: pyparsing (>=3.1.1,<4.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: requests-toolbelt (>=1.0.0,<2.0.0)
Requires-Dist: shutup (>=0.2.0,<0.3.0)
Requires-Dist: simplejson (>=3.18.3,<4.0.0)
Requires-Dist: soupsieve (>=2.4,<3.0)
Requires-Dist: termcolor (>=2.3.0,<3.0.0)
Requires-Dist: tqdm (>=4.65.0,<5.0.0)
Requires-Dist: typing_extensions (>=4.5.0,<5.0.0)
Requires-Dist: urllib3 (>=2.0.5,<3.0.0)
Requires-Dist: websocket-client (>=1.6.3,<2.0.0)
Requires-Dist: websockets (>=11.0.3,<12.0.0)
Requires-Dist: zipp (>=3.17.0,<4.0.0)
Project-URL: Repository, https://github.com/SantiiRepair/quotexpy
Description-Content-Type: text/markdown

<div align="center">
<img src="https://static.scarf.sh/a.png?x-pxid=cf317fe7-2188-4721-bc01-124bb5d5dbb2" />

## <img src="https://github.com/SantiiRepair/quotexpy/blob/main/.github/images/quotex-logo.png?raw=true" height="56"/>


**📈 QuotexPy is a library for interact with qxbroker easily.**

______________________________________________________________________

[![License](https://img.shields.io/badge/License-GPL--3.0-magenta.svg)](https://www.gnu.org/licenses/gpl-3.0.txt)
[![PyPI version](https://badge.fury.io/py/quotexpy.svg)](https://badge.fury.io/py/quotexpy)
![GithubActions](https://github.com/SantiiRepair/quotexpy/actions/workflows/pylint.yml/badge.svg)

</div>

______________________________________________________________________

## Installing

📈 QuotexPy is tested on Ubuntu 18.04 and Windows 10 with **python >= 3.10, <= 3.11.**.
```bash
pip install quotexpy
```

If you plan to code and make changes, clone and install it locally.

```bash
git clone https://github.com/SantiiRepair/quotexpy.git
pip install -e .
```

### Import
```python
from quotexpy.new import Quotex
```

### Login by email and password
```python
from quotexpy.new import Quotex

client = Quotex(email="user@email.com", password="password", browser=True)
# if connect success return True or None 
# if connect fail return False or None 
client.debug_ws_enable = False
check_connect, message = client.connect()
print(check_connect, message)
```

### Check_win & buy sample

```python
from quotexpy.new import Quotex

client = Quotex(email="user@email.com", password="password", browser=True)
client.debug_ws_enable = False
check_connect, message = client.connect()
print(check_connect, message)
if check_connect:
    client.change_account("PRACTICE")
    amount = 30
    asset = "EURUSD_otc"  # "EURUSD_otc"
    direction = "call"
    duration = 10  # in seconds
    status, buy_info = client.buy(amount, asset, direction, duration)
    print(status, buy_info)
    print("Balance: ", client.get_balance())
    print("Exiting...")
client.close()
```
### ⚠️ Atention 
Because cloudfare blocks requests you should enable `browser=True` to avoid `HTTP 403` errors.

