Skip to content

Conversation

pssolanki111
Copy link
Contributor

  • equity stop
  • equity stop limit
  • equity trailing stop
  • equity trailing stop limit
  • Basic validation in the templates.
  • relevant docs changes

raise ValueError('When using percent, trailing offset must be >=1 and <=99')

return (OrderBuilder()
.set_order_type(OrderType.TRAILING_STOP)

Choose a reason for hiding this comment

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

Suggested change
.set_order_type(OrderType.TRAILING_STOP)
.set_order_type(OrderType.TRAILING_STOP_LIMIT)

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.

2 participants