@apollox-financeยท7 charts
/*
APX
OpenBlock-Perps-List of LPs
QUERY : https://dune.com/queries/3706186
Metrics Definition :
timestamp : block time ,aggregated to day
pool_address : trading pair address should NOT related to the lp_address
lp_address : Our user can use several token(s) to buy ALP token ,which act as the counterparty to the traders.
token0_amount : Not applicable
token1_amount : Not applicable
tvl_usd : Total value locked USD , using the last price on that day.
Implementation Notes :
- Trades Records are based on Materialized VIEW (which refresh every 1 hours) , Hence, Please notes that there may have 1 hour lag of data refreshness
- Result is order by timestamp DESC
*/
/*
APX
OpenBlock-Perps-TVL, Open Interest, Volume, Fees, Incentives [Protocol Level]
QUERY : https://dune.com/queries/3705993
Metrics Definition :
timestamp : aggragated to day level (e.g 2024-01-01)
tvl_usd : total value locked
oi_usd : Open interest at the end of each day
volume_usd : trading volume in USD
fees_usd : fee in term of USD. There are 3 types of fee, including open trade fee , execution fee (which only happens in opening trade), and close trade fee.
incentive_usd : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment
Implementation Notes :
- Trades Records are based on Materialized VIEW (which refresh every 1 hours) , Hence, Please notes that there may have 1 hour lag of data refreshness
- Result is order by timestamp DESC
*/
/*
APX
OpenBlock-General-User Incentive Claim Data
QUERY : https://dune.com/queries/3705745
Metrics Definition :
timestamp : should be block time, NO aggregation. Hence, the dataset should be in transaction level
user_address : receiptent of the claim
claimed_arb_amount : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment.
claimed_arb_usd : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment.
other_incentive_usd : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment.
Implementation Notes :
- !!!NOT launched YET!!!!
*/
/*
APX
OpenBlock-Perps-List of Pools
QUERY : https://dune.com/queries/3705766
Metrics Definition :
token0_address : Token/ Trading pair address ( same as pool address)
token0_symbol : Trading pair Symbol, the symbol we displayed in our platform
token1_address : Not applicable , default 0x String
token1_symbol : Not applicable , empty String
fee_rate : ARB fee rate for both Open and Close trade is 0.05% .
pool_address : Token/ Trading pair address
Implementation Notes :
- Not able to get the data in Dune itself
- Data in here is simply created in Query ( hence, you can think that it requires manual change if there is any changes in setting)
-
*/
/*
APX
OpenBlock-Perps-TVL, Open Interest, Volume, Fees, Incentives [Pool Level]
QUERY : https://dune.com/queries/3705926
Metrics Definition :
timestamp : aggragated to day level (e.g 2024-01-01)
tvl_usd : total value locked
oi_usd : Open interest at the end of each day
volume_usd : trading volume in USD
fees_usd : fee in term of USD. There are 3 types of fee, including open trade fee , execution fee (which only happens in opening trade), and close trade fee.
incentive_usd : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment
Implementation Notes :
- Trades Records are based on Materialized VIEW (which refresh every 1 hours) , Hence, Please notes that there may have 1 hour lag of data refreshness
- Result is order by timestamp DESC
*/
/*
APX
OpenBlock-Perps-List of Trades
QUERY : https://dune.com/queries/3706125
Metrics Definition :
timestamp : block time ,NO aggregation
pool_address : trading pair address
trader_address : trader address
swap_amount_usd : trade amount usd
Implementation Notes :
- Trades Records are based on Materialized VIEW (which refresh every 1 hours) , Hence, Please notes that there may have 1 hour lag of data refreshness
- Result is order by timestamp DESC
*/
/*
APX
OpenBlock-General-DAU, Transactions, Transaction Fees, Incentives
QUERY : https://dune.com/queries/3705655
Metrics Definition :
timestamp : block time is aggregated to Date (e.g 2024-01-01) , hence , this dataset is grouped by Date
dau : daily active users, unique address (trader) count
tx_count : total transaction (open & close trade) count
tx_fee : fee in term of number of ETH. There are 3 types of fee, including open trade fee , execution fee (which only happens in opening trade), and close trade fee.
incentive_usd : campaign NOT launch yet ! Hence, it is hard code to 0 at the moment.
Implementation Notes :
- The query depends on the log event
- Trades Records are based on Marterialized VIEW (which refresh every 1 hours) , Hence, Please notes that there may have 1 hour lag of data refreshness
- Result is order by timestamp DESC
*/
APX Perps Description (as of 10 May 2024)
Utilizing a fully on-chain liquidity model, APX V2 On-Chain Perp achieves more transparent trades with minimal slippage. The ALP pool provides liquidity for all V2 trading pairs to maximize capital efficiency.
ALP pool is the direct counterparty of V2 on-chain perp traders
ALP pool (Liquidity Pool)
DAI
ETH
USDC.e
BTC
USDT
Trading Pair
BTCUSD
ETHUSD
ARBUSD
XRPUSD
RDNTUSD
GMXUSD
DOGEUSD
Collateral for Trading
DAI
ETH
USDC.e
USDT
Workflow :
To be the counterparty, using the list of token(s) for minting ALP token.
To be a trader, using the Collateral for trading the listed trading pairs.