Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Task.Run(() =>
- {
- decimal amount = entry.amount / buy[0];
- amount += Math.Round((amount * entry.exchangeBuy.getFee()) / 100, 8);
- entry.exchangeBuy.order("buy", entry.pairBuy, amount, buy[1] + 1000, false);
- });
- Task.Run(() =>
- {
- decimal amount = entry.amount / sell[0];
- amount += Math.Round((amount * entry.exchangeSell.getFee()) / 100, 8);
- entry.exchangeSell.order("sell", entry.pairSell, amount, sell[1] - 1000, false);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement