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.

Files for python-fisco, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size python_fisco-0.0.7-py3-none-any.whl (11.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python_fisco-0.0.7.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page