Skip to main content

概要

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

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

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 details)

Uploaded Source

File details

Details for the file SBIcomm-0.1.3.tar.gz.

File metadata

  • Download URL: SBIcomm-0.1.3.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SBIcomm-0.1.3.tar.gz
Algorithm Hash digest
SHA256 d02a5005f96f53b029b8a2a987d81b28f64dfac93c5c237ff08b026583b5f243
MD5 baa369a9ae03f43319eb7054a00974b2
BLAKE2b-256 fa9983fd7dfc853bd9626f08df3ce1735ec4ab61c4ce399180525ba1b5e4f4ca

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page