Syntax
public static DataSeries ECBKeyInterestRate.GetECBRateDataSeries(Bars bars)
Parameter Description
bars | Bars object to sync with |
Description
This class downloads and caches the historical DataSeries of the European Central Bank's key rate from
http://sdw.ecb.europa.eu.
Example
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;
using Community.Components;
/*** Requires installation of Community.Components Extension from www.wealth-lab.com > Extensions, 2012.10 or later***/
namespace WealthLab.Strategies
{
public class MyStrategy : WealthScript
{
protected override void Execute()
{
DataSeries ecb = ECBKeyInterestRate.GetECBRateDataSeries(Bars);
ChartPane ecbPane = CreatePane(30,true,true);
PlotSeries(ecbPane, ecb, Color.Blue, LineStyle.Histogram, 5 );
}
}
}