![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Get crypto coin informations & calculate the custom or constant indicators. (WITH BINANCE API)
Simplified & Professional Binance API.
Get crypto coin information in an easy way.
Get account information (balance,quantity etc.)
Buy / Sell / Limit / Stop Loss --> Orders any way.
Calculate SMA, EMA, MACD etc. functions (custom indicators)
https://pypi.org/project/binance-ema/
pip install binance-ema
Firstly, for the use this library you have to create an API via Binance. This documentation will help you for create an safe API.
Visit the Binance web site and log in: https://www.binance.com/
After, click to your profile photo. Select api management from the menu that appears.
Third, you can create an API now. After the API creatation, move the API List and click the edit button your API.
After the API creatation, save your "API KEY" & "SECRET KEY".
Page looks like;
Binance Connector
This project uses the official binance documentation.
Github Referance for Binance Connector -->https://github.com/binance/binance-connector-python
Original Binance Connector Document --> https://binance-docs.github.io/apidocs/spot/en/#introduction
Referance 3 --> https://binance-connector.readthedocs.io/en/stable/
You can download and start using and developing the library now.
Don't forget to sen message me for any mistake. Don't forget give star. I waiting for your pull requests (Forks) :)
# Example connect to API & Info Functions
from binance.spot import Spot
from binancema.coininfo import *
KEY = "XXXXXXXXXXXXXXXXXXXXXX"
SECRET = "XXXXXXXXXXXXXXXXXXXXXX"
Client = Spot(KEY,SECRET) # connect binance api
symbol = "OXT"
market = "OXTUSDT"
# use libary binancema functions
print(f"Your USDT ($) Balance: {balance_usdt(Client)} $\n") #float
print(f"OXT Quantity (Free): {quantity_free(Client,symbol)} OXT\n") #float
print(f"OXT Quantity (locked): {quantity_locked(Client,symbol)} OXT\n") #float
print(f"OXT Quantity (all): {quantity_all(Client,symbol)} OXT\n") #float
print(f"OXT Balance ($) (free): {balance_free(Client,symbol)} $\n") #float
print(f"OXT Balance ($) (locked): {balance_locked(Client,symbol)} $\n") #float
print(f"OXT Balance ($) (all): {balance_all(Client,symbol)} $\n") #float
print(f"OXT/USDT Price (now): {price(Client,market)}\n") #float
print(f"OXT/USDT Price (before 24hr): {price_before_24hr(Client,market)}\n") #float
print(f"OXT/USDT Price Change Value (24hr): {price_change24(Client,market)}\n") #float
print(f"OXT/USDT Price Change (%) (24hr): % {price_change_percent24(Client,market)}\n") #float
print(f"OXT/USDT Price High Value (24hr): {price_high24(Client,market)}\n") #float
print(f"OXT/USDT Price Low Value (24hr): {price_low24(Client,market)}\n") #float
from binance.spot import Spot
from binancema.coininfo import *
KEY = "XXXXXXXXXXXXXXXXXXXXXX"
SECRET = "XXXXXXXXXXXXXXXXXXXXXX"
Client = Spot(KEY,SECRET) # connect binance api
symbol = "OXT"
market = "OXTUSDT"
# TRADE with binance-ema
print(market_buy_with_price(Client, market,30)) # buy 30 $ BTC (market price)
print(market_buy_with_quantity(Client, market,0.01233)) # buy 0.01233 BTC (market price)
# default binance-connector functions
print(f"All Open Orders (LIMIT): {Client.get_open_orders()}\n") #list
print(f"OXT Open Orders (LIMIT): {Client.get_open_orders(market)}\n") #list
print(f"Get only 1 order:{Client.get_order(market,orderId = 55555)} \n") # dict (inpur order id gettin to get_open_orders)
Emre MENTEŞE (Owner) | Ozan Mutlu |
MIT License | Copyright (c) 2022 Emre MENTEŞE
FAQs
Get crypto coin informations & calculate the custom or constant indicators. (WITH BINANCE API)
We found that binance-ema demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.