All Projects → yamorijp → quac

yamorijp / quac

Licence: MIT license
Quoine Exchange API Console

Programming Languages

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

Projects that are alternatives of or similar to quac

boltcli
boltcli is the redis-cli for boltdb with Lua script support
Stars: ✭ 25 (+78.57%)
Mutual labels:  repl
minitox
Minimal client for Tox
Stars: ✭ 65 (+364.29%)
Mutual labels:  repl
composer-repl
A REPL for PHP built into Composer (using PsySH)
Stars: ✭ 81 (+478.57%)
Mutual labels:  repl
psysh.el
PsySH on Emacs, PHP interactive shell (REPL)
Stars: ✭ 27 (+92.86%)
Mutual labels:  repl
endbasic
BASIC environment with a REPL, a web interface, a graphical console, and RPi support written in Rust
Stars: ✭ 220 (+1471.43%)
Mutual labels:  repl
klipse-repl
Beginners friendly Clojure REPL
Stars: ✭ 44 (+214.29%)
Mutual labels:  repl
Workshop-GraphQL
A GraphQL Server made for the workshop
Stars: ✭ 22 (+57.14%)
Mutual labels:  repl
tinker-zero
Bridge laravel/tinker for your laravel-zero applications
Stars: ✭ 39 (+178.57%)
Mutual labels:  repl
s7-imgui
Using s7 scheme alongside Dear ImGui to (interactively) build (cross platform) GUI apps.
Stars: ✭ 29 (+107.14%)
Mutual labels:  repl
d3-fdg-svelte
d3 Force Directed Graph example (d3-force) implemented in sveltejs. REPL:
Stars: ✭ 31 (+121.43%)
Mutual labels:  repl
pyhstr
hstr, but for Python shells
Stars: ✭ 12 (-14.29%)
Mutual labels:  repl
appium-java-repl
Simple Java REPL for controlling mobile apps through Appium.
Stars: ✭ 20 (+42.86%)
Mutual labels:  repl
solidity-shell
An interactive Solidity Shell
Stars: ✭ 434 (+3000%)
Mutual labels:  repl
mpv-repl
A graphical REPL for mpv input commands
Stars: ✭ 70 (+400%)
Mutual labels:  repl
robotframework-debuglibrary
A debug library for RobotFramework, which can be used as an interactive shell(REPL) also.
Stars: ✭ 96 (+585.71%)
Mutual labels:  repl
nrepl.nvim
Neovim REPL for lua and vim script
Stars: ✭ 41 (+192.86%)
Mutual labels:  repl
openrepl
OpenRepl REPL
Stars: ✭ 27 (+92.86%)
Mutual labels:  repl
all-seeing-bot
Repl.it discord moderation bot
Stars: ✭ 73 (+421.43%)
Mutual labels:  repl
cicada
Cicada Language
Stars: ✭ 9 (-35.71%)
Mutual labels:  repl
klisp
A Lisp written in about 200 lines of Ink, featuring an interactive literate programming notebook
Stars: ✭ 28 (+100%)
Mutual labels:  repl

QUAC

QUAC (Liquid/Quoine API Console) は 仮想通貨取引所 Liquid (Quoine) が提供する Quoine Exchange API を使用した非公式のCLIツールパッケージです。

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

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

姉妹品としてbitFlyer Lightning APIを使用した BLACもあります。

導入手順

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

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

$ npm install

プログラムの実行方法

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

$ node console.js

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

$ node console.js -h

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

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

残高の確認やオーダー発行などAuthenticated APIに属する機能の呼び出しにはAPI Token IDとAPI secretが必要になります。 LIQUID/QUOINEXにログイン後、設定のAPIトークンからAPIトークンを作成してください。

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

> .qc_set_key YOUR_API_TOKEN_ID YOUR_API_SECRET

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

APIの詳細は、Quoine Exchange API Referenceを参照してください。

  オプション:

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

  例:

    $ node console.js -n

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

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

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

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

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

  オプション:

    -p, --product <code>  通貨ペアコード (デフォルト: BTCJPY)
    -r, --row <n>         履歴の表示行数 (デフォルト: 40)

  例:

    $ node executions.js -p ETH_BTC -r 20

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

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

  オプション:

    -p, --product <code>  カンマ区切りの通貨ペアコード (デフォルト: "BTCJPY,ETHJPY,BCHJPY,ETHBTC,BTCUSD")

  例:

    $ node ticker.js -p "BTCUSD,ETHBTC"

ライセンス

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].