AephiaMining - Budget: $200
    Updated 15 hours ago
    WITH token_prices AS (
    SELECT
    *

    FROM $query('21b1f230-5365-41ed-9d66-3f14153bec8b')

    )

    ,mining_txs_fees AS (
    SELECT
    sol_mine_txs

    FROM $query('e88bc49c-68a5-44dc-b6ce-c64275d58ecf')
    WHERE date = current_date-1
    )

    ,gecko_call_data as (
    select live.udf_api('https://api.coingecko.com/api/v3/nfts/star-atlas-crew')
    as response
    )

    ,gecko_flattened_data as (
    select * from
    gecko_call_data, lateral flatten(input => parse_json(response:data))
    )

    ,crew AS (
    SELECT
    case when key = 'floor_price' then value:usd end as fp_crew
    FROM gecko_flattened_data
    where fp_crew IS NOT NULL
    )

    ,LM_volumes AS (
    SELECT
    Last run: about 15 hours ago
    SYMBOL
    NAME
    BUDGET
    PRICE
    SHIPS
    FLEETS
    FLOOR_PRICE_CREW
    CREW
    RESSOURCE
    RICHNESS
    HARDNESS
    MR
    REVENUE
    AMMO_MINE
    FOOD_MINE
    FUEL_MINE
    FUEL_CARGO
    SOL_MINE
    SOL_CARGO
    NET_PROFIT
    PM
    ROI
    PM_LM
    ROI_LM
    1
    CALMAXCalico Maxhog20019.489.031
    2.67
    9.03HYG110.743168.552.8832.013.170145.860-65.42-38.82-15.23-38.82-15.23
    2
    FBLLOWFimbul Lowbie20022.28.041
    2.67
    8.04HYG110.743149.3247.0928.53.460162.90-92.63-62.03-21.56-62.03-21.56
    3
    OGKANROgrika Niruch20070.992.721
    2.67
    2.72HYG110.74350.5215.939.641.070162.90-139.02-275.18-32.36-275.18-32.36
    4
    CALMEDCalico Medtech2001051.811
    2.67
    3.62HYG112.504110.8235.816.423.2502410-175.66-158.51-40.88-158.51-40.88
    5
    PX6Pearce X620080.092.271
    2.67
    6.81HYG113.062168.3554.9711.936.140274.250-178.94-106.29-41.65-106.29-41.65
    6
    VZUSAMVZUS ambwe20096.921.911
    2.67
    5.73HYG112.979136.9645.0510.045.160295.680-218.97-159.88-50.96-159.88-50.96
    7
    TUFAFETufa Feist200772.431
    2.67
    4.86HYG113.062177.4158.858.617.680328.390-226.12-127.46-52.63-127.46-52.63
    8
    FBLBEAFimbul BYOS Earp20078.222.391
    2.67
    4.78HYG113.062174.4957.888.478.30328.390-228.55-130.98-53.19-130.98-53.19
    9
    PX4Pearce X4200335.31
    2.67
    35.3HYG110.32268.6489.460.4111.450337.20-229.82-85.55-53.49-85.55-53.49
    10
    OGKAMKOgrika Mik20083.632.251
    2.67
    4.5HYG113.062164.2754.497.987.460328.390-234.05-142.48-54.47-142.48-54.47
    11
    CHIRainbow Chi20092.292.111
    2.67
    2.11HYG113.062154.0551.13.616.330328.390-235.38-152.79-54.78-152.79-54.78
    12
    THRILLBusan Thrill of Life200991.921
    2.67
    3.84HYG113.062140.1846.56.816.370328.390-247.89-176.84-57.7-176.84-57.7
    13
    PX5Pearce X520018.858.271
    2.67
    16.54HYG110.99193.265.4529.329.40363.740-274.71-142.19-63.94-142.19-63.94
    14
    OPALJJOpal Jetjet20015.999.381
    2.67
    18.76HYG110.81178.4359.3933.2512.860379.920-306.99-172.05-71.45-172.05-71.45
    15
    OPALJOpal Jet2002.0442.461
    2.67
    42.46HYG110.262258.187.3772.6621.480420.760-344.17-133.35-80.1-133.35-80.1
    16
    FBLAIRFimbul Airbike2002.2840.391
    2.67
    40.39HYG110.262245.5183.1169.1220.430420.760-347.91-141.71-80.98-141.71-80.98
    17
    OGKARUOgrika Ruch2002.5138.631
    2.67
    38.63HYG110.262234.8179.4966.1119.540420.760-351.09-149.52-81.72-149.52-81.72
    18
    VZUSSOVZUS solos2002.5838.121
    2.67
    38.12HYG110.262231.7178.4465.2319.290420.760-352.01-151.92-81.93-151.92-81.93
    19
    CALSCDCalico Scud20082.992.331
    2.67
    2.33HYG110.8144.3214.753.993.190379.920-357.53-806.7-83.21-806.7-83.21
    20
    OGKANROgrika Niruch20070.992.111
    2.67
    2.11IRON ORE120.371549.4412.367.480.4218.4983.26285.47-358.04-724.19-83.33-94.71-12.38
    ...
    360
    54KB
    288s