Metadata-Version: 2.1
Name: sigmatmpy
Version: 0.0.17
Summary: BFJ manager api for python user
Home-page: UNKNOWN
Author: SigmaTM
Author-email: wuyou1020@hotmail.com
License: UNKNOWN
Description: # SIGMATMPY
        
        > SIGMATMPY-library is an APIRequest driven trading and monitoring platform. Each functionality (trades, price etc.) is represented by it's own class covering all aspect of that functionality.
        
        
        ## Getting Started
        
        ### Installation
        
        ```sh
        $ pip install sigmatmpy
        ```
        
        ### Basic functions
        
        ```sh
        import sigmatmpy
        
        # initualize APIRequest token
        username = 'username'
        password = 'password'
        API = sigmatmpy.API(username,password)
        
        # open a live order
        API.open_order('EURUSD', 1, 0.01, 1.18245, 3, 0, 0,'comment')
        
        # open a pending order (limit and stop order)
        API.close_order(9999999,0.01,1.18245)
        
        # close an order 
        API.close_order(9999999, 0.01, 1.18245)
        
        # get trades history by datetime 
        API.trades_history_by_datetime('2021-07-04 000000', '2021-07-16 075150')
        
        # get trades history by unixtime 
        API.trades_history_by_unixtime(1625991769, 1626423769)
        
        # get live trades
        API.live_trades()
        
        # get account information
        API.account_info()
        
        # get server time
        API.server_time()
        ```
        
        ### Price data
        
        ```sh
        # initialize data streaming for XAUUSD
        API.initialize_price_stream('XAUUSD')
        
        # get current price
        API.current_price('XAUUSD')
        
        # get XAUUSD 5 min bar chart data
        API.bar_chart('XAUUSD', 5)
        
        # check appearance of new bar
        API.check_new_bar('XAUUSD', 5)
        
        ```
        
        ## Release History 版本历史
        
        
        ## Authors 关于作者
        
        * **SIGMATM** - *Initial work* - [SIGMATM]
        
        查看更多关于这个项目的贡献者，请阅读 [contributors](#) 
        
        ## License 授权协议
        
        这个项目 MIT 协议， 请点击 [LICENSE.md](LICENSE.md) 了解更多细节。
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
