gofinance / ib

Pure Go interface to Interactive Brokers IB API
392 stars 122 forks source link

Manager returned an error after 0 updates: SinkManager: no new update in 15s #17

Closed typeless closed 8 years ago

typeless commented 9 years ago

"go get" the HEAD (85b9a6dd8d444b7cceef3d7a522307b7a476fec3) and tested it on Windows Server 2012 with the latest Jts and IBController 2.14.0

Test account is "fdemo"

PS C:\Users\user\Projects\Gohome\src\github.com\gofinance\ib> go version
go version devel +168a51b Thu Oct 8 07:49:35 2015 +0000 windows/amd64

PS C:\Users\user\Projects\Gohome\src\github.com\gofinance\ib> go test
--- FAIL: TestAdvisorAccountManager (15.41s)
        engine_test.go:72: created engine for reuse
        manager_test.go:13: Manager returned an error after 0 updates: SinkManager: no new update in 15s
--- FAIL: TestChainManager (16.65s)
        engine_test.go:81: reusing engine localhost:4002/1; state: EngineReady
        manager_test.go:13: Manager returned an error after 0 updates: SinkManager: no new update in 15s
[]
--- FAIL: TestInstrumentManager (0.52s)
        engine_test.go:81: reusing engine localhost:4002/1; state: EngineReady
        manager_test.go:13: Manager returned an error after 0 updates: No historical data query found for ticker id:110(110/366)
--- FAIL: TestPrimaryAccountManager (0.40s)
        engine_test.go:81: reusing engine localhost:4002/1; state: EngineReady
        manager_test.go:13: Manager returned an error after 0 updates: Error validating request:-'dd' : cause - The account code is required for this operation. (2147483647/321)
FAIL
exit status 1
FAIL    github.com/gofinance/ib 54.163s