Documention Fixes ( vs algo.sell)

Confusing switcheroos on the docs for and algo.sell()

"increase" - Increase a long position. Can be flat or long, but not short.
"decrease" - Decrease a short position (Note: "order_quantity" > 0). Must be long, not flat and not short. Will not liquidate more than long position.

"increase" - Increase a short position. Must be flat or short.
"decrease" - Decrease a short position (Note: "order_quantity" > 0) . Must be short, not flat and not long. Will not cover more than short position.

The buy() example should read:
"decrease" - Decrease a long position


Sign In or Register to comment.