sbi securities的python接口
SBIcomm的Python项目详细描述
概要
这个程序是经由SBI证券进行股票交易的程序。 需要以下库。
- dateutil
- mechanize
- lxml
使用方法
>> import SBIcomm >> sbi = SBIcomm.SBIcomm("usrname", "pass") >> sbi.get_value("6758") (datetime.datetime(2013, 12, 30, 15, 0), (1807.0, 1826.0, 1835.0, 1795.0, 10848300, 41.0, 0.02296918767507003)) >> sbi.buy_order("6752", 100, 614, inv=True, trigger_price=612) # 買い注文
不承担使用此程序所产生的一切责任。