user

Get trading stats for users

Changed on
post/v1/users/trading-stats

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/users/trading-stats
  • Auth
    HTTP bearer

Request body

userIdsstring[] required
period'24h' | '7d' | '30d' | 'all' required

Response

Successful response

rankinteger required

Canonical 1-indexed profit-descending rank; may be non-monotonic when the response uses another sort.

snapshotunknown required
callerCopyProfileIdstring nullable required
volumeUsdnumber required
accountValuenumber nullable required
totalProfitUsdnumber required
pnlSparklinenumber[]
roiPercentnumber nullable required
tradeWinRatenumber nullable required
avgWinPercentnumber nullable required
avgHoldTimeHoursnumber nullable required
sharpeRationumber nullable required
elonumber nullable
winsinteger required
lossesinteger required

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property ////// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property //// became nullable for the status

    • breaking

      the response property // became nullable for the status

    • info

      response property items/accountValue list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/avgHoldTimeHours list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/avgWinPercent list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/callerCopyProfile/anyOf[ActiveCopyProfile]/subWalletAddress list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/callerCopyProfileId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/aumUsd list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/copiedBy/users/items/x_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/elo list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/roiPercent list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/sharpeRatio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/tradeWinRate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property items/user/x_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property // to the response with the status