Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Finance[DynamicPortfolio] - create new dynamic portfolio
Calling Sequence
DynamicPortfolio(update, weights, components, updates)
Parameters
update
-
procedure; procedure for determining how the weights should be updated
weights
list or Vector; initial weights
components
stochastic process, list or Vector of stochastic processes; components of the portfolio
updates
(optional) continuous or positive integer; indicates how often the portfolio should be updated
Description
The DynamicPortfolio command creates new dynamically updated portfolio.
The parameter update is a procedure used for calculating the updated weights of the portfolio. This procedure will be called every time the portfolio is rebalanced. The following five arguments will be passed to the procedure: , , , and , where is the vector of new weights, is the vector of new values, is the vector of old weights, is the vector old values and is the current time.
The parameter weights is the vector of initial weights.
The parameter components is either a multi-dimensional stochastic process or a vector of one-dimensional stochastic processes.
Finally, the (optional) parameter updates controls how often the portfolio should be updated. Possible values are continuous or any positive integer. This integer value will specify the number of updates per year. If the value of this parameter is continuous, then the portfolio will be updated at every point in the discretization time grid.
Compatibility
The Finance[DynamicPortfolio] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
Examples
Consider two processes. The first process is a geometric Brownian motion. The second process is a deterministic process with constant value 1.0.
U := proc(w, w0, x, x0, t) if x[1] < 1.05 then w[1] := 0; w[2] := 1; else w[1] := 1; w[2] := 0; end if; end proc;
Q := DynamicPortfolio(proc() end, W, X):
R := DynamicPortfolio(proc() end, <0.0, 1.0>, X):
See Also
Finance[BlackScholesProcess], Finance[CEVProcess], Finance[Diffusion], Finance[Drift], Finance[ExpectedValue], Finance[GeometricBrownianMotion], Finance[ItoProcess], Finance[PathPlot], Finance[SamplePath], Finance[SampleValues], Finance[StochasticProcesses], Finance[WienerProcess]
Download Help Document