• Welcome to Simple Machines Community Forum. Please login or sign up.
December 01, 2021, 05:20:52 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


SMF Stock Charts

Started by pftq, August 20, 2010, 04:34:15 AM

Previous topic - Next topic

pftq

Link to Mod

This is a very simple mod package to allow stock charts to be embedded in your posts via BBC.  Once installed, the following codes will return charts from the following sites:

6-month Daily Chart by profitspi.com
[schart]TICKER[/schart]

10-day Intraday Chart by marketwatch.com
[ischart]TICKER[/ischart]

Interactive Flash-based chart (slower loading, one per topic) by wikinvest.com
[wschart]TICKER[/wschart]

Example:
[schart]GOOG[/schart] - 6-month chart for Google


Obviously, the credit for the charts go to their respective owners.  This mod just makes it easier to embed the charts on your site rather than having to recreate the chart and settings each time to embed as an image.

krash661

cool,i need this on my site is there an updated version so i can pull charts from any place and any time frame.to be realistic if it cant preform what im asking for,theres a chance that this mod is useless,im just giving info in this kind of thing,im not disrespecting anything.just letting it be know that what im asking is whats required for this industry.

pftq

Hi, if you open up the .xml file in the mod and search for "stock", you'll find the html link it uses.  You can replace this with the link to a chart you configure differently.  I just happened to use a certain time frame.

krash661

Quote from: pftq on October 14, 2011, 02:57:17 PM
Hi, if you open up the .xml file in the mod and search for "stock", you'll find the html link it uses.  You can replace this with the link to a chart you configure differently.  I just happened to use a certain time frame.
man that would suck if i posted more than one chart in 10 minutes from my trading platform.this mod needs to be  in real time kind of situation,like a BB code or something...or maybe i dont understand what you are saying?

krash661

is there like a pic or a demo or something so i can see it,that might help me understand more.

pftq

It does use bbcode.  I thought you were asking if you could change the time frame of the chart, which you could do so as stated previously.

Maybe it would help if you gave me an example of what exactly you wish to do, as I'm not understanding your issue here.

krash661

Quote from: pftq on October 14, 2011, 03:17:22 PM
It does use bbcode.  I thought you were asking if you could change the time frame of the chart, which you could do so as stated previously.

Maybe it would help if you gave me an example of what exactly you wish to do, as I'm not understanding your issue here.
Yeah, no problem..lets say im on my trading platform..and i want to blog or something to my site,but i want to post what i see on my chart so they can see it.i want to post the chart(s) with an explaination,like a screen shot or something.cause from what Im gathering this mod is for a chart from a site or something like CNBC?

pftq

You get 3 chart presets.  Here's an example on my own site:
http://www.pftq.com/forums/index.php?topic=218.0

krash661

you're a trader?..cool.anyways,ya it looks like basically what im talking about.but i use multiple platforms.
my main platform is TD ameritrade think or swim. and IB..but i'll download it and play with it...

krash661

and also is this compatible with 2.0.1 ?

krash661

yeah,im getting errors on install.

pftq

This mod is for SMF 1.1.x sorry.

rootuid

Just tried on 2.0.2 and got this fail:
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Subs.php    Test failed


however the mod readme says
SMF Stock Charts Mod
by pftq
www.pftq.com
Version 2 (Jan.2 2012)

for SMF Forums 2.0.x

pftq

Just tried it on a fresh install with no problems.

Do you have other mods installed? It might be a conflict on the installation (trying to add to the same place).  Let me know what mods also modify subs (in particular, add bbc), and I can adjust the install to not conflict.

Advertisement: