mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 14:33:53 +00:00
fix twap tests
This commit is contained in:
parent
f2366908c3
commit
7da83e9e6c
|
@ -81,6 +81,9 @@ func bindMockMarketDataStream(mockStream *mocks.MockStream, stream *types.Standa
|
|||
mockStream.EXPECT().OnConnect(Catch(func(x any) {
|
||||
stream.OnConnect(x.(func()))
|
||||
})).AnyTimes()
|
||||
mockStream.EXPECT().OnDisconnect(Catch(func(x any) {
|
||||
stream.OnDisconnect(x.(func()))
|
||||
})).AnyTimes()
|
||||
}
|
||||
|
||||
func bindMockUserDataStream(mockStream *mocks.MockStream, stream *types.StandardStream) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user