Dynamic wait_time

Issue #57 resolved
Desrever Nu created an issue

wait_time currently it is statically declared. It should instead depend upon other variables.

long wait_time = (1000 * (61 + 41 + 8)); // this is with priceRefresh 61, balance-interval 40 and assuming it will take 10 seconds for the other to cancel

Pay attention that it cannot depend directly on those variable, because in case of EUR pair, 61 seconds becomes 8 hours

Comments (2)

  1. Log in to comment