- This topic is empty.
-
AuthorPosts
-
July 8, 2012 at 11:33 pm #38828
goalieman34
MemberHey everyone,
I have been fighting with this problem for a few months now and still can not find an option that I am able to get to work properly.
Does anyone know of a way to display a companies stock price? I have found a few but cant get them to work as I need it to use javascript not php
Thanks ,
ChrisJuly 9, 2012 at 12:23 am #105695TheDoc
MemberJuly 9, 2012 at 12:37 am #105696goalieman34
MemberOk so I am trying to get the http://stackoverflow.com/questions/5150040/stock-quotes-with-javascript example to work. Are you able to get it working for me in a jsfiddle?
July 9, 2012 at 2:34 am #105699July 12, 2012 at 11:40 pm #106006goalieman34
MemberThanks for putting it into a codepen for me. I am searching the code and can not find where I can change the stock symbol. I need it to find PRW which is Petrowest Corporation.
July 13, 2012 at 12:01 am #106007TheDoc
MemberLooks like you’ll need to use PRW.TO for the symbol: http://codepen.io/ggilmore/pen/single-stock-price/14
I’m guessing because it’s on the TSE, so ‘TO’ for Toronto.
July 13, 2012 at 12:11 am #106008goalieman34
MemberGreat! You bet it does need the .TO so thanks for adding that. So close to finally getting this stock ticker up on the site haha
July 13, 2012 at 12:16 am #106009TheDoc
Memberhaha I know what you mean! I actually had to dig really deep into the Yahoo Finance stuff to make any sense of their crazy YQL language. It took a lot of trial and error!
July 13, 2012 at 12:19 am #106010goalieman34
Memberhaha Well I do really appreciate you spending some time and looking into it for me. Thanks again!
July 20, 2012 at 4:38 pm #106487goalieman34
Member@TheDoc well the stock ticker works awesome! only one little problem… haha not working on Internet Explorer. Any idea on how to fix this or should I look at buying one. http://petrowest.squarespace.com/home/
July 20, 2012 at 4:44 pm #106488TheDoc
MemberHmmmm… very odd. I’ll try to have a look soon.
July 20, 2012 at 5:45 pm #106491goalieman34
Memberok that would be awesome! Thank you
July 20, 2012 at 5:56 pm #106493TheDoc
MemberI’m not sure if I’ll be able to properly debug it soon. For something like this, I like posting a question up on Stackoverflow.
July 20, 2012 at 6:43 pm #106495goalieman34
MemberOk sounds good Ill try and post it on Stackoverflow and see if I get a response.
July 31, 2012 at 2:32 am #107072goalieman34
MemberCan anyone see a way to get rid of the “Ads by Google, Stock Quotes, Shares Stock” on my stock ticker? I did have it gone for a minute and then things showed up again.
.gadget img { display:none !important;}
.gadget .powered { display:none !important;}
#abg { display:none !important;}
.al .alt, .al a {display:none !important;} -
AuthorPosts
- The forum ‘Other’ is closed to new topics and replies.