• Stars
    star
    173
  • Rank 220,124 (Top 5 %)
  • Language
    Python
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python wrapper for bitFlyer's REST API.

https://img.shields.io/pypi/v/pybitflyer.svg?maxAge=2592000:target:

https://img.shields.io/pypi/dd/pybitflyer.svg?maxAge=2592000:target:

pybitflyer

pybitflyer is a python wrapper for bitFlyer's REST API.

Install

Using pip

$ pip install git+https://github.com/yagays/pybitflyer.git

or using pip with PyPI: https://pypi.python.org/pypi/pybitflyer

$ pip install pybitflyer

The requirements for this code is requests, which will be installed automatically.

Usage

import pybitflyer
api = pybitflyer.API(api_key="xxx...", api_secret="yyy...")

If you use HTTP Public API, API Key and API Secret can be omitted.

Example

Order Book

api.board(product_code="BTC_JPY")

Ticker

api.ticker(product_code="BTC_JPY")

Send a New Order

You need to specify API key and API Secret by creating pybitflyer.API instance.

api.sendchildorder(product_code="BTC_JPY",
                   child_order_type="MARKET",
                   side="SELL",
                   size=0.001,
                   minute_to_expire=10000,
                   time_in_force="GTC"
                   )

More detail

For more detail, see the API documentation: https://lightning.bitflyer.jp/docs?lang=en

Author

@yag_ays (<[email protected]>)

More Repositories

1

ja-timex

自然言語で書かれた時間情報表現を抽出/規格化するルールベースの解析器
Python
134
star
2

kanjivg-radical

Jupyter Notebook
94
star
3

emoji-ja

📙UNICODE絵文字の日本語読み/キーワード/分類辞書📙
Python
77
star
4

embedrank

Python Implementation of EmbedRank
Python
49
star
5

fastapi-ml-template

Python
40
star
6

pytorch_bert_japanese

Python
35
star
7

nayose-wikipedia-ja

Wikipediaから作成した日本語名寄せデータセット
Python
34
star
8

swem

Python implementation of SWEM (Simple Word-Embedding-based Methods)
Python
28
star
9

pretrained_doc2vec_ja

Python
27
star
10

wikipedia_es_similarity

Python
16
star
11

glyph-aware-character-embedding

Python
13
star
12

toji

Standalone web application for collecting a large amount of voices read aloud from the manuscript efficiently.
Python
10
star
13

alacarte_embedding

Python implementation of A La Carte Embedding
Python
9
star
14

spacy-ginza-ner-webapi

Python
7
star
15

yat

yat: Yet Another Tokenizer for Japanese NLP
Jupyter Notebook
7
star
16

manbyo-sudachi

Python
7
star
17

ec2inst

AWS EC2 instance console for CLI
Python
6
star
18

wed

Python implementation of Word Embedding based Edit Distance
Python
5
star
19

togofarmcamp

the crawler of http://togotv.dbcls.jp/
Ruby
4
star
20

ja-icd10

ICD-10 国際疾病分類の日本語情報を扱うためのPythonパッケージ
Python
4
star
21

wikipedia_graph_embedding

Python
4
star
22

mecabpr

Python
4
star
23

oov_magnitude_ja

Python
4
star
24

di-pyconjp2021

Jupyter Notebook
3
star
25

sif_embedding

A Python Implementation of SIF Embedding
Python
3
star
26

minify_w2v

Minify word2vec model file
Jupyter Notebook
2
star
27

all_but_the_top

Python
2
star
28

rte_snli

Jupyter Notebook
2
star
29

dotfiles

Shell
2
star
30

ringbar

Python
1
star
31

sleepdog

Slack bot for monitoring and notification of filesystem events
Python
1
star
32

faiss_cpu_gpu

Python
1
star
33

icd10_embeddings

Jupyter Notebook
1
star
34

blottan

Ruby
1
star
35

Heatmap

複数のtranscripts.tmapから遺伝子発現行列を作ります
Ruby
1
star