Skip to main content

Python Interface for SBI Securities

Project description

概要

このプログラムは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) # 買い注文

このプログラムの使用によって生じる責任は一切負いません。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SBIcomm-0.1.3.tar.gz (7.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page