📊

# Position Management

View and monitor futures trading positions

## 🎯 Position Overview

Position management provides visibility into all futures trading positions across your platform. View position details, profit/loss information, and basic position status for all users.

## 📋 Position Information

🏷️

### Basic Details

- • Position ID
- • User ID
- • Trading symbol
- • Position side (BUY/SELL)
- • Creation timestamp

💰

### Financial Data

- • Entry price
- • Position amount
- • Leverage ratio
- • Unrealized P&L
- • Current status

🎯

### Risk Settings

- • Stop loss price (optional)
- • Take profit price (optional)
- • Position status
- • Last update time
- • Risk controls applied

## 🔍 Accessing Position Data

### Navigate to Position Management

Access the futures position management section at Admin Panel → Futures → Positions

### View Options

- • All positions across users
- • Filter by user ID
- • Filter by trading symbol
- • Filter by position status
- • Sort by various fields

### Position Status

OPEN - Active position
CLOSED - Position closed

## 🔄 Position Lifecycle

1

### Created

Position opened from order execution

2

### Active

Position monitored with live P&L updates

3

### Closed

Position closed with realized P&L

## 📊 Position Monitoring

### Available Information

#### Position Details

Symbol & Side: Trading pair and position direction
Entry Price: Price at which position was opened
Amount & Leverage: Position size and leverage used

#### P&L Tracking

Unrealized P&L: Current profit/loss on open position
Stop Loss: Risk management price level (if set)
Take Profit: Profit target price level (if set)

## 📈 Position Analytics

📊

### Position Summary

Overall position statistics

- • Total open positions
- • Total position value
- • Average leverage used
- • Position distribution

💹

### P&L Overview

Profit and loss analysis

- • Total unrealized P&L
- • Profitable positions count
- • Loss-making positions count
- • P&L distribution

👥

### User Activity

User-based position metrics

- • Active traders count
- • Top position holders
- • User distribution
- • Trading activity levels

## ⚙️ Technical Details

### Data Storage

#### Position Structure

- • Positions stored in ScyllaDB
- • Real-time data access
- • High-performance queries
- • Scalable data structure

#### Data Fields

- • BigInt precision for financial data
- • UUID-based position identification
- • Timestamp tracking for events
- • Status-based position management

## 💡 Best Practices

### Monitoring

- • Regular position review and monitoring
- • Track large positions and high leverage
- • Monitor P&L trends across positions
- • Keep eye on position concentration risks
- • Review stop loss and take profit usage

### Analysis

- • Analyze user trading patterns
- • Identify high-risk position behaviors
- • Track position lifecycle durations
- • Monitor leverage usage patterns
- • Review position size distributions