Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Update bot.php
Browse files Browse the repository at this point in the history
Forgot variable. Use this commit and not   d117ab1
  • Loading branch information
codeandbattle committed Oct 30, 2018
1 parent d117ab1 commit 0a824ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
echo("\$oldPrice_buy: ". $oldPrice_buy ."<br>");
echo("\$priceNow: ". $priceNow ."<br>");
echo("\$priceChange: ". $priceChange ."<br>");
echo("Price before sell: ". number_format((float)0.00003641 * ($sell_percentage / 100 + 1),8)."<br>");
echo("Price before sell: ". number_format((float)$oldPrice_buy * ($sell_percentage / 100 + 1),8)."<br>");
}

/* Checking if the last ACTION in getOrderHistory was to BUY. If it was, then we check if the price increased and we made some profit, so we can sell */
Expand Down

0 comments on commit 0a824ba

Please sign in to comment.