Dislikedit's in the code
investment = mmtu / 100
capital * investment * (leverage / 100000)
Not sure on your version, as I am not running that one, but typically:
Trades will open more than one once in awhile at the top of the hour, it's when during that 1 minute window more than 1 pair becomes biggest winner.Ignored