Commit Graph

10 Commits

Author SHA1 Message Date
Martin Molinero 1997197f47 Fix failing unit tests 2018-09-18 12:10:42 -03:00
Martin Molinero 41873b2315 Fixing unit tests 2018-08-31 16:06:41 -03:00
devalkeralia 3cc8928a0a removed the IResultHandler from the constructor for DefaultBrokerageMessageHandler 2016-07-20 19:31:14 -04:00
Michael Handschuh f3cc448ad5 Update SecurityExchange.UpdateMarketHours to use segments 2016-01-29 18:12:57 -05:00
Michael Handschuh b64cd05333 Removes old-dead brokerage msg handler tests 2016-01-19 20:28:37 -05:00
snugs 9e660ffcbe Remove usages of Symbol implicits from non-algorithm projects 2015-11-18 18:15:31 -05:00
snugs 988f2bfe0f 'TravisExclude' DefaultBrokerageMessageHandler
These tests have dependencies on TPL and wall-clock time making them
not always pass in Travis, exclude for now.
2015-11-02 13:21:26 -05:00
snugs 83678d4c9b Make DefaultBrokerageMessageHandler tests pass
Issues could arise on single threaded machines not running the thread when expected, give more time
2015-11-02 12:27:57 -05:00
snugs 12f5dfd179 Increase sleep on test 2015-10-31 18:51:43 -04:00
snugs 4521a9aea3 Improve disconnect handling logic
No need to kill the algorithm if there's no open exchanges, wait
at least 15 minutes before killing algo (same as before with IB)

This logic is now centralized via an IBrokerageMessageHandler

Includes two new BrokerageMessageType
    Disconnect
    Reconnect

These messages should be used when a disconnect happens and again when we're reconnected
to tell the message handler the current state
2015-10-29 20:18:22 -04:00