Financial

Financial

If no output is requested, plot the bollinger bands of the ASSET.
Convert the current axis tick labels (or the axis handle H) to a date format.
Compute the effective rate of return based on a nominal RATE over a number of periods, NUMPERIODS.
Download stock data from a connection.
Return the future value at the end of period N of an investment which consists of N payments of P in each period, assuming an interest rate R.
Return the future value at the end of N periods of an initial lump sum investment L, given a per-period interest rate R.
Prepare a Google connection for the fetch command to get Google historical quote data.
Compute the highest high value of DATA for the past NPERIODS (default: 14) across the dimension, DIM (default: 1).
Plot the HIGH, LOW, and CLOSE of a security.
Return the internal rate of return of a series of payments P from an initial investment I (i.e., the solution of `npv (r, p) = i'.
Compute the lowest low value of DATA for the past NPERIODS (default: 14) across the dimension, DIM (default: 1).
Compute the modified internal rate of return.
Calculate the LEADing and LAGging moving average of an ASSET.
Compute the negative volume index of a security based on its closing price (CLOSEPRICE) and VOLume.
Compute the nominal rate of return based on a effective RATE over a number of periods, NUMPERIODS.
Return the number of regular payments of P necessary to amortize A loan of amount A and interest R.
Returns the net present value of a series of irregular (i.e., not necessarily identical) payments P which occur at the ends of N consecutive periods.
Compute the on balance volume of a security based on its closing price (CLOSEPRICE) and VOLume.
Return the amount of periodic payment necessary to amortize a loan of amount a with interest rate R in N periods.
Plot the point figure chart of an ASSET.
Compute the positive volume index of a security based on its closing price (CLOSEPRICE) and VOLume.
Returns the present value of an investment that will pay off P for N consecutive periods, assuming an interest R.
Return the present value of an investment that will pay off P in one lump sum at the end of N periods, given the interest rate R.
Return the rate of return on an investment of present value V which pays P in N consecutive periods.
Compute the relative strength index (RSI) of an asset from the vector of closing prices (CLOSEPRICE).
Compute the taxed rate of RETURN based on a PRETAXRETURN rate and a TAXRATE.
Return the volatility of each column of the input matrix X.
Prepare a Yahoo connection for the fetch command to get Yahoo historical quote data.
__fetch_google__ (CONN, SYMBOL, FROMDATE, TODATE, PERIOD)
__fetch_yahoo__ (CONN, SYMBOL, FROMDATE, TODATE, PERIOD)