This repository has been archived by the owner on Mar 14, 2024. It is now read-only.
Replies: 1 comment
-
I am not a programmer so I will explain in the best way I can. When I
updated to Spyder 5 I also lost the functionality of nest_asyncio and
couldn't connect to AWS so I reached out to the Spyder team who fixed it
by tweaking and updating the spyder_kernels package. Make sure you have
installed the latest version of the spyder_kernels package.
Good luck!
…------ Original Message ------
From: "roeek37" ***@***.***>
To: "erdewit/ib_insync" ***@***.***>
Cc: "Subscribed" ***@***.***>
Sent: 3/21/2022 7:19:11 PM
Subject: [erdewit/ib_insync] Spyder 5 - connection problem (Discussion
#455)
I'm looking to work with IB insync on spyder.
what i'm using is:
import nest_asyncio
nest_asyncio.apply()
from ib_insync import *
#util.startLoop()
ib = IB()
ib.connect('127.0.0.1', 7497, clientId=999)
print('connected')
I have tried to uncomment both nest_asyncio part and util.startLoop().
It seems to solve the "loop is already running" error,
but nothing happen after that (keeps running) and there is no
connection
to the TWS.
I'm using:
python 3.9spyder 5Win 10
I don't understand what I am doing wrong, any suggestions ?
—
Reply to this email directly, view it on GitHub
<#455>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG34HOZQICR3DJ6OLOYYXH3VBCVQ7ANCNFSM5RILZUMA>.
You are receiving this because you are subscribed to this
thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm looking to work with IB insync on spyder.
what i'm using is:
import nest_asyncio
nest_asyncio.apply()
from ib_insync import *
#util.startLoop()
ib = IB()
ib.connect('127.0.0.1', 7497, clientId=999)
print('connected')
I have tried to uncomment both nest_asyncio part and util.startLoop().
It seems to solve the "loop is already running" error,
but nothing happen after that (keeps running) and there is no connection
to the TWS.
I'm using:
I don't understand what I am doing wrong, any suggestions ?
Beta Was this translation helpful? Give feedback.
All reactions