¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: IB tws is sending back a null/empty field when it should be a float


 

here's my request

contract = Jib.Contract(symbol=s, secType="STK", exchange="SMART", currency="USD")

Jib.reqMktData(ib, idx, contract, "", false)

and I'm getting spurious


tickPrice2: AAPL CLOSE 172.39 0.0 (canAutoExecute = false, pastLimit = false, preOpen = false)
tickPrice2: AAPL OPEN 172.76 0.0 (canAutoExecute = false, pastLimit = false, preOpen = false)
tickPrice2: AAPL BID 172.8 23.0 (canAutoExecute = true, pastLimit = false, preOpen = false)
tickPrice2: AAPL ASK 172.81 33.0 (canAutoExecute = true, pastLimit = false, preOpen = false)
tickSize: 1 BID_SIZE 23.0
tickSize: 1 ASK_SIZE 33.0
tickString: 1 BID_EXCH KPQXZU
tickString: 1 ASK_EXCH KPQZNU
marketDataType: 2 REALTIME
tickReqParams: 2 0.01 9c0001 3
©° Error: exception thrown
©¦   e = TypeError: in typeassert, expected Float64, got a value of type Nothing

Join [email protected] to automatically receive all group messages.