{"repo":"yanboishere/Trade.with-SuperTrend.parameter","free":true,"listed":false,"github":"https://github.com/yanboishere/Trade.with-SuperTrend.parameter","clone":"git clone https://github.com/yanboishere/Trade.with-SuperTrend.parameter.git","description":"Confirm the process of appearance and disappearance of upper or lower limit lines for the super trend parameters in crypto trading pairs in TraderView, and perform multiple buying and selling transactions based on this parameter index.｜对于crypto交易对中 TraderView中的超级趋势参数 出现以及消失上限线或下限线前后过程进行确认 从而根据该参数指标的出现 进行多次合约做多&做空 开仓买卖","language":"Python","stars":16,"topics":["crypto","cryptocurrency","cryptography","python","trade-bot","tradebot","bot","numpy","bitcoin","blockchain"],"license":null,"category":"blockchain-web3","readme_excerpt":"OKX-API-Trade-with-SuperTrend-parameter Language English 中文 Personal experimental project Since the content of this repository has not yet been tested over a long period of time to determine its reliability, it is recommended that at this stage you use it for learning purposes only. (Meme picture means : Don't fuck analyse it and tell me which side to go all-in on.) Intro. Call the OKX API to confirm the process of appearance and disappearance of upper or lower limit lines for the super trend parameters in crypto trading pairs in TraderView, and perform multiple buying and selling transactions based on this parameter index. （The red long-term trend line is a bearish signal, while the green one is a bullish signal. Example data picture from @tradingview.com） Experimental results on the simulation platform can be found in the 'Demo.py' file. The code follows the following general process: - Import the necessary libraries and set API key information and transaction parameters. - Instantiate the OKXTrader class, initialize the account API and futures API, and historical K-line cache. - Define the get historical klines function to obtain historical K-line data and convert it into a numpy array. If the K-line data for the trading pair already exists in the cache, read directly from the cache; otherwise, use the API to obtain historical K-line data and save it to the cache. - Define the calculate super trend function to calculate the super trend indicator. The function accepts param","default_branch":null,"files":null,"tree":[],"storefront":"/r/yanboishere","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yanboishere/Trade.with-SuperTrend.parameter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}