[ENG/ITA] SplinterRoi: Now You Can Choose Between Long, Medium and Short Rentals

La versione italiana si trova sotto quella inglese

The italian version is under the english one

SplinterRoi: Now You Can Choose Between Long, Medium and Short Rentals

Every time I have a bit of free time, I like to try and add some small improvement to SplinterROI, the small and simple site I created to track the ROI generated by Splinterlands cards on the rental market.

Thanks also to the scarcity of the two current sets, Rebellion and Conclave Arcana, renting out my cards has once again become, at least for me, quite profitable. It’s also a good incentive to keep growing my collection, so I can generate an increasingly significant passive income.

That’s why I want to make SplinterROI a more complete and informative tool, so I can more quickly and accurately identify my next "must-buy" cards.

And among the pieces of information I wanted to be able to easily view and analyze, there was one that had been missing until now: the duration of each rental.

For several months now, in fact, it has only been possible to rent out cards on Splinterlands for periods of time corresponding to at least the remaining duration of the current Season, with a minimum length of 8 days — or at least that’s the lowest value I’ve been able to identify, feel free to correct me if I’m wrong.

On average, then, rentals tend to last between 15/16 days and 8 days.

It’s also possible to rent a card for longer periods, although rentals like this are a bit rarer.

So what I wanted to add to SplinterROI is a filter that allows you to choose the length of the rentals being analyzed, selecting between long, medium, or short rentals:



This way, it becomes possible to separate results based on this parameter—for example, to discover the price at which certain cards are rented for very long periods, or how many cards were rented only for the final part of the season.


Long, Medium, Short

These three options refer, as mentioned above, to the period (measured in days) for which a card was rented:

  • long for time periods equal to or greater than 14 days;
  • medium for time periods between 13 and 11 days;
  • short for time periods equal to or less than 10 days.

Here’s the portion of code that handles this categorization:

def get_rental_prices(values):
    long_rental_prices = []
    medium_rental_prices = []
    short_rental_prices = []

    for value in values:
        if value["rental_days"] >= 14:
            long_rental_prices.append(value["rental_price"])
        elif 14 > value["rental_days"] >= 11:
            medium_rental_prices.append(value["rental_price"])
        else:
            short_rental_prices.append(value["rental_price"])

    long_rental_price = (
        round(np.percentile(long_rental_prices, 70), 3) if long_rental_prices else 0
    )
    medium_rental_price = (
        round(np.percentile(medium_rental_prices, 70), 3) if medium_rental_prices else 0
    )
    short_rental_price = (
        round(np.percentile(short_rental_prices, 70), 3) if short_rental_prices else 0
    )

    return [
        [long_rental_price, len(long_rental_prices)],
        [medium_rental_price, len(medium_rental_prices)],
        [short_rental_price, len(short_rental_prices)]
    ]

It also contains the logic for calculating the average rental price, which the more attentive will notice is not a true average, but a 70th percentile—in other words, a value that is, in some sense, typically a bit higher than the average.

That’s because my goal is, if possible, to rent out my cards at market prices, but as high as possible.

And the ability to filter by rental period fits exactly into this logic: now it’s easy to understand whether a price allows a card to be rented from the very beginning of the Season, or if it’s more likely to be rented only toward the end.

As always, here is the updated repo of the project:

And here are the previous posts I’ve published about SplinterROI:


images owned by @splinterlands and/or their respective owners; cover edited with GIMP

to support the #OliodiBalena community, @balaenoptera is 3% beneficiary of this post

If you've read this far, thank you! If you want to leave an upvote, a reblog, a follow, a comment... well, any sign of life is really much appreciated!

If you are not registered on Splinterlands ... well, you are still in time to do the right thing.

And if you want to find out how much each card in Splinterlands yields on the rental market, you can now do so via SplinterROI.

drawing made by @ahmadmanga

Versione italiana

Italian version

SplinterRoi: Ora Puoi Scegliere fra Noleggi Lunghi, Medi o Brevi

Ogni volta che ho un po' di tempo libero mi piace provare ad aggiungere qualche piccolo miglioramento a SplinterROI, il piccolo e semplice sito che ho creato per tenere traccia del ROI generato dalle carte di Splinterlands sul mercato dei noleggi.

Grazie anche alla maggior scarsità dei due set attuali, Rebellion e Conclave Arcana, noleggiare le proprie carte è diventano nuovamente, almeno per me, abbastanza remunerativo, oltre ad essere uno stimolo per cercare di accrescere la mia collezione, così da poter generare una rendita passiva sempre più importante.

Per questo voglio rendere SplinterROI un tool sempre più completo e ricco di informazioni, così da poter identificare in maniera più veloce e precisa i miei prossimi "must-buy".

E tra le informazioni che volevo poter vedere e valutare con comodità ce n'era una che finora mancava: la durata di ciascun noleggio.

Da vari mesi, infatti, su Splinterlands è possibile noleggiare le proprie carte solo per periodi di tempo corrispondenti almeno alla durata residua della Stagione corrente, con una lunghezza minima pari ad 8 giorni - o almeno questo è il valore minimo che sono riuscito ad identificare, qualcuno mi corregga se sbaglio.

Di media quindi i noleggi tendono ad avere una durata che varia da 15/16 giorni ad 8.

E' inoltre possibile noleggiare una carta per un periodo anche più lungo, anche se noleggi di questo tipo sono un po' più rari.

Quello che io quindi ho voluto aggiungere a SplinterROI è un filtro che consenta di scegliere la lunghezza dei noleggi presi in esame, scegliendo tra noleggi lunghi, medi o brevi:



In questo modo è possibile distinguere i risultati a seconda di questo parametro, scoprendo, ad esempio, a quale prezzo certe carte vengono noleggiate per periodi di tempo molto lunghi, oppure quante carte sono state noleggiate solo per la parte finale della stagione.


Lungo, medio, breve

Queste tre voci si riferiscono, come ho scritto sopra, al periodo (misurato in giorni) per il quale una carta è stata noleggiata:

  • lungo equivale a periodi di tempo pari o superiori a 14 giorni;
  • medio a periodi di tempo compresi tra 13 ed 11 giorni;
  • breve a periodi tempo pari o inferiori a 10 giorni.

Questa è la parte di codice che si occupa di gestire questa suddivisione:

def get_rental_prices(values):
    long_rental_prices = []
    medium_rental_prices = []
    short_rental_prices = []

    for value in values:
        if value["rental_days"] >= 14:
            long_rental_prices.append(value["rental_price"])
        elif 14 > value["rental_days"] >= 11:
            medium_rental_prices.append(value["rental_price"])
        else:
            short_rental_prices.append(value["rental_price"])

    long_rental_price = (
        round(np.percentile(long_rental_prices, 70), 3) if long_rental_prices else 0
    )
    medium_rental_price = (
        round(np.percentile(medium_rental_prices, 70), 3) if medium_rental_prices else 0
    )
    short_rental_price = (
        round(np.percentile(short_rental_prices, 70), 3) if short_rental_prices else 0
    )

    return [
        [long_rental_price, len(long_rental_prices)],
        [medium_rental_price, len(medium_rental_prices)],
        [short_rental_price, len(short_rental_prices)]
    ]

Al suo interno si trova anche la logica che gestisce il calcolo del prezzo medio di noleggio, che i più attenti noteranno non essere un vero e proprio prezzo medio, ma un 70° percentile, per cui un valore, in un certo senso, tendenzialmente un po' più alto di quello medio.

Questo perchè il mio obiettivo è, se possibile, noleggiare le mie carte a prezzi sì di mercato, ma il più alti possibile.

E la possibilità di filtrare per periodo di noleggio si inserisce proprio in questa ottica: adesso infatti è facile capire se un prezzo consente di noleggiare una carta fin dall'inizio della Stagione, oppure se ha più chances solo nella sua parte finale.

Come sempre, qui la repo aggiornata del progetto:

Mentre questi sono i precedenti post che ho pubblicato su SplinterROI:


immagini di proprietà di @splinterlands e dei rispettivi proprietari; cover da me editata con GIMP

a supporto della community #OliodiBalena, il 3% delle ricompense di questo post va a @balaenoptera

Se sei arrivato a leggere fin qui, grazie! Se hai voglia di lasciare un upvote, un reblog, un follow, un commento... be', un qualsiasi segnale di vita, in realtà, è molto apprezzato!

Se non sei registrato su Splinterlands... be', sei in tempo per rimediare.

E se vuoi scoprire quanto rende sul mercato dei noleggi ciascuna carta presente su Splinterlands, adesso puoi farlo tramite il sito SplinterROI.



disegno realizzato da @ahmadmanga
0.31069212 BEE
8 comments

Sempre più utile questo tuo tool!
Bravo!
!hiqvote
!PIMP
!BEER

@tipu curate 2

5.3E-7 BEE
0E-8 BEE

Con i noleggi ho finalmente trovato la mia strada su SPL. E poter unire questo a Python è incredibilmente divertente! Ci sono ancora alcune cose da rifinire, ma già così sto notando nei miglioramenti niente male e questo mi fa davvero sperare che, chissà, magari anche su Splinterlands riuscirò a crescere un po' adesso? :)

!LOL !PIZZA !LUV

0E-8 BEE

What do you do with a car whose wheels are completely worn out?
You re-tire it.

Credit: reddit
@libertycrypto27, I sent you an $LOLZ on behalf of arc7icwolf

(1/10)
NEW: Join LOLZ's Daily Earn and Burn Contest and win $LOLZ

0E-8 BEE

i rent sono solo stagionali, però è vero che verso le fine della season schizzano alle stelle i prezzi, in effetti è una cosa utile avere un roi per durata del rent

5.3E-7 BEE

Esatto, perchè alle volte guardando certi prezzi sul mercato si è un po' fuorviati, perchè sembra che certe carte vengano noleggiate a prezzi assurdi... solo che se poi vai a controllare salta fuori che magari non c'è nemmeno una carta noleggiata a quel prezzo. Così si riesce adesso ad avere una visione d'insieme molto più corretta e veritiera!

8E-8 BEE

Thanks for investing your time in this tool wolf, It will surely be very helpful for players who want to battle with rented cards and want to generate good ROI. Thanks for helping the community, keep sharing and growing.

5.1E-7 BEE

Many thanks Mango! It's a pleasure to work on this tool: I really love the ability to find the best rentable cards in seconds and I'd like to develope and improve that site even more. It will never compete with those made by those skilled coders, but I hope to make at least as much useful as I can :)

0E-8 BEE

This post has been supported by @Splinterboost with a 5% upvote! Delagate HP to Splinterboost to Earn Daily HIVE rewards for supporting the @Splinterlands community!

Delegate HP | Join Discord

0E-8 BEE

Congratulations @arc7icwolf! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You made more than 10000 comments.
Your next target is to reach 11000 comments.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

0E-8 BEE

Hey @arc7icwolf, here is a little bit of BEER from @libertycrypto27 for you. Enjoy it!

If you like BEER and want to support us please consider voting @louis.witness on HIVE and on HIVE Engine.

0E-8 BEE

Thanks for sharing! - @mango-juice

0E-8 BEE

PIZZA!

$PIZZA slices delivered:
@arc7icwolf(1/10) tipped @libertycrypto27

Come get MOONed!

0E-8 BEE