python_fisco
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
Release files for python-fisco 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_fisco-0.0.7.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_fisco-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / python_fisco-0.0.7.tar.gz
| Download URL | python_fisco-0.0.7.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f26fb4a55721a97412b31bcf9092c0607fbab2ac489ffbc964d44f71236e3b2
|
|
BLAKE2b-256 checksum How to use checksums |
d2e28d32d669c4138a84be5ecf4fe0f7dd92e3ebac7a78bd0bec422b5ecf63bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / python_fisco-0.0.7-py3-none-any.whl
| Download URL | python_fisco-0.0.7-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca2ea518182a713731981631f8cfad9f9f22ca1eb89aa8851189fb963220f7bd
|
|
BLAKE2b-256 checksum How to use checksums |
d1cbfbbe914973429a39818f700bbc63624225e97fdc85a5c05a8a44e4296229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|