BUY_TO_CLOSE

Syntax

OrderType.BUY_TO_CLOSE

Description

Used in addOrder function to add a buying order for closing a short position. Note that you can switch order to Strategy Properties article for details.

Example

See the AddOrder article in the Others section.