Bitcoin Forum
May 14, 2024, 06:00:15 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Calculate the number of coins for a deal with a fixed amount of risk  (Read 85 times)
iarkusha (OP)
Newbie
*
Offline Offline

Activity: 112
Merit: 0


View Profile
January 25, 2018, 07:57:48 AM
Last edit: January 25, 2018, 08:28:42 AM by iarkusha
 #1

Can someone tell me, it's very important to calculate the number of coins for a deal with a fixed amount of risk (including commission).

For example, at a risk of $ 100

100 $ / (buy level - stop level)) = number of coins

How to resolve the issue with the Exchange Commission 0.25% at the opening and closing? For example Bittrex has 0.25% commission for all deals.

How to calculate the correct number of coins so that in the end the total loss was only $100 ?
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
1715666415
Hero Member
*
Offline Offline

Posts: 1715666415

View Profile Personal Message (Offline)

Ignore
1715666415
Reply with quote  #2

1715666415
Report to moderator
shulio
Legendary
*
Offline Offline

Activity: 1540
Merit: 1016


View Profile
January 25, 2018, 08:43:54 AM
 #2

I think it should be like this,

Bittrex will take the %0.25 of bought and sold coins.

If you want to buy X amount of coin you will receive 99.75% * X amount.

And when you want to sell you will get the value of 99.500625% X as Bittrex will cut the 0.25% of 99.75% * X amount.

Rearrange the equation as follows:  100$ = (buy level - stop level) * X

And then lets put the calculated percentage values to the equation:

100$ = buy_level * 99.75X - stop_level * 99.500625X

I think this should do the trick.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!