add seed!

This commit is contained in:
Michael Krabbe Borregaard 2018-10-30 14:05:18 +01:00
parent 5e06e0d2d2
commit 759cd7b3f2

View File

@ -440,6 +440,8 @@ PlotExample("Portfolio Composition maps",
see: http://stackoverflow.com/a/37732384/5075246 see: http://stackoverflow.com/a/37732384/5075246
""", """,
[:(begin [:(begin
using Random
Random.seed!(111)
tickers = ["IBM", "Google", "Apple", "Intel"] tickers = ["IBM", "Google", "Apple", "Intel"]
N = 10 N = 10
D = length(tickers) D = length(tickers)