Position Prices
Last updated
Last updated
Gets the average enter price.
AverageEnterPrice([ positionId ])
Returns the average enter price.
Return Type: Number
Gets the average exit price.
AverageExitPrice([ positionId ])
Returns the average exit price.
Return Type: Number
Gets the last used exit long price.
LastExitLongPrice()
Returns the last used exit long price.
Return Type: Number
Gets the last used exit short or long price.
LastExitPositionPrice()
Returns the last used exit short or long price.
Return Type: Number
Gets the last used exit short price.
LastExitShortPrice()
Returns the last used exit short price.
Return Type: Number
Gets the last enter long price.
LastLongPrice()
Returns the last enter long price.
Return Type: Number
Gets the profit of the last long exit or sell trade.
LastLongProfit([ positionId ])
Returns the profit.
Return Type: Number
Gets the last enter short price.
LastShortPrice()
Returns the last enter short price.
Return Type: Number
Gets the profit of the last short exit or buy trade.
LastShortProfit([ positionId ])
Returns the profit.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load