GitHub – szferguson/Binance-Trailing-Stop-Loss: Provides a dynamic stop-loss that automatically adjusts as the price increases or decreases (depending on mode specified)

Binance stop loss.

Binance Trailing Stop-Loss.

Provides a dynamic stop-loss that automatically adjusts as the price increases or decreases (depending on mode specified)

Clone the repository.

Install required libraries.

Configure API keys.

Obtain an API key here.

Then modify config.py trading binary options strategies and tactics pdf creator insert your API key and secret.

Usage.

Important note.

If you are running in sell mode, it is assumed that you have already purchased the coins. If you are running in buy mode, it will use the total available balance in the base (USDT, BTC, etc). I will likely add an option later to specify investment ratio.

Buy mode.

If the buy option is set, the bot will initially place a stop-loss size satoshis (or binary options winning strategies for video USD) above the current market price. As the price goes lower, the stop-loss will get dragged with it, staying no higher than the size specified. Once the price crosses the stop-loss price, a buy order is executed.

Sell mode.

If the sell option is set, the bot will initially place a stop-loss size satoshis (or USD) below the current market price. As the price goes higher, the stop-loss will get dragged with it, staying no lower than the size specified. Once the price crosses the stop-loss price, a sell order is executed.

Size.

This is the amount in satoshis (or cryptocurrencyreviews.eu USD) you would like the stop-loss to be retained at. The difference between the current price and stop-loss will never be larger than this amount.