spiral
Member of DD Central
Posts: 910
Likes: 456
|
Post by spiral on May 2, 2014 11:01:34 GMT
Anyone know what method RS use for determining where recycled repayments go in the queue? Obviously there are multiple "deposits" to the queue when repayments are processed. I'm just curious to understand what makes my money go in front (or behind) someone else that is also recycling repayments.
|
|
|
Post by westonkevRS on May 2, 2014 19:01:11 GMT
I was gonna ask today, but forgot amongst all the lending and recruiting! Bit I know it isn't urgent, just of interest so I'll ask next week (I don't know the answer, never thought of the question before!)
Kevin.
|
|
spiral
Member of DD Central
Posts: 910
Likes: 456
|
Post by spiral on May 7, 2014 8:19:43 GMT
I was going to look at todays repayment in greater detail to ascertain how much money went in front/behind me but to my annoyance, I was only due 20p today so no reinvestment for me. This did lead me to another question though as from the 20p due, I only received 19p so I assume RS work to more decimal places than exact roundings. Anyone know how many? I think Zopa use about 6 decimal places.
|
|
markr
Member of DD Central
Posts: 766
Likes: 426
|
Post by markr on May 7, 2014 8:58:44 GMT
Consider a £10 loan part in the 5 year market at 4%. The final repayment will be about 20p capital and 0.05p interest. RS's fee is 10% of interest, so they'd be taking 0.005p. So, to keep rounding errors acceptable you'd probably want to be able to keep track of 0.00001p so 5 or 6 decimal places would be the minimum, but I expect RS and probably Zopa use floating point representation internally anyway so it only matters when data is presented in human-readable form.
Presumably, fractional pence repayments are rolled up until they reach 1p. In the example above you'd expect about 1p interest from the last 5 months, so presumably you'd get 4 months of nothing then a bumper 1p interest payment on the final repayment.
|
|
spiral
Member of DD Central
Posts: 910
Likes: 456
|
Post by spiral on May 7, 2014 11:29:49 GMT
I've just noticed also that the repayment schedule shows the payment before fee deduction so that is the true discrepancy that I am noticing. Anyway, back on track. WestonKev, have you asked yet about the queuing of recycled funds?
|
|
|
Post by p2plender on May 7, 2014 18:57:50 GMT
'the payment before fee reduction'.......
Yes and I wish they'd show 'the payment after fee reduction'.
|
|
|
Post by westonkevRS on May 9, 2014 17:45:06 GMT
In terms of "rounding", the answer is relatively straight forward. Although if the forums are anything to go by, I suspect my answers might breed more questions...
> Percentages are stored as whole basis points, without decimals. So as a result, the rounding will be two digits. So 19.99% APR is stored 1999
> Numbers such as money are stored in a similar fashion, multiplied by 1,000. So in effect rounding is to the penny plus two decimals.
The above might not be strictly true in all aspects of the code in our back office processing platform or databases, but is close enough for the interests of this forum! This is really how the data is stored, perhaps when the code is doing some computations it probably goes deeper.
Kevin.
|
|
|
Post by westonkevRS on May 9, 2014 20:06:46 GMT
Queues....
The placement of people's order in the queue for reinvested payments wasn't designed with a specific methodology. However the code processes the loan repayment by order of loan original open date. So the older the loan from which the repayment comes from the nearer the front you are. It gets a little more complicated because all lender reinvestments from different loans are amalgamated. This all go to their front place, so some mini queue jumping goes on.
This queue ordering is largely irrelevant, certainly for the rolling monthly money. And even the longer term markets such as the 5-yr will probably be lent same day at that market rate. No waiting, unlent funds or OLO guesswork with RateSetter.
So what eventually happens is that lenders who have been lending the longest are most likely to be at the front. It wasn't designed to be this way, but a nice bi-product. Other than this, once your money starts gettting on lots of different loans through reinvestment, the more random things become. Although thanks to the queue jump, the more loans you have participated in the more likely you are to be at the front. Nice outcome as well!
Kevin.
|
|
spiral
Member of DD Central
Posts: 910
Likes: 456
|
Post by spiral on May 10, 2014 9:50:55 GMT
Thanks for both responses Kev, although largely academic, I still like to understand how things work.
|
|