`

Stock Program

 
阅读更多
 
<html>
<header>
<META http-equiv="refresh" CONTENT="10" >
</header>

<script type="text/javascript" src="http://hq.sinajs.cn/list=sz300029" charset="gb2312"></script>
<script type="text/javascript">
    
    var num=Number;
    
    var elements=hq_str_sz300029.split(",");
    document.write("Stock name   : "+elements[0]); document.write("<br/>");
    document.write("Open price   : "+elements[1]); document.write("<br/>");
    document.write("Current price: "+elements[3]); document.write("<br/>");
    
    num=(elements[4]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[4]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[5]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[5]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[3]-elements[2])/elements[2]*100;
    document.write("Rate         :"+num.toFixed(2)+"%"); document.write("<br/>");
</script>

<br/>

<script type="text/javascript" src="http://hq.sinajs.cn/list=sh600751" charset="gb2312"></script>
<script type="text/javascript">
    
    var num=Number;
    
    var elements=hq_str_sh600751.split(",");
    document.write("Stock name   : "+elements[0]); document.write("<br/>");
    document.write("Open price   : "+elements[1]); document.write("<br/>");
    document.write("Current price: "+elements[3]); document.write("<br/>");
    
    num=(elements[4]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[4]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[5]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[5]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[3]-elements[2])/elements[2]*100;
    document.write("Rate         :"+num.toFixed(2)+"%"); document.write("<br/>");
</script>

<br/>

<script type="text/javascript" src="http://hq.sinajs.cn/list=sh600303" charset="gb2312"></script>
<script type="text/javascript">
    
    var num=Number;
    
    var elements=hq_str_sh600303.split(",");
    document.write("Stock name   : "+elements[0]); document.write("<br/>");
    document.write("Open price   : "+elements[1]); document.write("<br/>");
    document.write("Current price: "+elements[3]); document.write("<br/>");
    
    num=(elements[4]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[4]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[5]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[5]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[3]-elements[2])/elements[2]*100;
    document.write("Rate         :"+num.toFixed(2)+"%"); document.write("<br/>");
</script>

<br/>

<script type="text/javascript" src="http://hq.sinajs.cn/list=sz300235" charset="gb2312"></script>
<script type="text/javascript">
    
    var num=Number;
    
    var elements=hq_str_sz300235.split(",");
    document.write("Stock name   : "+elements[0]); document.write("<br/>");
    document.write("Open price   : "+elements[1]); document.write("<br/>");
    document.write("Current price: "+elements[3]); document.write("<br/>");
    
    num=(elements[4]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[4]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[5]-elements[2])/elements[2]*100;
    document.write("Lowest price : "+elements[5]+","+num.toFixed(2)+"%"); document.write("<br/>");
    
    num=(elements[3]-elements[2])/elements[2]*100;
    document.write("Rate         :"+num.toFixed(2)+"%"); document.write("<br/>");
</script>

<br/>
</html>
 
分享到:
评论

相关推荐

    java-stocks-master.zip_java stock program

    Java stock picking program

    DemoTest_stock_stocktest_

    this is stock test program.

    库存管理系统源代码

    Having reached the consistency and security of the data, and the application program function is complete, have accorded with the administrative system of the stock as the request for the typical ...

    Stock-DCF-Valuation-Program:从 XBRL Yahoo Quandl 检索财务数据并进行 DCF 估值

    股票-DCF-估值程序 ... 数据检索完成后,用户可以运行Stock Valuation Test Class,对所有拥有有效信息的公司进行DCF分析。 DCF分析简述如下: 使用最近 3 年的数据 通过自上而下的方法(收入 - COGS - 运营

    ECE503 Final Project

    For this project, you will be writing an account management system which will manage a stock portfolio account and a bank account. Please use an inheritance structure for the classes used in the ...

    VB编程资源大全(英文源码 应用)

    StockTrade.zip A Stock Exchange simulator to show how timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and spending money and...

    Android代码-股票价格走势APP

    This is the Stock Hawk(P3) project under Udacity Android Nanodegree Program Required Components Each stock quote on the main screen is clickable and leads to a new screen which graphs the stock's ...

    Amibroker Trading System Development

    A Trading System development tutorial for the AmiBroker Stock Charting/Analysis program

    Google Nexus 4 ToolKit v1.3.0

    * Program up to 10 Quickpic slots and run them very quickly (donator feature) * Mods section to automatically perform certain tasks on your phone * Download Google Stock Image directly to correct ...

    stock12.rar_*行业应用_Visual_Basic_

    Stores a small program containing the code useful.

    excel读取yahoo等网站股市数据及分析

    1.请将RCH_Stock_Market_Functions.xla放到C:\Program Files\smf add-in目录(自建) 2.再运行xls文件,调用宏

    A random walk down Wall Street.pdf

    They point to techniques the pros use such as "program trading," "portfolio insurance," and investment strategies using complex derivative instruments, and they read news reports of mammoth takeovers...

    VB编程资源大全(英文源码 其它)

    &lt;END&gt;&lt;br&gt;82,StockTrade.zip A Stock Exchange simulator to show how timers and randon number generators work together. A cool simulation for anyone who might think about playing the stocks and ...

    ActiveMQ in Action

    Later chapters cover advanced features such as configuration and performance tuning, illustrating each concept with a running real-world stock portfolio application. Readers will learn to integrate ...

    The_Bat_Professional_8.9_Multilingual_x64_Downloadly.ir.rar

    has the MailTicker™ included, that adds a visual indicator to your desktop similar to those stock exchange banners you may know from certain TV news channels. Buy | Download | Overview | Features |...

    库存管理系统设计方案.doc

    Having reached the consistency and security of the data, and the application program function is complete, have accorded with the administrative system of the stock as the request for the typical ...

    库存管理系统设计方案(1).doc

    Having reached the consistency and security of the data, and the application program function is complete, have accorded with the administrative system of the stock as the request for the typical ...

    Python Machine Learning Blueprints

    time lead instructor for a data science immersive program in New York City., Table of Contents, The Python Machine Learning EcosystemBuild an App to Find Underpriced ApartmentsBuild an App to Find ...

    videodog0.31.tar.gz

    ideodog is a command line tool, just based on a stock linux distro, with no need of special libraries, or graphic enviroment ( as xlib, imlib). The only special lib is jpeglib, present in most of ...

Global site tag (gtag.js) - Google Analytics