Position Prices

AverageEnterPrice

Gets the average enter price.
  • AverageEnterPrice([ positionId ])
Returns the average enter price.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load

AverageExitPrice

Gets the average exit price.
  • AverageExitPrice([ positionId ])
Returns the average exit price.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load

LastExitLongPrice

Gets the last used exit long price.
  • LastExitLongPrice()
Returns the last used exit long price.
Return Type: Number

LastExitPositionPrice

Gets the last used exit short or long price.
  • LastExitPositionPrice()
Returns the last used exit short or long price.
Return Type: Number

LastExitShortPrice

Gets the last used exit short price.
  • LastExitShortPrice()
Returns the last used exit short price.
Return Type: Number

LastLongPrice

Gets the last enter long price.
  • LastLongPrice()
Returns the last enter long price.
Return Type: Number

LastLongProfit

Gets the profit of the last long exit or sell trade.
  • LastLongProfit([ positionId ])
Returns the profit.
Return Type: Number
Parameter Name
Parameter Type
Required
Suggested
positionId
String
False
Load

LastShortPrice

Gets the last enter short price.
  • LastShortPrice()
Returns the last enter short price.
Return Type: Number

LastShortProfit

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
Copy link
On this page
AverageEnterPrice
AverageExitPrice
LastExitLongPrice
LastExitPositionPrice
LastExitShortPrice
LastLongPrice
LastLongProfit
LastShortPrice
LastShortProfit