LordkingPrice & other daily parameters
    Updated 2025-04-13





    -- hint:
    -- to use this query for other tokens, you should notice to two major points:
    -- 1- just replace (token contract) address with existing one.
    -- 2- take a look at (round) functions and be careful about them
    -- 3- somewhere, the lable of tokens like (Neko) were used. please kindly change the symbol
    -- pool_id


    with

    token_bonk as (
    select * from
    ( values
    ( '24', 'Neko', 'ftv2.nekotoken.near'),
    ( '6', 'USDC.e', 'a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.factory.bridge.near'),
    ( '24', 'wNEAR', 'wrap.near'),
    ( '6', 'USDT.e', 'dac17f958d2ee523a2206206994597c13d831ec7.factory.bridge.near'),
    ( '24', 'blackdragon', 'blackdragon.tkn.near'),
    ( '18', 'REF', 'token.v2.ref-finance.near'),
    ( '24', 'LiNEAR', 'linear-protocol.near'),
    ( '8', 'LONK', 'token.lonkingnearbackto2024.near'),
    ( '18', 'DAI', '6b175474e89094c44da98b954eedeac495271d0f.factory.bridge.near'),
    ( '18', 'Woo', '4691937a7508860f876c9c0a2a617e7d9e945d4b.factory.bridge.near'),
    ( '6', 'USDT', 'usdt.tether-token.near'),
    ( '6', 'USDC', '17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1'),
    ( '18', 'OCT', 'f5cfbc74057c610c8ef151a439252680ac68c6dc.factory.bridge.near'),
    ( '18', 'Aurora', 'aaaaaa20d9e0e2461697782ef11675f668207961.factory.bridge.near'),
    ( '18', 'SWEAT', 'token.sweat'),
    ( '18', 'BRRR', 'token.burrow.near'),
    ( '8', 'WBTC', '2260fac5e5542a773aa44fbcfedf7c193bc2c599.factory.bridge.near'),
    Last run: 16 days ago
    date
    average_price
    50_moving_avg
    200_moving_avg
    closing_price
    opening_price
    daily_change_percentage
    swaps
    inner_swaps
    swappers
    USD
    1
    2022-05-16 00:00:00.0000.079411192230.078585211970.078887387330.084792063640.0789419450511.1211823434444301779.553
    2
    2022-06-03 00:00:00.0000.066896305070.070024071590.071611327660.065158981530.07344790408-9.281277866131312517.382
    3
    2022-07-14 00:00:00.0000.028386465980.030733978250.0328575880.029162304530.027403143627.55873230944422.028
    4
    2024-02-26 00:00:00.0000.15919814810.14683499880.1406459020.17063434820.148896599114.1802480291982461271961.812
    5
    2024-07-16 00:00:00.0000.13696039350.12993303130.11836426340.14342841010.13079578476.1976617869099661964.848
    6
    2025-01-02 00:00:00.0000.25583702550.24327077270.25331153190.2480610630.2586635477-3.1246101122993211972497.879
    7
    2025-02-21 00:00:00.0000.17076401260.163829980.17308503540.16641038080.1666460243-5.7375083671481551021172.57
    8
    2025-04-13 00:00:00.0000.12304066130.11812090740.11793747830.12465571770.1271457715-2.442461953565744302.518
    9
    2025-02-25 00:00:00.0000.14574794280.16110652460.16814679050.15319490720.15260698313.1761716791501531051495.559
    10
    2025-03-14 00:00:00.0000.14029163290.13600460860.149315160.14188290040.13467021021.0859110351331371011198.905
    11
    2025-04-06 00:00:00.0000.13085421130.1198760520.13274795720.12243507120.1191185877.5227219121621731101364.226
    12
    2024-07-02 00:00:00.0000.14074739610.13391095830.12734989290.14753436510.13422601494.388161964119137764596.692
    13
    2023-02-25 00:00:00.0000.0051175786120.0055507457160.0055691386380.0051199633050.005118669970.040466438684434.41
    14
    2023-03-26 00:00:00.0000.0038628024420.0041835987530.0054356312980.0038628024420.0038628024420.49421951111110.738
    15
    2022-06-07 00:00:00.0000.06118645270.066216350980.069392107830.061008310320.06383443772-4.35978924131312278.645
    16
    2022-12-24 00:00:00.0000.0046933392190.005555324610.0067661789630.0046816049660.0047177800043.3315839834445.277
    17
    2023-11-28 00:00:00.0000.0016557250510.0015744230260.0014032856430.0016240873680.001687362734-2.1620168732220.079
    18
    2022-07-31 00:00:00.0000.031822259870.031128977360.031616703040.03052680270.03207133506-2.78921098511111146.788
    19
    2023-01-30 00:00:00.0000.0061047965370.0064483327490.0057043426480.0058065832730.006403009801-12.877314729222202.983
    20
    2023-09-14 00:00:00.0000.00096282263940.0013919067390.0021330321830.00096282263940.0009628226394-4.5372370091110.714
    ...
    992
    122KB
    15s