upbit-1.1.0 has been yanked.
upbit-api on rust, with upbit api v1.3.4
this crate is dependant on sqlx, tokio, postgres
it also requires openssl-sys package
Set access key and secret key
use *;
set_access_key;
set_secret_key;
Apis
use *;
let order_info = order_by_price.await.unwrap;
let order_info = sell_by_market_price;
let order_info = cancel_order;
let account_info = get_account_info.await;
let order_state = get_order_state.await.unwrap;
let order_state_list = get_order_state_list.await.unwrap;
let order_book_info = get_orderbook_info.await;
let asdf = request.await;
let asdf = request.await;
let asdf = request.await;
let chart_by_minute = request_candle.await.unwrap;
let chart_by_day = request_candle.await;
let chart_by_week = request_candle.await;
let chart_by_month = request_candle.await;
TroubleShooting
You should have a static ip address to get issued your own access key and secret key
Failed to run custom build command for openssl-sys vX.X.XX
If you have trouble installing with this error: failed to run custom build command for openssl-sys vX.X.XX,
try
macOS
$ brew install openssl@1.1
Arch Linux
$ sudo pacman -S pkg-config openssl
Debian and Ubuntu
$ sudo apt-get install pkg-config libssl-dev
Fedora
$ sudo dnf install pkg-config openssl-devel
referenced from https://github.com/sfackler/rust-openssl/issues/855#issuecomment-450057552