Skip to content

Jib.reqMktData throws e = TypeError: in typeassert, expected Float64, got a value of type Nothing #17

Answered by lbilli
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

So I converted this into a discussion, which might be a more appropriate venue.

Regarding the exception, it looks like something that I have occasionally encountered and stems from the strict type conversions that I have adopted in this package. In this case TWS is sending an empty string where a float is expected.
I could always widen the accepted types but I'm a bit reluctant doing so given the fact that usually these erratic behaviors are transient and disappear after minor TWS update.

In order to make sure that this is in fact the case, I would try first to update TWS or try a different version like "stable" or "beta".

If this behavior persists, it could be something more serious and …

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@ghost
Comment options

@lbilli
Comment options

@ghost
Comment options

@ghost
Comment options

@lbilli
Comment options

Answer selected
Comment options

You must be logged in to vote
1 reply
@lbilli
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #16 on February 07, 2022 20:57.