Post
Topic
Board Service Announcements (Altcoins)
Re: [ANN] leonArdo - Bitcoin Trading Bot for Poloniex, Bittrex, Bitstamp, Bitfinex..
by
shariqkhan
on 01/09/2017, 15:22:06 UTC
Can anyone using leonArdo kindly explain to me how does it calculate effective gain?

I am fiddling with demo version (with Bittrex as exchange).
I chose margin maker as the strategy with the following settings:

Trading pair: LTC/BTC:
Amount (LTC) : 15.4704
Start with : Buy
Buy Margin: 32%
Sell Margin: 30%
Trading Window: 38%
Effective margin: 1.05%
Min Effective gain: -1%


The buy order went through with these details:
Type: limit buy
Price:0.01615998
Amount:15.470393
Total:0.25000124

The bot automatically placed a sell order with these details:
Type: limit buy
Price:0.0162114
Amount:15.470393
Total:0.25079673


I am not able to understand how selling at 0.0162114 amounts to 1.05% gain.
By the mathemetical formula Gain % = [(Selling Price - Cost Price) * 100]/ Cost Price
It comes to [(0.0162114 - 0.01615998)*100]/0.01615998 = 0.31819%

The formula gives effective gain as 0.318193%, and not 1.05% gain which I had aimed for.
There is quite a strong chance I am misunderstanding the settings. In that case would someone be kind enough to tell me what these settings (Buy Margin, Sell Margin, Trading Window, Effective margin) mean and what values should I provide in these settings if I want to get a profit of 1.05% in every trade.

Thanks.

Anybody?