Skip to content

Account

Understanding the XCore Account Data Structure

The XCore Account Data structure is meticulously designed to manage and track comprehensive account activities. It is organized into three key categories:account_position, account_wallet and account_stats. This structure allows for a detailed view of all Account related transactions, providing granular analysis at each level.

The Logic Behind The Structure:

  1. The account_position , which offers a precise ledger of trading activity and position adjustments for each account, following a First-In-First-Out (FIFO) methodology.
  2. The account_wallet , a comprehensive ledger of all balance-related transactions for each account, recording essential data like deposits, withdrawals, and other charges.
  3. The account_stats, a ledger containing hourly snapshots of changes in margin, equity, and exposure for each account, providing insights into how these metrics have fluctuated over time.

This integrated structure allows us to capture detailed information at every stage of Account management, from balance adjustments to position changes. Through this approach, the XCore Account Data facilitates meticulous tracking and analysis of all account related transactions on the platform.