My blog in German: https://www.berndplumhoff.de
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