Hey all, I'd apprecate any help deriving the gradient of the expected return for a series of bets in a horse race (or any parimutuel pool). The ER can be defined as:
Here, Q is the % of the pool returned to customers after track commision i.e. 1 - track take, where track take is the track's fee for putting on the race. N is the total number of combinations in the pool, W is the total money bet into the pool prior to our bets, w_i is the money bet on a single combination prior to our bet, b_i is our proposed bet on a combination, and p_i is the likelihood of combination i winning.
The part that is giving me trouble (I think) is the nested summation, specifically the partial deriviative with respect to b_i of