Add Real Time Precious Metals Price Table at top of this Forum?

Discussion in 'Bullion Investing' started by iPen, Jan 13, 2016.

  1. iPen

    iPen Well-Known Member

    Maybe it'll be a good idea to dynamically import precious metal prices in real time.

    It seems to fit the forum invaluably.

    Perhaps a table with at least gold, platinum, silver, and copper would be nice.

    We won't have to jump back and forth to other sites that way.

    Maybe it'll look too cluttered, as this site is pretty amazing as-is. Not sure.

    Just a thought and my two cents. Please weigh in on your thoughts.
     
  2. Avatar

    Guest User Guest



    to hide this ad.
  3. derkerlegand

    derkerlegand Well-Known Member

    We'd see silver up 42¢ ...... for now.
     
  4. Dougmeister

    Dougmeister Well-Known Member

  5. iPen

    iPen Well-Known Member

    Silver has been very volatile lately. Meaning, 3% jumps and drops in a very short period of time in the last several weeks. However, it's been steady on average at around $14. It's as if traders are trying to see if it'll go one way or the other, but it's "stuck" at $14 in the short run. Interesting to see where it'll go.

    And, I currently use http://silverprice.org/ for my silver prices. Just thought that it would be a little more convenient to get that added on this sub-forum since I'm here anyway. Not a big deal, but it's a "nice-to-have".
     
  6. iPen

    iPen Well-Known Member

    Thanks for those threads.

    Wait, that second link says it's on the bullion forum now. I don't see it!

    Must not have been fixed since late 2014... let's jump start this! @Peter T Davis

    I don't know Java Script so I wouldn't know, but maybe a member here does.

    Anyone want to tackle this?
     
  7. cpm9ball

    cpm9ball CANNOT RE-MEMBER

  8. derkerlegand

    derkerlegand Well-Known Member

  9. iPen

    iPen Well-Known Member

    @Peter T Davis, et al:

    Well, I just learned JavaScript for the first time now, sort of lol.

    Will this do? It's a bit crude though...

    I had to find random arrow images at 25 pixels each from some random "soccer" website lol, but of course the image can be pulled from any random URL in case that site goes down (I don't think it will but who knows).

    The table, font, arrangement, title, etc. can be edited to whatever you'd like, to make it look more pretty.

    The nominal values and the arrow images that gets triggered are "examples" and I think they'll need to be edited to get dynamically imported. Haven't learned that part yet... it'll probably be a lot faster if someone with actual knowledge of JavaScript fixes the code below.


    Source is from A-Mark Precious Metals:

    <script type="text/javascript">
    function showProgress() {
    window.top.document.getElementById('ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1').style.display = "block";
    }
    </script>
    <div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_UpdateProgress1" style="display:none;" role="status" aria-hidden="true">

    <div class="updateProgress" style="z-index: 1000001 !important">
    <img src="../images/ajax-loader.gif" id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_Img1" style="z-index: 10000001 !important" alt="Loading...">
    Working...
    </div>
    <div class="FadedBackground" style="z-index: 10000 !important">
    </div>

    </div>
    <div id="MeltValuesSpotPricesContainer">
    <div class="MeltValuesSpotPricesHeader">
    <div class="floatL">
    <h2> Spot Precious Metals USD</h2>
    <span class="updatedtxt"><em>Updated on 1/13/2016 12:56:03 PM EST</em></span>
    </div>
    <div class="infotxt floatR">
    <img src="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png"><img src="http://www.ppsoccer.com/wp-content/uploads/2015/05/red-down-arrow-hi-e1431127302326.png"> = Δ ASK vs. NY Market Close<br>
    <br>
    Source: A-Mark Precious Metals, Inc.
    </div>
    <div class="clear"></div>
    </div>
    <div class="MeltValuesSpotPrices">
    <div id="ctl00_ctl00_ctl00_ctl00_body_body_MainContent_MainContent_uxSpotMetalPrice_uxPrices">
    <table cellpadding="0" cellspacing="0" border="0" class="SpotPriceListing">

    <tbody>

    <tr>
    <th> Gold : </th>
    <td> <strong>BID</strong> $1,090.80 </td>
    <td> <strong>ASK</strong> $1,091.50 </td>
    <td> <strong>CHANGE</strong> </td>
    <td class="spotMetalArrowsPG"> <img visible="True" src="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png"> </td>
    <td>5.80</td>
    </tr>


    <tr>
    <th> Platinum : </th>
    <td> <strong>BID</strong> $854.00 </td>
    <td> <strong>ASK</strong> $857.00 </td>
    <td> <strong>CHANGE</strong> </td>
    <td class="spotMetalArrowsPG"> <img visible="True" src="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png"> </td>
    <td>19.40</td>
    </tr>

    <tr>
    <th> Silver : </th>
    <td> <strong>BID</strong> $14.20 </td>
    <td> <strong>ASK</strong> $14.24 </td>
    <td> <strong>CHANGE</strong> </td>
    <td class="spotMetalArrowsPG"> <img visible="True" src="http://www.ppsoccer.com/wp-content/uploads/2015/05/arrow-up2-e1431126882527.png"> </td>
    <td>0.45</td>
    </tr>


    </tbody></table>
    </div>

    </div>
    </div>
     
    Last edited: Jan 13, 2016
  10. Revi

    Revi Mildly numismatic

    Great idea!
     
  11. Excuse_Me

    Excuse_Me Active Member

    I just have THIS on my favorites bar.
     
  12. iPen

    iPen Well-Known Member

    Nice - a thin, stock ticker or news bulletin-esque banner running across the top of the bullion forum may be a neat idea. Not sure how others feel about it but I can go either way.
     
    Pi man likes this.
  13. Amos 811

    Amos 811 DisMember

    I would like to also see the copper kitco price, along with coinflations price for a pre82 cent. This could save me a few clicks everyday, but would also probably make the pages here load slower.
     
  14. iPen

    iPen Well-Known Member

    Copper's a great idea. Not sure why it's not shown on some of the other sites. Though, it's not a precious metal, so that'd explain why; but it's still precious enough for the world to go round.

    And, how much slower would the load be? I'm not sure that it would be a significant factor unless the price data updates automatically. But even then, I'm wondering how much it would slow down the load. Users could click the refresh button or hit F5 manually to update prices on the subforum.
     
  15. serafino

    serafino Well-Known Member

  16. Dougmeister

    Dougmeister Well-Known Member

Draft saved Draft deleted

Share This Page