Help for troubl shooting IB_INSYNC implementation on a WINDOWS machine
Budget: €30 – €250 EUR
I am looking for a freelancer who can help troubleshoot my IB_INSYNC implementation on a Windows machine. Specific issue: I am experiencing an installation issue with IB_INSYNC on my Windows machine.
I have dowloaded ANACONDA3 and IB_INSYNC and run pip install. I would like to be able to run the following code which uses both IB_INSYNC and IB API.
I am opened to either keeping my current environment/directory structure (where I am using IB APY) or having a new one dedicated to IB_INSYNC based projects.
Error message/code: I have an error message/code that is preventing me from successfully installing IB_INSYNC.
i) THE CODE IS
from ibapi.client import EClient
from ibapi.wrapper import EWrapper
from ibapi.contract import Contract
import threading
import time
from IB_inSYNC import *
#util.startLoop() # only use in interactive environments (i.e. Jupyter Notebooks)
#ib = IB()
ib.connect(host='127.0.0.1', port=7497, clientId=1)
nflx_contract = Stock('NFLX', 'SMART', 'USD')
ib.qualifyContracts(nflx_contract)
data = ib.reqMktData(nflx_contract)
data.marketPrice()
historical_data_nflx = ib.reqHistoricalData(
nflx_contract,
'',
barSizeSetting='15 mins',
durationStr='2 D',
whatToShow='MIDPOINT',
useRTH=True
)
2) The error message is:
runfile('C:/Users/Jean-Pierre/OneDrive/Desktop/ALGO-TRANSFER-FEB182021/source/pythonclient/PYTHON_CVS_MKTDATA-30082023JP-V02_IB_INSYNC.py', wdir='C:/Users/Jean-Pierre/OneDrive/Desktop/ALGO-TRANSFER-FEB182021/source/pythonclient')
Reloaded modules: ibapi, ibapi.message, ibapi.enum_implem, ibapi.object_implem, ibapi.common, ibapi.utils, ibapi.contract, ibapi.softdollartier, ibapi.order, ibapi.order_state, ibapi.execution, ibapi.ticktype, ibapi.commission_report, ibapi.wrapper, ibapi.server_versions, ibapi.tag_value, ibapi.scanner, ibapi.errors, ibapi.comm, ibapi.order_condition, ibapi.orderdecoder, ibapi.decoder, ibapi.reader, ibapi.connection, ibapi.client
Traceback (most recent call last):
File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\users\jean-pierre\onedrive\desktop\algo-transfer-feb182021\source\pythonclient\python_cvs_mktdata-30082023jp-v02_ib_insync.py:17
from IB_inSYNC import *
ModuleNotFoundError: No module named 'IB_inSYNC'
I have dowloaded ANACONDA3 and IB_INSYNC and run pip install. I would like to be able to run the following code which uses both IB_INSYNC and IB API.
I am opened to either keeping my current environment/directory structure (where I am using IB APY) or having a new one dedicated to IB_INSYNC based projects.
Error message/code: I have an error message/code that is preventing me from successfully installing IB_INSYNC.
i) THE CODE IS
from ibapi.client import EClient
from ibapi.wrapper import EWrapper
from ibapi.contract import Contract
import threading
import time
from IB_inSYNC import *
#util.startLoop() # only use in interactive environments (i.e. Jupyter Notebooks)
#ib = IB()
ib.connect(host='127.0.0.1', port=7497, clientId=1)
nflx_contract = Stock('NFLX', 'SMART', 'USD')
ib.qualifyContracts(nflx_contract)
data = ib.reqMktData(nflx_contract)
data.marketPrice()
historical_data_nflx = ib.reqHistoricalData(
nflx_contract,
'',
barSizeSetting='15 mins',
durationStr='2 D',
whatToShow='MIDPOINT',
useRTH=True
)
2) The error message is:
runfile('C:/Users/Jean-Pierre/OneDrive/Desktop/ALGO-TRANSFER-FEB182021/source/pythonclient/PYTHON_CVS_MKTDATA-30082023JP-V02_IB_INSYNC.py', wdir='C:/Users/Jean-Pierre/OneDrive/Desktop/ALGO-TRANSFER-FEB182021/source/pythonclient')
Reloaded modules: ibapi, ibapi.message, ibapi.enum_implem, ibapi.object_implem, ibapi.common, ibapi.utils, ibapi.contract, ibapi.softdollartier, ibapi.order, ibapi.order_state, ibapi.execution, ibapi.ticktype, ibapi.commission_report, ibapi.wrapper, ibapi.server_versions, ibapi.tag_value, ibapi.scanner, ibapi.errors, ibapi.comm, ibapi.order_condition, ibapi.orderdecoder, ibapi.decoder, ibapi.reader, ibapi.connection, ibapi.client
Traceback (most recent call last):
File ~\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\users\jean-pierre\onedrive\desktop\algo-transfer-feb182021\source\pythonclient\python_cvs_mktdata-30082023jp-v02_ib_insync.py:17
from IB_inSYNC import *
ModuleNotFoundError: No module named 'IB_inSYNC'