Having logged in using the betfair
function, the environment contains the marketPnL
method, which can be used to get market data in which you have struck any number of bets. You can use marketPnL
to see the returns for each selection in the market.
bf$marketPnL(marketIds,
settled,
bsp,
NET)