Bitflyer Realtime Feed (python)
Installation
pip install bitflyer-rt
Tickers
Available channels:
- lightning_ticker_BTC_JPY
- lightning_ticker_FX_BTC_JPY
- lightning_ticker_ETH_BTC
Example
> python examples/btc_fx.py
887158.0 0.010 887231.0 0.05152 <--- best bid, best bid size, best ask, best ask size
887163.0 0.010 887204.0 0.01200
887163.0 0.010 887204.0 0.01200
887234.0 0.428 887237.0 0.00000
887234.0 0.428 887237.0 0.00000
887234.0 0.377 887244.0 0.01000
887234.0 0.377 887244.0 0.01000
887235.0 0.010 887399.0 0.28054
api = CcxtLikeAPI(api_key=API_KEY, api_secret=API_SECRET)
order_id = api.create_limit_sell_order(ticker=SYMBOL, quantity=0.01, price=950_000)['child_order_acceptance_id']
for i in range(10):
print(api.fetch_order_status(order_id, symbol=SYMBOL))
sleep(0.1)
print(api.cancel_order(order_id, symbol=SYMBOL))
for i in range(10):
print(api.fetch_order_status(order_id, symbol=SYMBOL))
sleep(0.1)
Metadata
Release files for bitflyer-rt 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bitflyer-rt-2.2.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bitflyer_rt-2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / bitflyer-rt-2.2.tar.gz
| Download URL | bitflyer-rt-2.2.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
453f68b23e97962c7931f65b8506c01af2c9ea6984b4fca24e5bcd3c237a8e6d
|
|
BLAKE2b-256 checksum How to use checksums |
f8db0a9b68edab2961b90a0f1771ae07aa6102a8a0707fc3eb5c748491ff96c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / bitflyer_rt-2.2-py3-none-any.whl
| Download URL | bitflyer_rt-2.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2d6011654215e1d551874530506acac6f93d3f892852c12c38652515a02a3e66
|
|
BLAKE2b-256 checksum How to use checksums |
4289ddea63f714430f0651adc2e4b29d609179af850ec628b8b3774dd29bc4c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for bitflyer-rt 2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.