Created
February 14, 2017 14:43
-
-
Save tloriato/340eef3c86d688e9caf5da48bb64c59d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unless order == orders_s.last do | |
if ( order.amount - (buy_amount + amount_of) <= 0) | |
#isso quer dizer que a rodada de compra termina nessa ordem | |
end | |
else #a rodada pelo book continua | |
buy_amount =+ order.amount | |
amount_of =- order.amount | |
end | |
end |
Author
tloriato
commented
Feb 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment