Taketrung / betting-ai

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

Refactor Betex to introduce static typing and generics #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Example:

sealed trait Bet {
 type MATCHING_BET <: Bet
 def placeBet(bet: MATCHING_BET )
}

BackBet extends Bet {
 type MATCHING_BET = LayBet
 def placeBet(bet: MATCHING_BET )
}

BackBet extends Bet {
 type MATCHING_BET = BackBet
 def placeBet(bet: MATCHING_BET )
}

and the same in other places of Betex, e.g. UnmachedBackBets, UnmatchedLayBets,

and think about removing runner mapping from UnmatchedBets - make it runner 
unaware, it would simplify its design.

Original issue reported on code.google.com by daniel.k...@gmail.com on 18 Feb 2011 at 9:40

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 1 Mar 2011 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 1 Mar 2011 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 3 Mar 2011 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 3 Mar 2011 at 9:33

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 4 Mar 2011 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 4 Mar 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Duplicate of http://code.google.com/p/betting-exchange/issues/detail?id=1

Original comment by daniel.k...@gmail.com on 30 May 2011 at 10:43