Skip to main content
0
B

Binance Trading Api Wrapper

This project is for futures trading on Binance by api call such as tradingview strategy alert

Rating

0.0

Votes

0

score

Downloads

0

total

Price

Free

API key required

Works With

Claude CodeCursorWindsurfVS CodeDeveloper tool

About

Binance Trading API Wrapper ===

About

This project is for futures trading on Binance by api call such as tradingview strategy alert. For this, I used python-binance. Detailed information related to the package can be found through this document page.

Usage

Clone this project

bash
git clone https://github.com/Jeonghun-Ban/binance-trading-api-wrapper.git

Install dependency packages

bash
pip install -r requirements.txt

Configuration

#### 1. config files

Configuration files using YAML format are in /configs.

cp example.toml production.toml
cp example.toml development.toml
cp example.toml testing.toml

You can easily create config files by copying example.toml.

#### 2. Environment variable

Register api key, secret key in environment variable for accessing binance network before running on the server.

  • BINANCE_TESTNET_API_KEY
  • BINANCE_TESTNET_SECRET_KEY
  • BINANCE_MAINNET_API_KEY
  • BINANCE_MAINNET_SECRET_KEY

The environment variable name is set as above.

if you only access mainnet, you don't need to register testnet keys.

Start launcher

bash
python launcher [-h][-a][-p][-e] # help, address, port, environment
python launcher -e development # run server with development env
python launcher -e testing # run server with testing env

launcher.py runs with address=0.0.0.0, port=5000, environment=production if there are no arguments.

The testing environment connects to the Binance testnet. Therefore, you need to set api_key, api_secret as environment variable before executing server.

Build apidocs pages

python apidocs.py > openapi.yaml
redoc-cli bundle openapi.yaml -o ./publish/index.html
This requires a redoc-cli installation.

Components

.
├── api
│   ├── route
│   │   └── __init__.py
│   │   └── account.py
│   │   └── default.py
│   │   └── market.py
│   │   └── trade.py
│   ├── schema
│   │   └── __init__.py
│   │   └── base.py
│   │   └── account.py
│   │   └── default.py
│   │   └── market.py
│   │   └── trade.py
│   ├── utils
│   │   ├── __init__.py
│   │   └── convert_case.py
│   ├── __init__.py
│   ├── client.py
│   └── enum.py
│   └── spec.py
├── configs
│   └── development.toml
│   └── example.toml
│   └── production.toml
│   └── testing.toml
├── .gitignore
├── .pre-commit-config.yaml
├── apidocs.py
├── launcher.py
├── README.md
├── requirements.txt
└── setup.cfg

Don't lose this

Three weeks from now, you'll want Binance Trading Api Wrapper again. Will you remember where to find it?

Save it to your library and the next time you need Binance Trading Api Wrapper, it’s one tap away — from any AI app you use. Group it into a bench with the rest of the team for that kind of task and you can pull the whole stack at once.

⚡ Pro tip for geeks: add a-gnt 🤵🏻‍♂️ as a custom connector in Claude or a custom GPT in ChatGPT — one click and your library is right there in the chat. Or, if you’re in an editor, install the a-gnt MCP server and say “use my [bench name]” in Claude Code, Cursor, VS Code, or Windsurf.

🤵🏻‍♂️

a-gnt's Take

Our honest review

This plugs directly into your AI and gives it new abilities it didn't have before. This project is for futures trading on Binance by api call such as tradingview strategy alert. Once connected, just ask your AI to use it. It's completely free and works across most major AI apps. This one just landed in the catalog — worth trying while it's fresh.

Tips for getting started

1

Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.

2

Heads up: this needs an API key to work. You'll get one from the service's website (usually free). The setup guide tells you exactly where.

3

Your data stays between you and your AI — nothing is shared with us or anyone else.

What's New

Version 1.0.06 days ago

Imported from GitHub

Ratings & Reviews

0.0

out of 5

0 ratings

No reviews yet. Be the first to share your experience.