Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1413

Feeds & Internet Data • Re: Market Prices

$
0
0
Thanks for your effort, this was exactly what I was looking for. And changed my RegExp line in the MetMeaTemplate.inc accordingly. But I still can't see the after hour / pre market prices in the widget after reloading it. Is there anything else I have to do? Unfortunately the market just opened so I can't fiddle around further.
You need to do this:
  • 0) Make a backup of your complete MarketPrices skin directory, e.g. by zipping it: just in case!
  • 1) First change the 3 measures in question (see above) in MarketPrices.ini by replacing the RexEx lines, make sure not to "mix them up"
  • 2) Then change the same 3 measures in MetMeaTemplate.inc (here they're named with ^1^ placeholders, don't change the measure names, just the RexEx)
  • 3) Important: Now open StockSymbols.inc and find the line NumberOfStocks=XXX ==> change the number you have e.g. from 10 to 9
  • 4) Now reload the MarketPrices skin: Due to the change of NumberOfStocks it will process StockSymbols.inc and re-generate MoreThanOne.inc (the latter is part of the main MarketPrices.ini skin)
  • 5) Repeat Step 3+4 but change back to your desired total NumberOfStocks=XXX
  • 6) As last step, I always restart Rainmeter (close it completely and start again) --> done (just reloading MarketPrices might work as well, but not always in my case, therefore my habit became "restarting" which works reliably)
This may sound complicated but it's required do the lua script mechanics responsible for re-building the skin according to the number of stocks you're displaying. You only need to do this procedure when changing the code for the individual stock measures+meters, like the RegEx expressions.

Fyi: I have now been running the adjusted expressions (see above) for more than 2 days and can confirm they're working as designed. You should be seeing pre- and post-market prices when the market is in this state (in my case I only noticed this working for NASDAQ stocks, but could/might work for other markets as well). For European and Chinese stock markets I have not yet seen that CNBC delivers this data. During regular market of course the correct price is displayed, just as in Mordasius original skin.

Let us know if it works for your stocks as well, and in case not, please mention the relevant stock symbols and what exactly goes wrong. Have fun with the new functionality! :-)

Statistics: Posted by emp00 — Yesterday, 6:06 pm



Viewing all articles
Browse latest Browse all 1413

Trending Articles