wboayue / ibapi

Interactive Brokers API - Go Implementation
MIT License
12 stars 7 forks source link

Fixes race condition #3

Closed wboayue closed 2 years ago

wboayue commented 2 years ago

Wait for server to send next valid order id before sending requests.

Sending requests prior to this may cause the server to close the connection.

codecov-commenter commented 2 years ago

Codecov Report

Merging #3 (57664c8) into main (fa6bf08) will decrease coverage by 0.25%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #3      +/-   ##
==========================================
- Coverage   18.03%   17.77%   -0.26%     
==========================================
  Files           5        5              
  Lines         549      557       +8     
==========================================
  Hits           99       99              
- Misses        445      453       +8     
  Partials        5        5              
Impacted Files Coverage Δ
client.go 0.00% <0.00%> (ø)
transport.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fa6bf08...57664c8. Read the comment docs.