GetInterestRate

GetInterestRate ();

Description

Returns the global interest rate. This function cannot be used in Study Filters.

Example

declare lower;
input loan = 1000;
plot Charge = loan * GetInterestRate();
AddLabel(yes, "Interest Rate: " + GetInterestRate() * 100);

This example draws a charge for the loan at the current interest rate displayed in the chart label.

You may also like
OptionRho
Option Rho is a hedge parameter, one of the so-called Greeks. It measures sensitivity of option ...
Fundamental
This function is generalization of fundamental functions, i.e. it returns the specified price ...
GetAggregationPeriod
The GetAggregationPeriod function returns the current aggregation period in milliseconds for ...