Skip to main content

getBotOpenPositions

Get live open positions for a running bot from Freqtrade's /api/v1/status. Returns an empty list when the bot is stopped or unreachable.

getBotOpenPositions(
botId: ID!
): [BotOpenPosition!]!

Arguments

getBotOpenPositions.botId ● ID! non-null scalar

Type

BotOpenPosition object

Live open position as reported by Freqtrade's /api/v1/status. This is a transient type — it has no backing DB table.