An open API service indexing awesome lists of open source software.

https://github.com/huanchain/binance-toolbox-ts

Binance Tool
https://github.com/huanchain/binance-toolbox-ts

api binance coin token

Last synced: 4 months ago
JSON representation

Binance Tool

Awesome Lists containing this project

README

          

# Get overview Binance Account with Binance Toolbox Typescript

A few scripts that showing how to use the Binance connector `@binance/connector-typescript`.
https://www.npmjs.com/package/@binance/connector-typescript
## Preparation

1. Install package

```typescript

nvm use

```

```typescript

yarn install

```

2. Some of the method require API key and secret.
- https://www.binance.com/en/my/settings/api-management
```shell
export API_KEY=
export API_SECRET=
```

## How to run

### Api
Get overview account
```
http://localhost:3000/account-overview
```
### get market info

```typescript
yarn run market

```
### get account info and asset balance

```typescript
yarn run account
```

### order related methods

```typescript
yarn run place-order
```