My blog in German: https://www.berndplumhoff.de
Rounding values preserving their rounded sum
Generate Random Numbers
Generate a random portfolio with a given total sum and lower + upper boundaries for each asset
Generate random numbers which will not reappear within the next N draws