Log in to see Cloud of Tags

Wealth-Lab Wiki

ECB key rate



public static DataSeries ECBKeyInterestRate.GetECBRateDataSeries(Bars bars)

Parameter Description

barsBars object to sync with


This class downloads and caches the historical DataSeries of the European Central Bank's key rate from http://sdw.ecb.europa.eu.



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 ); } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.

ScrewTurn Wiki. Some of the icons created by FamFamFam.