📈 QuotexPy is a library for interact with qxbroker easily.
Project description
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.
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following:
The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file quotexpy-1.0.4.tar.gz
.
File metadata
- Download URL: quotexpy-1.0.4.tar.gz
- Upload date:
- Size: 178.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.1.43
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdf40b0a230c990364f72699bad9fce4847a548a2394426b4257f1c9c315b3a7 |
|
MD5 | 336fb3f89ec853047753ee410fd2986b |
|
BLAKE2b-256 | ffc1c315091fad2a477014d8f56199a0e0b42c6d7f43a1d82cc42f8139548da1 |
File details
Details for the file quotexpy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: quotexpy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 190.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.1.43
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a815f1f14879524f5de14ffe172728be57c46000f8c76d802195478618d68285 |
|
MD5 | cb483b449ddb8342717327b83f3fdd26 |
|
BLAKE2b-256 | efb00e9a193e5ad47bc8c7889310b9260f4a1902c7a0e09182ce5b24cbcb9586 |