Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Task.Run(() =>
  2. {
  3. decimal amount = entry.amount / buy[0];
  4. amount += Math.Round((amount * entry.exchangeBuy.getFee()) / 100, 8);
  5. entry.exchangeBuy.order("buy", entry.pairBuy, amount, buy[1] + 1000, false);
  6. });
  7. Task.Run(() =>
  8. {
  9. decimal amount = entry.amount / sell[0];
  10. amount += Math.Round((amount * entry.exchangeSell.getFee()) / 100, 8);
  11. entry.exchangeSell.order("sell", entry.pairSell, amount, sell[1] - 1000, false);
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement