本文主要说明查询股票报价。
# 取得长荣股票报价,长荣代号:2603
contract_2603_TW = api.Contracts.Stocks["2603"]
print (contract_2603_TW)
exchange=<Exchange.TSE: 'TSE'> code='2603' symbol='TSE2603' name='长荣' category='15' unit=1000 limit_up=136.0 limit_down=112.0 reference=124.0 update_date='2021/09/17' margin_trading_balance=1010 short_selling_balance=285 day_trade=<DayTrade.Yes: 'Yes'>
exchange (Exchange): Attributes of industry.
{OES, OTC, TSE ...etc} 上市别 TSE: 证券交易所上市股票 OTC:柜买中心挂牌
code (str): Id.
symbol (str): Symbol.
name (str): Name.
category (str): Category. 产业别
limit_up (float): Limit up. 涨停价
limit_down (float): Limit down. 跌停价
reference (float): Reference price. 参考价
update_date (str): Update date.
margin_trading_balance (int): Margin trading balance.
short_selling_balance (int): Short selling balance.
day_trade (DayTrade): Day trade.
{Yes, No, OnlyBuy}
使用shioaji函式库Contracts查询股票报价。
昨天讲了安装 Cucumber 以及基本语法今天我会拿一些范例来看看是如何写的! 基本上每一句语句都...
终於来到铁人赛最後一天,本来想回顾总结我实作 side project 的过程,但想到读者应该对於 ...
EQUAL & NOT EQUA 如同字面上意思,筛选出指定相符的资料,可以以=来表示。 而...
前情提要: 本人从事数据处理的工作大约四年之久,主要的语言为R、SQL and Python,身为数...
YAML(/ˈjæməl/,尾音类似camel骆驼)是一个可读性高,用来表达资料序列化的格式。YA...