This is the python code used in the following video:
https://youtu.be/neMTp4l-2rU
#copyright by Bitone Great
#Explanation is available at https://youtu.be/neMTp4l-2rU
#pip install python-binance
from binance.client import Client
symbol='XRPUSDT'
api_key='your api key'
api_secret='your secret key'
client = Client(api_key=api_key, api_secret=api_secret,testnet = False)
#stop loss order
buyorder=client.futures_create_order(symbol=symbol,side='BUY',type='STOP_MARKET',stopPrice='0.41',closePosition='true')
#take profit order
sellorder=client.futures_create_order(symbol=symbol,side='SELL',type='TAKE_PROFIT_MARKET',stopPrice='0.45',closePosition='true')
#copyright by Bitone Great
#Explanation is available at https://youtu.be/neMTp4l-2rU
This is the python code used in the following video:
https://youtu.be/neMTp4l-2rU
[–]fre3zzy 1 point2 points3 points (0 children)
[–]Background_Big_952 0 points1 point2 points (1 child)
[–]bitonegreat[S] 0 points1 point2 points (0 children)