Position Price Information

AverageEnterPrice

Gets the average enter price.

Syntax: AverageEnterPrice([ positionId ], [ includeClosed ])

Returns the average enter price.

Return type: Number

Parameter NameParameter TypeRequiredSuggestions

positionId

String

False

Load

includeClosed

Boolean

False

True,IsTrue,False,IsFalse,Or,Branch,Equals,IsBiggerThan,IsSmallerThan,IsBiggerOrSmallerThan,IsAnyOrderOpen,IsOrderFilled,IsOrderOpen,IsTradeAmountEnough

AverageExitPrice

Gets the average exit price.

Syntax: AverageExitPrice([ positionId ])

Returns the average exit price.

Return type: Number

Parameter NameParameter TypeRequiredSuggestions

positionId

String

False

Load

LastExitLongPrice

Gets the last used exit long price.

Syntax: LastExitLongPrice()

Returns the last used exit long price.

Return type: Number

LastExitPositionPrice

Gets the last used exit short or long price.

Syntax: LastExitPositionPrice()

Returns the last used exit short or long price.

Return type: Number

LastExitShortPrice

Gets the last used exit short price.

Syntax: LastExitShortPrice()

Returns the last used exit short price.

Return type: Number

LastLongPrice

Gets the last enter long price.

Syntax: LastLongPrice()

Returns the last enter long price.

Return type: Number

LastLongProfit

Gets the profit of the last long exit or sell trade.

Syntax: LastLongProfit([ positionId ])

Returns the profit.

Return type: Number

Parameter NameParameter TypeRequiredSuggestions

positionId

String

False

Load

LastShortPrice

Gets the last enter short price.

Syntax: LastShortPrice()

Returns the last enter short price.

Return type: Number

LastShortProfit

Gets the profit of the last short exit or buy trade.

Syntax: LastShortProfit([ positionId ])

Returns the profit.

Return type: Number

Parameter NameParameter TypeRequiredSuggestions

positionId

String

False

Load

Last updated