Skip to main content

Lib for fisco Private and Public API

Project description

python_fisco

CircleCI

Fisco API wrapper for Python 3.

Inspired by this wrapper written by 'zaifapi'.

Install latest release:

pip install python-fisco

Usage:

from python_fisco import *
FiscoPublic().get_ticker('btc_jpy')

Public Api

# ticker
from python_fisco import *
FiscoPublic().get_ticker('btc_jpy')

# last_price
FiscoPublic().get_last_price('btc_jpy')

# trades
FiscoPublic().get_trades('btc_jpy')

# depth
FiscoPublic().get_depth('btc_jpy')

Private API

import os
from python_fisco import *
private_api = FiscoPrivate(os.environ.get('FCCE_KEY'), os.environ.get('FCCE_SECRET'))

private_api.get_info()

private_api.get_trade_history()

private_api.get_active_orders()

private_api.trade(currency_pair='btc_jpy', action='ask', price=700000, amount=0.001)

private_api.cancel_order(order_id=1)

private_api.withdraw(currency='btc', address='address', amount=0.001)

private_api.get_deposit_history('btc')

private_api.get_withdraw_history('btc')

See

https://fcce.jp/api-docs

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

python_fisco-0.0.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_fisco-0.0.7-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file python_fisco-0.0.7.tar.gz.

File metadata

  • Download URL: python_fisco-0.0.7.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for python_fisco-0.0.7.tar.gz
Algorithm Hash digest
SHA256 3f26fb4a55721a97412b31bcf9092c0607fbab2ac489ffbc964d44f71236e3b2
MD5 c67b0c71e45a75a82c4cee86cb9b345d
BLAKE2b-256 d2e28d32d669c4138a84be5ecf4fe0f7dd92e3ebac7a78bd0bec422b5ecf63bc

See more details on using hashes here.

File details

Details for the file python_fisco-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: python_fisco-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for python_fisco-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ca2ea518182a713731981631f8cfad9f9f22ca1eb89aa8851189fb963220f7bd
MD5 ae015973934c5f4355f9046675ace61d
BLAKE2b-256 d1cbfbbe914973429a39818f700bbc63624225e97fdc85a5c05a8a44e4296229

See more details on using hashes here.

Supported by

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