Metadata-Version: 2.1
Name: binance-ema
Version: 0.1.0
Summary: Get crypto coin informations & calculate the custom or constant indicators. (WITH BINANCE API)
Home-page: https://github.com/emrementese/binance-ema
Author: Emre MENTESE
Author-email: emrmentese@gmail.com
License: MIT
Description: # binance-ema
        Exchange indicators &amp; Basic functions for Binance API.
        
        - This 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 !
        
        # Usage
        Firstly, for the use this library you have to create an API via Binance. This documentation will help you for create an safe API.
        
        1) [Visit the Binance web site and log in.](https://www.binance.com/)
                    
                    https://www.binance.com/
        2) After, click to your profile photo. Select api management from the menu that appears.
        
           ![](https://github.com/emrementese/binance-ema/blob/main/tests/images/menu.png)
        
        
        3) 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;
        
           ![](https://github.com/emrementese/binance-ema/blob/main/tests/images/binance-api-settings.png)
           
        * 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.
        
                    You can use this libary now but you need original binance-connector libary for connect to your API.
                    
        > Binance Connector
        - 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/
        
                                pip install binance-connector
                                
        - 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) :)
        
        ## tests
        ```py
        
        # example connect to API
        
        from binance.spot import Spot
        from binancema.indicators import indicator
        from binancema.coininfo import *
        
        KEY         = "XXXXXXXXXXXXXXXXXXXXXX"
        SECRET      = "XXXXXXXXXXXXXXXXXXXXXX"
        
        Client = Spot(KEY,SECRET)  # connect binance api
        functions = indicator(Client) #connect the binance-ema libary
        
        # default binance-connector
        print(f"Server Time: {Client.time()['serverTime']}")
        
        # use libary binancema
        print(f"Your USDT ($) Balance:                  {balance_usdt(Client)} $")
        print(f"OXT Quantity (Free):                    {quantity_free(Client,'OXT')} OXT")
        print(f"OXT Quantity (locked):                  {quantity_locked(Client,'OXT')} OXT")
        print(f"OXT Quantity (all):                     {quantity_all(Client,'OXT')} OXT")
        print(f"OXT Balance ($) (free):                 {balance_free(Client,'OXT')} $")
        print(f"OXT Balance ($) (locked):               {balance_locked(Client,'OXT')} $")
        print(f"OXT Balance ($) (all):                  {balance_all(Client,'OXT')} $")
        print(f"OXT/USDT Price (now):                   {price(Client,'OXTUSDT')}")
        print(f"OXT/USDT Price (before 24hr):           {price_before_24hr(Client,'OXTUSDT')}")
        print(f"OXT/USDT Price Change Value (24hr):     {price_change24(Client,'OXTUSDT')}")
        print(f"OXT/USDT Price Change (%) (24hr):       % {price_change_percent24(Client,'OXTUSDT')}") 
        print(f"OXT/USDT Price High Value (24hr):       {price_high24(Client,'OXTUSDT')}") 
        print(f"OXT/USDT Price Low Value (24hr):        {price_low24(Client,'OXTUSDT')}")
        
        ```
        
        # License
        
        
            MIT License | Copyright (c) 2022 Emre MENTEŞE
        
        
Keywords: Binance,Public API,EMA,MACD,TRADE,Crypto,Coin,Indicators,BTC,ETH,USDT
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.6
Description-Content-Type: text/markdown
