Groups Endpoint
Endpoint Information
Searchable Fields
Regular Fields
Field
Type
Description
Example
Calculated Fields (Real-time)
Field
Type
Description
Example
# Groups with accounts
GET /api/v0/groups?accountsCount__gt=0
# Groups with trading activity
GET /api/v0/groups?positionsCount__gt=0
# Well-configured groups
GET /api/v0/groups?accountsCount__ge=5&symbolsCount__ge=10# Large groups (50+ accounts)
GET /api/v0/groups?accountsCount__ge=50
# Groups needing symbol configuration
GET /api/v0/groups?accountsCount__gt=0&symbolsCount__eq=0
# High-activity groups
GET /api/v0/groups?positionsCount__ge=100# Conservative groups (high stop out)
GET /api/v0/groups?stopOutLevel__ge=80
# High-limit groups
GET /api/v0/groups?limitPositions__ge=100
# USD-based groups
GET /api/v0/groups?currency.name=USD# Good: Filter by name first, then calculated field
GET /api/v0/groups?name__like=trading&accountsCount__gt=10
# Less optimal: Only calculated field
GET /api/v0/groups?accountsCount__gt=10# Active trading groups
GET /api/v0/groups?accountsCount__ge=10&symbolsCount__ge=5&positionsCount__gt=0
# Groups with unused capacity
GET /api/v0/groups?accountsCount__lt=limitPositions&symbolsCount__gt=10
# Popular groups this year
GET /api/v0/groups?createdAt__ge=2024-01-01&accountsCount__ge=20# Empty groups for cleanup
GET /api/v0/groups?accountsCount__eq=0&symbolsCount__eq=0
# Groups exceeding limits
GET /api/v0/groups?positionsCount__ge=limitPositions
# Recently created active groups
GET /api/v0/groups?createdAt__ge=2024-08-01&accountsCount__gt=0# Most popular groups
GET /api/v0/groups?sort=accountsCount&order=DESC
# Most active trading
GET /api/v0/groups?sort=positionsCount&order=DESC
# Best configured groups
GET /api/v0/groups?sort=symbolsCount&order=DESC# Alphabetical by name
GET /api/v0/groups?sort=name&order=ASC
# Newest groups first
GET /api/v0/groups?sort=createdAt&order=DESC
# Most restrictive (highest stop out)
GET /api/v0/groups?sort=stopOutLevel&order=DESC