Taketrung / betting-ai

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

Calculate expected market profit for user #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As a simulator
I want to calculate expected market profit for user
So that I can run market simulation
As proven by

Report:
Expected profit report for trader com.dk.bettingai.trader.SimpleTraderImpl:

Catt 7th Apr: 14:10 7f Claim Stks    expProfit=28 expAggrProfit=28 
mBets=34 uBets=17
Catt 7th Apr: 14:40 1m6f Hcap       expProfit=4   expAggrProfit=32 
mBets=27 uBets=2
...
Nott 7th Apr: 17:20 1m Hcap         expProfit=-6  expAggrProfit=136
mBets=45 uBets=57
--------------------------------------------------------------------------------
-----
TotalExpectedProfit=136 TotalMatchedBets=457 TotalUnmachedBets=262
[END Of THE OUTPUT]

Definitions:

    * expProfit - Expected market profit based on all matched bets on the
market placed by trader.

    * expAggrProfit- Expected profit for the market and all prior markets. 

    * mBets - Number of matched bets on the market placed by trader.

    * uBets - Number of unmatched bets on the market placed by trader.

    * TotalExpectedProfit - Expected profit for all markets and all matched
bets placed by trader.

    * TotalMatchedBets - Number of all matched bets for all markets placed
by trader.

    * TotalUnmatchedBets - Number of all unmatched bets for all markets
placed by trader.

Original issue reported on code.google.com by daniel.k...@gmail.com on 19 Apr 2010 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 19 Apr 2010 at 1:26

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 19 Apr 2010 at 3:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The scope of this story has been limited to implement ProbabilityCalculator and 
MarketExpectedProfit calculator.

Original comment by daniel.k...@gmail.com on 7 Jun 2010 at 4:38