Skip to main content
Glama
BCusack

Bybit MCP Server

by BCusack

get_open_closed_orders

Retrieve open and closed orders from Bybit to monitor trading activity, check order status, and track fills or cancellations.

Instructions

Get both open (pending) and recently closed orders. Essential for monitoring order status and trading activity. Use this to check if orders are filled, cancelled, or still pending.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesProduct category to query orders for
symbolNoSpecific trading pair to get orders for. Leave empty to get all orders in category
baseCoinNoBase coin filter for derivatives and options
orderIdNoSpecific order ID to query
orderLinkIdNoSpecific custom order ID to query
openOnlyNoFilter by open orders only: 0 = all orders, 1 = open orders only, 2 = closed orders only
limitNoMaximum number of records to return (1-50)
cursorNoPagination cursor for next page of results

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BCusack/bybit-py-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server