Skip to content

Get start

document version

v2.8 fix ssl handshake v2.7 add get_payment_v2 v2.6 fix ping for connect stable & fix close v2.5 fix buy

Debug Mode ON

import logging
logging.basicConfig(level=logging.DEBUG,format='%(asctime)s %(message)s')

Login by email/password

!!! not support now !!!

Login by ssid

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
print(check_connect,message)

setting sslopt option

ssl.PROTOCOL_TLSv1 for linux, window maybe not work

import ssl
from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="

sslopt={"check_hostname": False, "cert_reqs": ssl.CERT_NONE, "ca_certs": "cacert.pem","ssl_version":ssl.PROTOCOL_TLSv1}
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie,sslopt=sslopt)
check_connect,message=account.connect()
print(check_connect,message)

get ssid by selenium

import json
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
opt = webdriver.ChromeOptions()
opt.add_experimental_option('w3c', False)
driver = webdriver.Chrome(chrome_options=opt, desired_capabilities={
                                'loggingPrefs': {'performance': 'ALL'}})
driver.delete_all_cookies()
driver.get("https://quotex.io/en/sign-in/")
ssid=None
while True: 
    if ssid!=None:
        break
  
    for entry in driver.get_log('performance'):
        start_send=False
        try:
            shell = entry["message"]
            payloadData = json.loads(
                shell)["message"]["params"]["response"]["payloadData"]
                
            if "authorization" in shell and "session" in shell:
                ssid=payloadData
                print(ssid)
        except:
            pass
                

check_win & buy sample

 
from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
if check_connect:
    account.change_balance("PRACTICE")#"REAL"
    asset="EURUSD"
    amount=1
    dir="call"#"call"/"put"
    duration=60#sec
    print("Balance: ",account.get_balance())
    c,buy_info=account.buy(asset,amount,dir,duration)
    #need this to close the connect
    print(buy_info)
    if c :
        print("----Trade----")
        print("Get: ",account.check_win(buy_info["id"]))
        print("----Trade----")
        print("Balance: ",account.get_balance())
        #need close ping server thread
    else:
        print("BUY Fail")
    account.close()

Get Balance

from quotexapi.stable_api import Quotex 
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check,message=account.connect()
account.change_balance("PRACTICE")
balance=account.get_balance()
print(balance)
account.close()

Buy

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check,message=account.connect()
if check:
    account.change_balance("PRACTICE")
    asset="EURUSD"
    amount=1
    dir="call"#"call"/"put"
    duration=60#sec
    print(account.buy(asset,amount,dir,duration))
    account.close()

sell_option

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
if check_connect:
    account.change_balance("PRACTICE")#"REAL"
    asset="EURUSD"
    amount=1
    dir="call"#"call"/"put"
    duration=120#sec
    print("Balance: ",account.get_balance())
    buy_info=account.buy(asset,amount,dir,duration)
    #need this to close the connect
    account.sell_option(buy_info["id"])
    account.close()

get candle

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
import time
if check_connect:
    asset="EURUSD"
    _time=int(time.time())#the candle end of time
    offset=180#how much sec want to get     _time-offset --->your candle <---_time
    period=60#candle size in sec
    print("You will get the candle from: "+str(_time-offset)+" to: "+str(_time))
    print("------\n")
    candle=account.get_candle(asset,_time,offset,period)
    for c in candle["data"]:
        print(c)
    account.close()

get candle v2

from quotexapi.stable_api import Quotex
import logging
#logging.basicConfig(level=logging.DEBUG,format='%(asctime)s %(message)s')
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
import time
print(check_connect,message)
if check_connect: 
    print("\n\n------get")
    a=account.get_candle_v2("NZDUSD_otc",180)
    print(a)

check_asset_open

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
import time
if check_connect:
    print("Check Asset Open")
    for i in account.get_all_asset_name():
        print(i,account.check_asset_open(i))
    account.close()

GET realtime candle

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
import time
if check_connect:
    asset="NZDUSD_otc"
    list_size=10#this is setting how much Quote you want to save
    account.start_candles_stream("NZDUSD_otc",list_size)
    while True:
        if len(account.get_realtime_candles("NZDUSD_otc"))==list_size:
            break
    print(account.get_realtime_candles("NZDUSD_otc"))
    account.close()

get_payment

from quotexapi.stable_api import Quotex
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check_connect,message=account.connect()
if check_connect:
    
    all_data=account.get_payment()
    for asset_name in all_data:
        asset_data=all_data[asset_name]
        print(asset_name,asset_data["payment"],asset_data["open"])

account.close()

get trade on all platform

from quotexapi.stable_api import Quotex
import time
import json
switch=0
def low_level_message(message):
    global switch
    message_str=str(message)
    
    if "orders/open" in message_str:
        switch=1
    elif switch:
        try:
            t_data=json.loads(message[1:])
            if len(t_data)!=0:  
                print("You get trade")
                print(t_data)
        except:
            pass
        switch=0
 
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
account.set_call_back_for_client(low_level_message)
check_connect,message=account.connect()
if check_connect:
    while True:
        time.sleep(10)

get_signal_data

from quotexapi.stable_api import Quotex 
import time
ssid="""42["authorization",{"session":"93AVfz1QcsxPaKT0D1mstSiySKOyyfR5dbYRdzkw","isDemo":0,"tournamentId":0}]"""
host="quotex.com"#qxbroker.com
user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
weboscket_cookie="referer=https%3A%2F%2Fwww.google.com%2F; _ga_L4T5GBPFHJ=GS1.1.1681747788.16.0.1681747788.0.0.0; _ga=GA1.1.1122743431.1676364022; lang=zh; nas=[%22AUDCAD%22]; z=[[%22graph%22%2C2%2C0%2C0%2C0.8333333]]; _vid_t=BuwTINu0ChfY5MF7ZlOYY4qnJo49tTDjtInieG4nYwCQMUpYwYmcs6zVns052SDhzcjUki3JifwYUsOqxeRVRJgC4w==; __vid_l3=fb1abcb3-3a99-4a9b-812d-b28d3f05ddee; __cf_bm=j7yxIz3NXaxWCQ_lk0DO9nhvIi4v_XY9lrTfLYWPsYs-1681747718-0-AcpXdrEBlTocM8xphEoTDsFr1IjQB59g76JO5NkMgtyWQaA/9qkiIvayMFv79noJwcIO/nxoGxxCQHLq2Fu0K4M="
account=Quotex(set_ssid=ssid,host=host,user_agent=user_agent,weboscket_cookie=weboscket_cookie)
check,message=account.connect()
while True:
    print(account.get_signal_data())
    time.sleep(1)