Browse Source

DataType Price renamed to LastTradePrice

master
Denis Tereshkin 8 years ago
parent
commit
15aaed2a6f
  1. 2
      test/TestQuoteSourceClient.hs
  2. 2
      test/TestQuoteSourceServer.hs

2
test/TestQuoteSourceClient.hs

@ -48,7 +48,7 @@ testTickStream = testCase "QuoteSource clients receives ticks" $ withContext (\c @@ -48,7 +48,7 @@ testTickStream = testCase "QuoteSource clients receives ticks" $ withContext (\c
bracket (startQuoteSourceClient clientChan ["FOOBAR"] ctx ep) stopQuoteSourceClient (\qc -> do
let tick = Tick {
security = "FOOBAR",
datatype = Price,
datatype = LastTradePrice,
timestamp = UTCTime (fromGregorian 2016 9 27) 16000,
value = 1000,
volume = 1}

2
test/TestQuoteSourceServer.hs

@ -38,7 +38,7 @@ testTickStream = testCase "QuoteSource Server sends ticks" $ withContext (\ctx - @@ -38,7 +38,7 @@ testTickStream = testCase "QuoteSource Server sends ticks" $ withContext (\ctx -
subscribe s "FOOBAR"
let tick = Tick {
security = "FOOBAR",
datatype = Price,
datatype = LastTradePrice,
timestamp = UTCTime (fromGregorian 2016 9 27) 16000,
value = 1000,
volume = 1}

Loading…
Cancel
Save