- Home
- Finance & Business
- Binance Trading Api Wrapper
Binance Trading Api Wrapper
This project is for futures trading on Binance by api call such as tradingview strategy alert
Rating
Votes
0
score
Downloads
0
total
Price
Free
API key required
Works With
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
git clone https://github.com/Jeonghun-Ban/binance-trading-api-wrapper.gitInstall dependency packages
pip install -r requirements.txtConfiguration
#### 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.tomlYou 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
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 envlauncher.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 setapi_key,api_secretasenvironment variablebefore executing server.
Build apidocs pages
python apidocs.py > openapi.yaml
redoc-cli bundle openapi.yaml -o ./publish/index.htmlThis 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.cfgDon'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
Tap "Get" above, pick your AI app, and follow the steps. Most installs take under 30 seconds.
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.
Your data stays between you and your AI — nothing is shared with us or anyone else.
What's New
Imported from GitHub
Ratings & Reviews
0.0
out of 5
0 ratings
No reviews yet. Be the first to share your experience.