Get my trading stats
curl --request GET \
--url https://api.lamarge.trade/v1/me/stats \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"maker": {
"fills": 1,
"marked_fills": 1,
"volume_usd": "<string>",
"pnl_usd": "<string>",
"pnl_bps": "<string>",
"pairs": [
{
"from": "<string>",
"to": "<string>",
"fills": 1,
"delivered": "<string>",
"pnl_usd": "<string>",
"pnl_bps": "<string>"
}
],
"daily": [
{
"day": "2023-12-25",
"fills": 2,
"pnl_usd": "<string>",
"cumulative_usd": "<string>"
}
]
},
"assets": [
{
"venue": "<string>",
"chain_id": 123,
"token": "<string>",
"symbol": "<string>",
"decimals": 1,
"volume_30d": "<string>",
"taker_volume_30d": "<string>",
"maker_volume_30d": "<string>",
"trades_30d": 1
}
],
"trades_30d": 1
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Account
Get my trading stats
Settled output volume of the last 30 days per venue, Lighter and Aster included, and what the user’s orders received and delivered since the first fill (maker results). Fees are zero.
GET
/
v1
/
me
/
stats
Get my trading stats
curl --request GET \
--url https://api.lamarge.trade/v1/me/stats \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me/stats', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me/stats"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"maker": {
"fills": 1,
"marked_fills": 1,
"volume_usd": "<string>",
"pnl_usd": "<string>",
"pnl_bps": "<string>",
"pairs": [
{
"from": "<string>",
"to": "<string>",
"fills": 1,
"delivered": "<string>",
"pnl_usd": "<string>",
"pnl_bps": "<string>"
}
],
"daily": [
{
"day": "2023-12-25",
"fills": 2,
"pnl_usd": "<string>",
"cumulative_usd": "<string>"
}
]
},
"assets": [
{
"venue": "<string>",
"chain_id": 123,
"token": "<string>",
"symbol": "<string>",
"decimals": 1,
"volume_30d": "<string>",
"taker_volume_30d": "<string>",
"maker_volume_30d": "<string>",
"trades_30d": 1
}
],
"trades_30d": 1
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true,
"reason": "<string>",
"venue": "<string>",
"step": "permit"
}
}Authorizations
Response
The stats.
What the user's orders received less what they delivered (maker results); a fill taken under a set not compiled from recorded lines values each token at 1 USD.
Show child attributes
Show child attributes