Learn R Programming

maRketSim (version 0.9.2)

current.market: Find current market object

Description

Function to return the market object at a given time from a history.market object. If no time point exists, interpolate by grabbing the previous market and returning a market object with those characteristics but the current time.

Usage

current.market(hist.mkt, t, ...)

Arguments

hist.mkt
a history.market object
t
which time to extract
...
Pass-alongs

Value

A market object