It is currently September 20th, 2020, 9:17 pm

StockQuotes plugin (for Yahoo Finance and MOEX)

Share and get help with Plugins and Addons
m3t3r
Posts: 3
Joined: March 8th, 2015, 10:15 pm

StockQuotes plugin (for Yahoo Finance and MOEX)

Post by m3t3r »

Hi :) Here is my little crappy plugin for drawing stock prices for last month as daily candlestick charts. It makes a *.png picture and returns to ImageMeter an address of the picture. Then this picture is just drawn with standard ImageMeter.

It supports Yahoo Finance, directly MOEX and (soon) Finam as source for prices. Unfortunately MOEX doesnt give the latest prices but has better API and output format. So finam is coming soon.

Configuration is quite simple. For example the minimum needed parameters are:

Code: Select all

[MeasureStockQuotes1]
Measure=Plugin
Plugin=StockQuotes.dll
UpdateDivider=1
Source=yahoo
Ticker=GOOG
W=270
H=70
ImageAddress=#@#\StockQuotes

[meterCandlesticks1]
MeasureName=MeasureStockQuotes1
Meter=IMAGE
X=0
Y=25r
Don't forget to create folder Rainmeter\Skins\%skinname%\@Resources\StockQuotes or any other you set for ImageAddress.

So you get this:
Stock1.PNG
Ofc colors are customizable in usual for Rainmeter RGBA format:

Code: Select all

ColorBorder=235,170,0,200
ColorHigh=235,170,0,200
ColorLow=0,0,0,0
ColorSolid=0,0,0,1
Stock2.PNG
(yeah, here you could see a bug when border of candle is out of canvas :oops: )

And a little bit customized skin will look like this:
Stock3.png


Source code at github: https://github.com/exactamente/StockQuotes - free for any purposes.
Download plugin:
StockQuotes.zip
There are could be some bugs :) Please report right here in topic or with private message if you find any or have some feature requests.
You do not have the required permissions to view the files attached to this post.
mariareese
Posts: 1
Joined: July 17th, 2017, 7:24 am

Re: StockQuotes plugin (for Yahoo Finance and MOEX)

Post by mariareese »

good plugin .. but yes .. its has some bugs that should be fixed for us.. :)