crypto_trading-0.2.0-dev has been yanked.
crypto_trading
crypto_trading is a wrapping library that allows you to easily use Binance's price information and various APIs.
Getting Started
you need to set up a .env file.
- Make
.envfile - Setting
BINANCE_SECRET_KEYandBINANCE_API_KEY - You add the dotenv crate dependency.
- Set the main statement as follows.
dotenv.ok;
example
use ;
async
Can API
Refer to the Binance API site. https://developers.binance.com/docs/derivatives/usds-margined-futures/general-info
common- kline data
trade- change leverage
users- get_account_balance
In the future, i will develop a way to wrap various APIs so that they can be used easily.