=== Skloogs Trader === Contributors: skloogs Donate link: http://tec.skloogs.com/dev/plugins Tags: trading, bolsa, bovespa Requires at least: 2.7 Tested up to: 2.7 Stable tag: trunk This wordpress plugin allows the display of shares from the Bovespa (Brazilian Stock Exchange) == Description == This wordpress plugin allows the display of shares from the Bovespa (Brazilian Stock Exchange) within your posts, comments, or any part of your blog, by using a dedicated markup: [sktrade]. Currently, the plugin only shows intraday quotes, in 180x400 or 100x200 format, using a Java applet. The frame's characteristics can be customized by editing a CSS stylesheet, which will be integrated into the admin panel in a future version. The applet options can be customized using options, as explained in the usage section. == Installation == 1. Load `sktrader.php` into directory `/wp-content/plugins/`; 1. Ativate the plugin within the 'Plugins' menu in WordPress; 1. Use `[sktrade sharelist]` in your templates and/or posts: see Syntax. == Syntax and currently supported options == The plugin syntax is quite basic. Use [sktrade ] at the right place you want to see the charts. The sharelist is a comma separated list of shares (bovespa `XXXXNN`-like codes only so far), and possible options. The options are separated from the share name by an `=` character and from one another by the `|` character. Aditionally, an option can take an argument after the `:` character. The options are as follows: * s -> small size (100x200) instead of standard one (180x400) for the applet * w -> applet width (e.g.: w:300) * h -> applet height (e.g.: w:150) * bg -> applet background color, as 3 decimal (0-255) colon (`:`) separated numbers. (e.g.: bg:230:230:230) * tx -> applet text color, same syntax as bg * fi -> applet chart fill color, same syntax as bg * bd -> applet border color, same syntax as bg So if I want a ITAU4 share with special width and bg colors, this would be the syntax: `[sktrade itau4=w:200|bg:20:20:20]` Now I'd like to get ITAU4 and UBBR11, with some parameters: `[sktrade itau4=w:300|txt:200:0:0|bg:255:255:255,ubbr11=s]` Be careful not to mistakenly switch between options (`|`) and shares (`,`) separators!! If you get a frame with just the plugin's copyright, you probably did it wrong... As a final note, please remember that only the tag is written to the DB, the presentation is made at the time the page is displayed. So you'll always be able to re-edit your page/post to change the options. == Support == To get support on the installation and/or use of this plugin, please comment on the plugin page. Do not send an email, because your problem can be someone else's problem too, and I cannot afford answering each one personally, except in the comments section of the plugin page. Thanks! == Frequently Asked Questions == = How could I show a daily/weekly/monthly chart instead of intraday? = Well, the plugin is currently limited to the applet ability. I'll be looking for ways to achieve this, since I would really love it too... = Is there any way to choose the size of the applet? = Not yet. We actually provide 2 pre-defined sizes: 180x400 and 100x200. We may offer more flexibility in a later version. = Any way to change the frame's background color, border, etc...? = Just edit the style.css file in the plugin's directory. The CSS file allows to define anything except the applet apperance. = May I remove your copyright from the plugin output? = You may. And I may not support your requests for support and/or suggestions for future versions too... = Am I legally allowed to show these charts on my blog? = To my knowledge, nothing prevents you from doing it, since the own applet do not implement any access limitation from blogs and do not show any regarding restriction. = Where do the data in the graphics come from? = Directly from the Bovespa itself. My plugin do not interfere with anything that is shown inside the graphical chart. = Do you plan to have a Blogger version of this plugin? = Well, sincerely I doubt... At this exact moment, I don't make any idea how Blogger's plugins work, and I don't use them for my blog, so... Sometime in the future, maybe? = What do you earn with this? = Fame? == Screenshots == 1. Normal size quote (180x400) 2. Small size quote (100x200) 3. Multiple quotes in both sizes == About the author == Philippe Hilger is French, speaking fluently portuguese and english, and has been living in Rio de Janeiro, Brazil, since 2002, and use to trade on the Bovespa (São Paulo Stock Exchange). He's a Systems, Networks and Security Engineer, developping programs and utilities during his free time and trying to make some money with it... After running his own e-commerce company, which unfortunately wasn't the expected success, he's also looking for a job, in Brazil, in Canada, or in the United States. Feel free to contact him: philippe(DOT)hilger(AROBA)gmail(DOT)com If you like this plugin, and would like to help making it much better - and there is much to do! - why not consider making a small donation...?