Package: binance-ema
binance-emaSimplified & 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-emaNotsThis python library has been written to calculate SMA, EMA, MACD etc. functions with Binance API.Complex functions in the Binance API, has been facilitate for developers.After installing the libary, don't forget reading the funcions content !We are not responsible the your code mistakeUsageFirstly, 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;Enable Reading was default active. This settings give you authority for reading the coins information. (Red circle in the image)Enable Spot-Marign Trading was default passive. !! IF YOU DON'T SPOT-MARGİN TRADİNG, YOU MUST DON'T ACTİVE THİS SETTİNG FOR YOUR SECURİTY. (Green circle in the image)Trusted IP default null. You must add your ip adress here for your security. Other ip adress cannot read coins information or trade.Binance ConnectorThis project uses the official binance documentation.Github Referance for Binance Connector  -->https://github.com/binance/binance-connector-pythonOriginal Binance Connector Document     -->https://binance-docs.github.io/apidocs/spot/en/#introductionReferance 3 -->https://binance-connector.readthedocs.io/en/stable/Binance Spot Trade RulesYou 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# Example connect to API & Info Functionsfrombinance.spotimportSpotfrombinancema.coininfoimport*KEY="XXXXXXXXXXXXXXXXXXXXXX"SECRET="XXXXXXXXXXXXXXXXXXXXXX"Client=Spot(KEY,SECRET)# connect binance apisymbol="OXT"market="OXTUSDT"# use libary binancema functionsprint(f"Your USDT ($) Balance:{balance_usdt(Client)}$\n")#floatprint(f"OXT Quantity (Free):{quantity_free(Client,symbol)}OXT\n")#floatprint(f"OXT Quantity (locked):{quantity_locked(Client,symbol)}OXT\n")#floatprint(f"OXT Quantity (all):{quantity_all(Client,symbol)}OXT\n")#floatprint(f"OXT Balance ($) (free):{balance_free(Client,symbol)}$\n")#floatprint(f"OXT Balance ($) (locked):{balance_locked(Client,symbol)}$\n")#floatprint(f"OXT Balance ($) (all):{balance_all(Client,symbol)}$\n")#floatprint(f"OXT/USDT Price (now):{price(Client,market)}\n")#floatprint(f"OXT/USDT Price (before 24hr):{price_before_24hr(Client,market)}\n")#floatprint(f"OXT/USDT Price Change Value (24hr):{price_change24(Client,market)}\n")#floatprint(f"OXT/USDT Price Change (%) (24hr):       %{price_change_percent24(Client,market)}\n")#floatprint(f"OXT/USDT Price High Value (24hr):{price_high24(Client,market)}\n")#floatprint(f"OXT/USDT Price Low Value (24hr):{price_low24(Client,market)}\n")#floatExample Trade Functionsfrombinance.spotimportSpotfrombinancema.coininfoimport*KEY="XXXXXXXXXXXXXXXXXXXXXX"SECRET="XXXXXXXXXXXXXXXXXXXXXX"Client=Spot(KEY,SECRET)# connect binance apisymbol="OXT"market="OXTUSDT"# TRADE with binance-emaprint(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 functionsprint(f"All Open Orders (LIMIT):{Client.get_open_orders()}\n")#listprint(f"OXT Open Orders (LIMIT):{Client.get_open_orders(market)}\n")#listprint(f"Get only 1 order:{Client.get_order(market,orderId=55555)}\n")# dict (inpur order id gettin to get_open_orders)LicenseMIT License | Copyright (c) 2022 Emre MENTEŞE