import Portfolio from './src/portfolio';
import Asset from './src/asset';
import Percent from './src/percent';
import USD from './src/usd'; const $ = USD;

const assets = [{
  asset: Asset('ITOT', $(91.49)),
  quantity: 0,
  ideal: Percent(30)
}, {
  asset: Asset('IJS', $(110.21)),
  quantity: 0,
  ideal: Percent(10)
}, {
  asset: Asset('IXUS', $(51.35)),
  quantity: 0,
  ideal: Percent(20)
}, {
  asset: Asset('AGG', $(109.62)),
  quantity: 0,
  ideal: Percent(20)
}, {
  asset: Asset('TLT', $(123.42)),
  quantity: 0,
  ideal: Percent(15)
}, {
  asset: Asset('IAU', $(11.28)),
  quantity: 0,
  ideal: Percent(5)
}];

let portfolio = Portfolio(assets);
portfolio.load($(3000));
console.log(portfolio.assets);

@@ -187,22 +187,19 @@
 et('
-ITOT
+VTI
 ', $(
-91.49
+105
 )),%0A
@@ -259,22 +259,22 @@
 et('
-IJS
+VBR
 ', $(1
-10.21
+02.47
 )),%0A
@@ -334,22 +334,21 @@
 et('
-IXUS
+VEU
 ', $(
-51.35
+45.79
 )),%0A
@@ -371,34 +371,34 @@
  ideal: Percent(
-20
+15
 )%0A%7D, %7B%0A  asset: 
@@ -408,22 +408,94 @@
 et('
-AGG
+VSS
 ', $(
-109.62
+95.98)),%0A  quantity: 0,%0A  ideal: Percent(5)%0A%7D, %7B%0A  asset: Asset('BND', $(82.05
 )),%0A
@@ -567,10 +567,10 @@
 123.
-42
+71
 )),%0A
@@ -641,10 +641,10 @@
 (11.
-28
+35
 )),%0A
@@ -739,16 +739,17 @@
 d($(3000
+0
 ));%0Acons

Update sample portfolio.