modified your code and added a bit of mine,, but im facing few errors,,,, and someone help me solve it?? #68
anjalmorang
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
import tkinter as tk
from quotexpy import Quotex
from quotexpy.utils.account_type import AccountType
from quotexpy.utils.operation_type import OperationType
from quotexpy.utils.duration_time import DurationTime
from termcolor import colored
import os
import asyncio
import sys
from pathlib import Path
asset_current = "AUDCAD"
class SingletonDecorator:
"""
A decorator that turns a class into a singleton.
"""
@SingletonDecorator
class MyConnection:
"""
This class represents a connection object and provides methods for connecting to a client.
"""
async def check_asset(asset, client):
asset_open = await client.check_asset_open(asset)
return asset_open
class MyGUI:
def init(self, master, client):
self.master = master
self.client = client
master.title("Trading App")
async def main():
client = Quotex(
email="salmanthakur54u@email.com",
password="qwertysalmanthakur",
)
client.debug_ws_enable = False
def run_main():
try:
asyncio.run(main())
except KeyboardInterrupt:
print("Aborted!")
sys.exit(0)
if name == "main":
run_main()
please, someone help me to bring this working model to life
Beta Was this translation helpful? Give feedback.
All reactions