https://github.com/vanillaiice/vbinance
Binance Connector V
https://github.com/vanillaiice/vbinance
binance binance-api binance-connector-api vlang vlang-module
Last synced: 3 months ago
JSON representation
Binance Connector V
- Host: GitHub
- URL: https://github.com/vanillaiice/vbinance
- Owner: vanillaiice
- License: bsd-3-clause
- Created: 2023-08-17T11:44:01.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T19:16:05.000Z (over 2 years ago)
- Last Synced: 2025-02-02T09:09:38.210Z (over 1 year ago)
- Topics: binance, binance-api, binance-connector-api, vlang, vlang-module
- Language: V
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Binance Connector V
V module to connect with Binance API.
## Features (WIP)
- sign requests with HMAC-SHA-256
- get server time
- get account info
- get exchange information
- buy and sell spot market orders
## Installation
You can install this module using v:
```
v install vanillaiice.vbinance
```
You can then import it in your project by doing:
```
import vanillaiice.vbinance
```
Also, you can add the following in your v.mod file:
```
dependencies: ['vanillaiice.vbinance']
```
## Development dependencies
[zztkm.vdotenv](https://github.com/zztkm/vdotenv)
## Test
To run tests, make sure you have zzktm.vdotenv installed, and an .env file containing your Binance secret key and api key **for testnet**.
```
v test .
```
## Author
vanillaiice
## License
BSD-3-Clause