News for hackers. Stuff that matters.
Re:Evercoin: A cryptocurrency exchange platform by ufotarikati on Tuesday August 15, 2017 @05:43AM (#15016739)
Writing the formula for you

1) pick the cheapest exchange 2) sell at expensive exchange price 3) add commission 4) add network fees

Re:Evercoin: A cryptocurrency exchange platform by tstyle on Tuesday August 15, 2017 @12:33PM (#15019741)
The formula is more complicated than this. Services such as shapeshift.io guarantee the price for 10 minutes, as well as sending purchased tokens almost instantaneously. To accomplish this means keeping inventory and becoming vulnerable to volatility risk and liquidity risk.

Picking a reasonable bid-ask spread is hard, and probably involves more input factors than the 4 you listed above.