Taketrung / betting-ai

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

Add mapToPrices to BetUtil #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
         /** Returns total volume to back and to lay at all prices based on a given list of bets. 
     *  Prices with zero volume are not returned by this method.
     * 
     * @param bets
     * @return key - price, value (totalToBack,totalToLay)
     */
    def mapToPrices(bets:List[IBet]):Map[Double,Tuple2[Double,Double]]

Original issue reported on code.google.com by daniel.k...@gmail.com on 27 Aug 2010 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 27 Aug 2010 at 12:45

GoogleCodeExporter commented 9 years ago

Original comment by daniel.k...@gmail.com on 28 Aug 2010 at 5:35