Position Price Information
Last updated
Last updated
Gets the average enter price.
Syntax: AverageEnterPrice([ positionId ], [ includeClosed ])
Returns the average enter price.
Return type: Number
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Gets the average exit price.
Syntax: AverageExitPrice([ positionId ])
Returns the average exit price.
Return type: Number
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Gets the last used exit long price.
Syntax: LastExitLongPrice()
Returns the last used exit long price.
Return type: Number
Gets the last used exit short or long price.
Syntax: LastExitPositionPrice()
Returns the last used exit short or long price.
Return type: Number
Gets the last used exit short price.
Syntax: LastExitShortPrice()
Returns the last used exit short price.
Return type: Number
Gets the last enter long price.
Syntax: LastLongPrice()
Returns the last enter long price.
Return type: Number
Gets the profit of the last long exit or sell trade.
Syntax: LastLongProfit([ positionId ])
Returns the profit.
Return type: Number
Gets the last enter short price.
Syntax: LastShortPrice()
Returns the last enter short price.
Return type: Number
Gets the profit of the last short exit or buy trade.
Syntax: LastShortProfit([ positionId ])
Returns the profit.
Return type: Number
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
Parameter Name | Parameter Type | Required | Suggestions |
---|---|---|---|
positionId
String
False
Load
includeClosed
Boolean
False
True,IsTrue,False,IsFalse,Or,Branch,Equals,IsBiggerThan,IsSmallerThan,IsBiggerOrSmallerThan,IsAnyOrderOpen,IsOrderFilled,IsOrderOpen,IsTradeAmountEnough
positionId
String
False
Load
positionId
String
False
Load
positionId
String
False
Load