This repository contains a collection of basic functions for working with the Binance UM Futures API, designed to assist with automated cryptocurrency trading. The functions include basic error handling mechanisms to ensure smoother operations.
- Get Symbol Information: Retrieve information about a specific trading symbol.
- Get Kline/Candlestick Data: Fetch historical kline (candlestick) data for market analysis.
- Apply Precision: Adjust values to eliminate precision errors.
- Adjust Quantity: Ensure the trading quantity adheres to market rules.
- Place Order: Execute market orders for buying or selling.
- Place Stop Order: Set stop orders for risk management.
- Cancel All Orders: Cancel any open orders for a specific symbol.
- Check Futures Balance: Retrieve and display your futures account balance and unrealized profits.
- Position Open: To check if another position is open for the same symbol.
Adding useful functions and improvements is highly appreciated! If you have suggestions or would like to contribute, feel free to fork the repository and submit a pull request.
Thank you for considering this project as part of your trading toolkit. Happy trading!