Comment configurer un bot de trading de signaux OKX avec TradingView
%fZ'), "maxLag":"2000", "orderType":"market", "orderPriceOffset":"0.1", "investmentType":"percentage_position", "amount":"100" } demo_trading_url = 'https://www.okx.com/pap/algo/signal/trigger' live_trading_url = 'https://www.okx.com/algo/signal/trigger' # Make a POST request signak enter response = requests.post(live_trading_url, data=json.dumps(signaldata_enterlong)) # Check the response status code if response.status_code == 200: log.info('trigger signal successful') else: log.info('trigger sitgnal
Date de publication : 30 août 2023Date de mise à jour : 3 déc. 2025Documentation produit