Unique refId for account statement items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DivideByZeroError
    Junior Member
    • May 2009
    • 13

    #1

    Unique refId for account statement items

    Hello,

    I'm using getAccountStatement to track profit, commission, deposits etc., and the intention was to use refId to track unique items however I came across an example that breaks uniqueness.

    Most cases in my account statement are horse races with more than one bet settled per market, in which case the settled P&L for each bet has a unique refId and the commission payment has another unique id. The counter example I have is a football market where there is a single bet settled in a particular market and I can see the settled bet P&L and the commission charged both have the same refId.

    Why do two different account statement items have the same refId? Is there a different rule applied to football markets vs horse racing markets? Are markets with a single bet settled treated differently from markets with multiple bets settled?

    EDIT: Going back through more historic data I've seen the same issue on horse racing markets with multiple bets settled, i.e. the commission item in the account statement has the same refId as one of the P&L items in the statement. So it's clearly not related to a particular sport or number of settled bets, but it doesn't always happen, i.e. there are some markets where the commission statement item has a distinct refId from any P&L statement item.

    I searched the forum and documentation but didn't find an explanation. Thanks for your help.
    Last edited by DivideByZeroError; 25-10-2015, 10:39 PM. Reason: more information
  • DivideByZeroError
    Junior Member
    • May 2009
    • 13

    #2

    Comment

    Working...
    X