Skip to content

Conversation

@egor-pt
Copy link
Collaborator

@egor-pt egor-pt commented Jan 26, 2023

No description provided.

@egor-pt egor-pt requested a review from klugjo January 26, 2023 17:50
};
}

return {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klugjo Is it ok that I generate command_response instead of order_rejected?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure LGTM

log('order is missing symbol or tid or legs');
}

if (expireTimestamp !== undefined)
Copy link
Collaborator

@klugjo klugjo Jan 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry the { needs to be on the same line as if or it can create issue in certain scenarios in JS

  if (expireTimestamp !== undefined) {
    payload.expire_timestamp = expireTimestamp.toString()
  }

Copy link
Collaborator

@klugjo klugjo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants