-
-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HOW I CAN CONNECT TWO ACCOUNTS AT THE SAME TIME ? HELP #327
Comments
U have to have one API running normal and another one running in multiprocessing |
Sorry don't solve, the result is the same |
How is your code? |
from iqoptionapi.stable_api import IQ_Option def conectar_com_a_iq():
Account One Balance is 10036 Account Two Balance is 10000 But what is prints is: |
Tambem sou brasileiro, voce tem whatsapp irmao? |
Me chama aqui no pv |
Tentei com as threads que havia comentado, mas sem sucesso. class ApiThread(threading.Thread):
thread1 = ApiThread(1, "example01@gmail.com", "example01") thread1.start() |
Não pode usar thread, por que a thread continua usando os mesmos arquivos, já o multiprocessing "reseta" tudo. |
Muito obrigado por estar tentando me ajudar, voce poderia colar um codigo de exemplo aqui para que eu possa entender melhor ? |
wtf you're a fucking genius. :o from iqoptionapi.stable_api import IQ_Option def conectar_iq(email,senha):
if name == 'main':
|
Isso aí mano! Tava longe do PC pra mandar o cód, demorei mto pra chegar na solução de usar o MP |
Rapaz, eu estou a uns 3 meses tentando montar um robo para telegram usando a biblioteca do pytelegrambotapi |
Depois se puder me chama no whatsapp : 11 910492733 |
|
Sugiro usar algo como https://pypi.org/project/pysha3/ para gerar IDs Únicos. Assim vc praticamente zera a chance de ter alguém com o mesmo id. |
I copied and pasted literally the source code of iqoption api, and import twice in the code with different name, like Iq1, Iq2, and works fine |
Hello friends, my name is vinicius and I'm from Brazil, I'm a beginner/intermediate in python, and I'm trying to connect two accounts in the API and then display the result of the bankroll value (practice), but after connecting to the first API the code displays only the value of a connected account.
Can someone help me ?
from iqoptionapi.stable_api import IQ_Option
def conectar_com_a_iq():
conectar_com_a_iq()
The text was updated successfully, but these errors were encountered: