All Projects → yamorijp → blac

yamorijp / blac

Licence: MIT license
bitFlyer Lightning API Console

Programming Languages

javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to blac

Blazorrepl
Write, compile, execute and share Blazor components entirely in the browser
Stars: ✭ 196 (+1125%)
Mutual labels:  repl
Mond
A scripting language for .NET Core
Stars: ✭ 237 (+1381.25%)
Mutual labels:  repl
dotnet-repl
A polyglot REPL built on .NET Interactive
Stars: ✭ 522 (+3162.5%)
Mutual labels:  repl
Ldb
A C++ REPL / CLI for LevelDB
Stars: ✭ 201 (+1156.25%)
Mutual labels:  repl
Lfortran
Official mirror of https://gitlab.com/lfortran/lfortran. Please submit pull requests (PR) there. Any PR sent here will be closed automatically.
Stars: ✭ 220 (+1275%)
Mutual labels:  repl
Go Pry
An interactive REPL for Go that allows you to drop into your code at any point.
Stars: ✭ 2,747 (+17068.75%)
Mutual labels:  repl
Lgo
Interactive Go programming with Jupyter
Stars: ✭ 2,225 (+13806.25%)
Mutual labels:  repl
crosis
A JavaScript client that speaks Replit's container protocol
Stars: ✭ 85 (+431.25%)
Mutual labels:  repl
Box
A mruby-based Builder for Docker Images
Stars: ✭ 236 (+1375%)
Mutual labels:  repl
sliver
REPL for SilverStripe, powered by Psysh. Interactively debug and tinker with a sliver of your code.
Stars: ✭ 17 (+6.25%)
Mutual labels:  repl
Codi.vim
📔 The interactive scratchpad for hackers.
Stars: ✭ 2,464 (+15300%)
Mutual labels:  repl
Unrepl
A common ground for better Clojure REPLs
Stars: ✭ 222 (+1287.5%)
Mutual labels:  repl
Ipython
Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
Stars: ✭ 15,107 (+94318.75%)
Mutual labels:  repl
Gluon
A static, type inferred and embeddable language written in Rust.
Stars: ✭ 2,457 (+15256.25%)
Mutual labels:  repl
elasticsearch-cli
Provides a REPL console-like interface to interact with Elasticsearch
Stars: ✭ 15 (-6.25%)
Mutual labels:  repl
Dynaml
Scala Library/REPL for Machine Learning Research
Stars: ✭ 195 (+1118.75%)
Mutual labels:  repl
Tslab
Interactive JavaScript and TypeScript programming with Jupyter
Stars: ✭ 240 (+1400%)
Mutual labels:  repl
gorilla-repl
A fork of Jony Epsilon's rich REPL for Clojure in the notebook style.
Stars: ✭ 22 (+37.5%)
Mutual labels:  repl
fundot
The Fundot programming language.
Stars: ✭ 15 (-6.25%)
Mutual labels:  repl
swiftreplmadness
Example of using your own packages in the Swift REPL
Stars: ✭ 18 (+12.5%)
Mutual labels:  repl

BLAC

BLAC (Bitflyer Lightning API Console) は ビットコイン取引所 bitFlyer が提供する bitFlyer Lightning API を使用した非公式のCLIツールパッケージです。

Lightning APIクライアントを統合したjavascriptの対話型コンソールプログラム、 リアルタイム更新の板表示プログラム、約定履歴表示プログラムとティッカー表示プログラムを含みます。

当プログラムは"experimental"です。
十分なテストが行われていません。オーダー発行を行う場合は最初に少額でお試しください。

※U.S.リージョンには対応していません

姉妹品

  • quac - liquid / quoine 版
  • bbac - bitbank 版

導入手順

当プログラムはNode.jsで動作するjsスクリプトです。
実行にはNode.js が必要です。バージョン6.10.0以上を導入してください。

また、サードパーティ製のnpmモジュールに依存しています。 npmyarn を使用してインストールを行ってください。

$ npm install

プログラムの実行方法

nodeコマンドでスクリプトを実行します。

$ node console.js

いくつかコマンドラインオプションがあります。-hオプションで確認してください。

$ node console.js -h

対話型コンソール (console.js)

Lightning APIクライアントを統合したREPLコンソールプログラムです。
対話型シェルでjavascriptを使用した注文発注や取消等、Lightning APIの呼び出しが行えます。

残高の確認やオーダー発行などPrivate APIに属する機能の呼び出しにはAPI keyとAPI secretが必要になります。 bitFlyer Lightningにログイン後、開発者ページから取得してください。

PI keyとAPI secretは.bc_set_keyコマンドで設定します。設定した認証情報はプログラム終了時まで有効です。

> .bf_set_key YOUR_API_KEY YOUR_API_SECRET

.bf_store_keyコマンドで書き出しを行っておくと起動時に自動で読み込みます。(※平文で保存されます。セキュリティに注意)

APIの詳細は、bitFlyerによるAPI Documentationを参照してください。

  オプション:

    -n, --no-banner  スタートアップバナーを表示しない

  例:

    $ node console.js -n

板表示プログラム (book.js)

リアルタイム更新の板表示プログラムです。
値段範囲で注文をまとめるグルーピング表示に対応しています。(-gオプション)

  オプション:
    
    -p, --product <code>  プロダクトコード (デフォルト: BTC_JPY)
    -r, --row <n>         買いと売り注文の表示行数 (デフォルト: 20)
    -g, --group <n>       指定範囲の注文をまとめて表示 (デフォルト: 無効)
    
  例:
    
    $ node book.js -p BTC_JPY -r 32 -g 100

約定履歴表示プログラム (executions.js)

リアルタイム更新の約定履歴表示プログラムです。

  オプション:

    -p, --product <code>  プロダクトコード (デフォルト: BTC_JPY)
    -r, --row <n>         履歴の表示行数 (デフォルト: 40)

  例:

    $ node executions.js -p ETH_BTC -r 20

ティッカー表示プログラム (ticker.js)

リアルタイム更新のティッカー表示プログラムです。

  オプション:

    -p, --product <code>  カンマ区切りの通貨ペアコード (デフォルト: "BTC_JPY,ETH_BTC,BCH_BTC")

  例:

    $ node ticker.js -p "BTC_USD,ETH_BTC"

ライセンス

MIT

チップ

BTC: 1BpLZm4JEFiDqAnaexuYMhGJZKdRQJKixP
ETH: 0x51349760d4a5287dbfa3961ca2e0006936bc9d88

BAT (Brave Rewards)でのチップも熱烈歓迎中!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].