trungvothanh / bett

Automatically exported from code.google.com/p/betting-ai
1 stars 1 forks source link

Create MarketEventProducer #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As a MarketEventCollectorTask.
I want to get list of market events for monitored markets.
So that I can write them to disk

As proven by:
MarketEventCollectorTask is developed and tested with automated tests.

Acceptance criteria:
- Market data is collected in a format that is support by the MarketSimulator 
ver 1.0
- Market data is collected for all Horse Racing win only markets.
- Market data is collected starting 10 minutes before market start time until 
it's turned in play.

Blocked on:
MarketEventCalculator is ready to use.

Original issue reported on code.google.com by daniel.k...@gmail.com on 23 Jun 2010 at 11:08

GoogleCodeExporter commented 8 years ago
TODO:
- Get list of markets from betfair api.

For each market:
  - Get market prices and total traded volume and map it to Betex market prices and total trading volume.

  - Get previous market prices/total traded volume from Betex and pass both current/previous data to MarketEventCalculator.

  - Add market events to Betex and verify if they are correct.

Finally, return all market events for all markets.

Integration tests are created, mocking Betfair API only.

Original comment by daniel.k...@gmail.com on 23 Jun 2010 at 12:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
New acceptance criteria:
- If the current market state presents less traded volume than the previous 
market state then exception is thrown.
-If no previous market state is available then CREATE_MARKET event will be 
generated as the first event on the list.

Original comment by daniel.k...@gmail.com on 12 Jul 2010 at 4:03

GoogleCodeExporter commented 8 years ago

Original comment by daniel.k...@gmail.com on 12 Jul 2010 at 4:21

GoogleCodeExporter commented 8 years ago

Original comment by daniel.k...@gmail.com on 29 Jul 2010 at 5:19