Project contain tons of hassle which makes reading the code harder, rubocop should heal it
Activity
topofocus commentedon Oct 12, 2020
Hi,
I was unable to run the tests after applying the changes.
Got
revoked the merge into to master branch.
Lets look together, what went wrong (mail me: topofocus@gmail,com)
topofocus commentedon Oct 15, 2020
Hi,
using the improved random id generation I run in some trouble
the console does not start
First I changed the method name to 'generate', because
ib-apiat some point tests if a Constant responds to call.Same result.
When i switched bach to `random 99999' anything works fine again.
Then
leads to the solution: random_id is also used to generate id's for the received-array, where messages arriving from the tws are stored.
Then this experiment reveals the problem.
Modifiying random_it to
ans subsequent usage of the console
``'`
newdevel:~/workspace/ib-api/bin$ ./console
IB-Core Interactive Console
Namespace is IB !
25967018522
25967018522
25967018522
25967018522
25967018522
25967018522
Connected to server, version: 137,
connection time: 2020-10-15 13:03:38 +0000 local, 2020-10-15T13:03:37+00:00 remote.
< ManagedAccounts: DF167347 - DU167348 - DU167349>
Got next valid order id: 14.