股票Web Sservices
中国股票行情分时走势预览缩略图
Endpoint: http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx |
Disco: http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx?disco |
WSDL: http://www.webxml.com.cn/webservices/ChinaStockSmallImageWS.asmx?wsdl |
中国股票行情分时走势预览缩略图 WEB 服务(支持深圳和上海股市的全部基金、债券和股票),数据即时更新。返回数据:2种大小可选择的股票GIF分时走势预览缩略图字节数组和直接输出该预览缩略图。 |
BYTE() TO IMAGE
字节流到图片可以参考以下方法(.NET vb):
HttpContext.Current.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache) '不缓存
HttpContext.Current.Response.ClearContent()
HttpContext.Current.Response.ContentType = "image/Gif"
HttpContext.Current.Response.BinaryWrite(Ary) 'Ary 图片字节数组
HttpContext.Current.Response.End()