Skip to main content

📈 QuotexPy is a library for interact with qxbroker easily.

Project description

📈 QuotexPy is a library for interact with qxbroker easily.


License PyPI version GithubActions


Installing

📈 QuotexPy is tested on Ubuntu 18.04 and Windows 10 with python >= 3.10, <= 3.11..

pip install quotexpy

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

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

Import

from quotexpy.new import Quotex

Login by email and password

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quotexpy-1.0.36.tar.gz (189.4 kB view details)

Uploaded Source

Built Distribution

quotexpy-1.0.36-py3-none-any.whl (201.6 kB view details)

Uploaded Python 3

File details

Details for the file quotexpy-1.0.36.tar.gz.

File metadata

  • Download URL: quotexpy-1.0.36.tar.gz
  • Upload date:
  • Size: 189.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for quotexpy-1.0.36.tar.gz
Algorithm Hash digest
SHA256 bc76dff0a98341e9815175b3430db1790a407d298ea9086f74932e0f9abdb736
MD5 e1dce012d40d212d7a9a7cc1882dba11
BLAKE2b-256 7af8a8886b754e6a7fe6b2f5ab34dc9c0b49172a8bcb1ff69b799f6c8f067fff

See more details on using hashes here.

File details

Details for the file quotexpy-1.0.36-py3-none-any.whl.

File metadata

  • Download URL: quotexpy-1.0.36-py3-none-any.whl
  • Upload date:
  • Size: 201.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for quotexpy-1.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 019db8a674b1bf4f44cf784ecd1d2ffd4de75076f103da02f4f2b7e59ff9b2da
MD5 566018c5227789a82ee6545c523fc1e8
BLAKE2b-256 ba34b27a763dbb2ce45183d736d6354a9c28f405c51057797cbef2b28ed9d0dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page