Simple excel macro which use Bittrex exchanges API.
Base code in here:
[login to view URL]
you will find everything what you need in there.
In the app we need few parameters:
- StopLoss %
- Price Check Interval in Seconds
Macro need to do Trailing Stop-Loss which is for example:
For example, a user buys 1 ETH for 0.05 BTC, and sets in the system a stop-loss goal, for example, 10% (0.045BTC) .The trailing stop-loss always follows the price and moves the stop-loss after the price moves up. For example, suppose the price of ETH increases by 10% (0.55 BTC). Now the stop-loss of 10% will be rearranged to 0.0495 BTC.
So simple IF condision composed with API calls
Data flow will be approx as below:
- Set StopLoss % for given pair based on current price.
- After Specified time Read CurrentPrice if price is below last read do nothing if above then change stop loss to (CurrentPrice - ( StopLoss% Of CurrentPrice)
- Please feel Free to ask any questions.
- Only verified users with feedback.
- Payments only via freelancer.