Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve: cli #7

Open
lucaskatayama opened this issue Aug 31, 2021 · 0 comments · May be fixed by #8
Open

improve: cli #7

lucaskatayama opened this issue Aug 31, 2021 · 0 comments · May be fixed by #8

Comments

@lucaskatayama
Copy link
Owner

lucaskatayama commented Aug 31, 2021

Create CLI commands for the client.

Commands

Public API

$ mbc get orderbook -b BTC -q BRL -l 10
$ mbc get ticker  -b BTC -q BRL
$ mbc get trades  -b BTC -q BRL

Private API

Configure

$ mbc config view

# default profile
$ mbc config set id "<id>"
$ mbc config set secret "<secret>"
profile based
$ mbc config set user.id "<id>"
$ mbc config set user.secret "<secret>"

Balances

$ mbc get balances

$ mbc get balances -p user
@lucaskatayama lucaskatayama linked a pull request Aug 31, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant