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.

Files for SBIcomm, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size SBIcomm-0.1.3.tar.gz (7.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page