listMarketProfitAndLoss
Ā
List<MarketProfitAndLoss> listMarketProfitAndLoss ( Set<MarketId> marketIds, boolean includeSettledBets, boolean includeBspBets, boolean netOfCommission ) throws APINGException
Parameter name | Type | Required | Description |
---|---|---|---|
marketIds | Set<MarketId> | List of markets to calculate profit and loss | |
includeSettledBets | boolean | Ā | Option to include settled bets (partially settled markets only). Defaults to false if not specified. |
includeBspBets | boolean | Ā | Option to include BSP bets. Defaults to false if not specified. |
netOfCommission | boolean | Ā | Option to return profit and loss net of users current commission rate for this market including any special tariffs. Defaults to false if not specified. |
Return type | Description |
---|---|
List<MarketProfitAndLoss> | Ā |
Throws | Description |
---|---|
Generic exception that is thrown if this operation fails for any reason. |
Since 1.0.0