Skip to content

cool_down_time #16

Description

@ox-blueblue

_calculate_wait_time 总是返回0 或1,是否应该改为如下的方式:
if time.time() - self.last_open_order_time > cool_down_time:
return 0
else:
return cool_down_time - (time.time() - self.last_open_order_time)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions