Taketrung / betting-ai

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

Support CANCEL_BETS event #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As a trader
I want to process CANCEL_BETS events with market simulator tool 
So that I can analyse trading strategies

As proven by:
All unit/integration/e2e tests for acceptance criteria pass

Acceptance criteria:
Event description:
Cancel a given size of unmatched bets for a given user id, price and market 
runner.

{"eventType":"CANCEL_BETS","userId":124,"betsSize":20.0,"betPrice":1.85,"marketI
d":10,"runnerId":1000}

Blocked on:
None.

Original issue reported on code.google.com by daniel.k...@gmail.com on 8 Jul 2010 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 8 Jul 2010 at 4:05

GoogleCodeExporter commented 9 years ago
TODO:
- Extend MarketEventProcessor to support CANCEL_BETS event.
- Extend Betex to support cancelBets()
- Extend e2e tests for MarketSimulator to process CANCEL_BETS event
- Remove support for CANCEL_BET event
- Remove betId from PLACE_BET event

Original comment by daniel.k...@gmail.com on 8 Jul 2010 at 4:13

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 8 Jul 2010 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 12 Jul 2010 at 3:55