Блог пользователя Nathan4

Автор Nathan4, 2 дня назад, По-английски

UPDATE: Thanks to everyone who enjoyed it! I might not be able to catch-up with your requests, so I made a simple tool that lets you draw your own trend lines! There are also some common patterns attached at the bottom.

Spoiler

What this post is not about:

  • New algorithms invented — I'm 10 years away from that.
  • Asking for improvement suggestions — I know how to google before asking.
  • Proposing new ways of spotting cheaters — I agree that this is not the place for it.

Now if you're still interested in this post, I hope you enjoy the tale!


It was a normal day. As usual, I decided to solve some 800-rated problems to keep my activity streak alive (right?). I opened Codeforces, saw a new contest announcement popping out on the home page, and was about to scroll down and check the score distribution. But then I noticed something unusual:

Prizes? I don't remember seeing titles like this.

I quickly scrolled to the bottom, wondering what the prizes will be. Socks again? One pair per each or one per each?

And then it came up.

"...will receive prizes in USDT cryptocurrency in the..."

This was the first time that I saw the concept of crypto being put into use. All the previous things I've heard about it were ones like "this is dangerous!" or "this is illegal in China!". These sayings made me believe that I should not touch it. (Looking back, there appears to be a huge information gap about crypto).

But Codeforces giving cryptocurrency as prizes? Oh no I have to look into that.

What's the first thing I did?

Spoiler

Different definitions showed up, so did the classical "google feature".

And obviously, you know which one I expanded:

Yes, the source was from an extremely untrustworthy site. Yes, it was a comment from four years ago. But I did not think about these potential errors when there's literally a line saying that you can make 10% profit monthly from crypto. 10% profit a month, when compounded into 12 months, means that you're tripling the money (to be exact, 1.1^12 = 3.14)!

Now I'm going to skip the "do your own research" part. But putting it briefly, I discovered that the mechanism behind crypto trading is similar to trading stocks (I am not suggesting you to trade cryptos, absolutely NOT). There are usually three ways of trading: fundamental analysis where you evaluate their values, building trading bots where you set up quant models and let the bot trade for you, and technical analysis where you simply look at the trends.

The last one sounds familiar — I have for so many times stared at my Codeforces rating trend and tried to predict its directions, how hard can cryptos be!

So I began learning about the basics of technical analysis, and one fundamental thing I learned is that there are different trend lines:

Usually, this means that if you observe an existing trend line going on, then when the price falls onto the line next time, it is likely going to follow the trend (this is not real — don't believe it!).

I was extremely overconfident back then, so I quickly created a trading account and tried out more advanced technical analysis trading strategies. Did I make a profit or lost? That's irrelevant to this post, let's move on...

After learning and using technical analysis for a while, trend lines pop into my head every time I see a time-based graph.

That applies for Codeforces too. Now when I go to Tourist's profile, here's what I see:

And here's what I see from Jiangly's profile:

And just like that, I encourage you to also predict your future rating.

Is this prediction method reliable? Absolutely not. But my intention of sharing this tale is not about promoting technical analysis on your rating trend. I think a really enjoyable aspect from Codeforces's forum is that people share fun stuffs. Any fun stuffs. And I hope that you enjoyed reading this blog!

If there really need to be one takeaway, then it's gonna be this: even the top 2 coders on this platform have their troughs (or else there will be no uptrend), but in the end, the slope of the line is positive (even tibinyte2006's trend line is going up)! The broader gain is what really matters.

Ending notes:

  • Please don't be like me and trust random sources! Survivorship bias happens everywhere, especially in crypto tradings.
  • Feel free to apply technical analysis to your rating graphs and share the results! If you want me to help you analyze them, just ask (.) in the comments and I can draw a figure for you (will try to fit some trend line models to your graph).
  • It's good to be back after two months :)
  • UPD: Just found out that there's a similar one four years ago.
  • If you liked this blog, feel free to check out https://nathanchen.me/ and add me on Discord.
Теги fun
  • Проголосовать: нравится
  • +165
  • Проголосовать: не нравится

»
2 дня назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится

Are you new stefdasca sir?

Predict mine please

Thanks

  • »
    »
    2 дня назад, # ^ |
      Проголосовать: нравится +4 Проголосовать: не нравится
    perfect uptrend
    • »
      »
      »
      2 дня назад, # ^ |
        Проголосовать: нравится +13 Проголосовать: не нравится

      Thanks sir

      I will write to you when gm

    • »
      »
      »
      2 дня назад, # ^ |
        Проголосовать: нравится 0 Проголосовать: не нравится
»
2 дня назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

Can you analyze mine please?

»
2 дня назад, # |
  Проголосовать: нравится +50 Проголосовать: не нравится

The tourist's rating chart is like Bitcoin in 2017—always going up, never crashing. Meanwhile, mine looks like the 2008 financial crisis.

»
2 дня назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

As the pioneer in this groundbreaking technique of predicting future ratings, I'm pleased to see more people embracing these methods

  • »
    »
    2 дня назад, # ^ |
      Проголосовать: нравится +20 Проголосовать: не нравится

    Just added your blog to the acknowledgements. Did not expect that I came across the same idea four years later. Thanks for telling!

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

predict mine please

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by Nathan4 (previous revision, new revision, compare).

»
2 дня назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Can you analyze mine please?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Analyze mine and then that of the rainboy.

  • »
    »
    2 дня назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится
    Spoiler

    You don't even need to use trend lines to predict rainboy's rating. An if-else on his current rating is enough.

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine pls?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Analyze mine pls

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you analyze mine please?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine please

»
2 дня назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Predict mine please. d(`・∀・)b

»
2 дня назад, # |
  Проголосовать: нравится +1 Проголосовать: не нравится

I find introduction of this blog really funny!

»
2 дня назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Analyze mine pls sirs

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you please predict mine too? Thanks

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

can you predict mine as well?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Do mine too!

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine please

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you analyze mine please?

»
2 дня назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится

my cf trend line doesn't need to be predicted

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thanks for the post, the backstory is fun!

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict me please?

»
2 дня назад, # |
  Проголосовать: нравится +23 Проголосовать: не нравится

Had a lot of fun drawing trends, but cannot catch-up with everyone -

so I just made a simple tool to let you fetch your rating and draw your predictions on your own! There's also a reference image at the bottom which covers some common technical analysis trends.

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by Nathan4 (previous revision, new revision, compare).

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Otherwordly please please

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can u predict mine pls?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

predict mine please

»
2 дня назад, # |
  Проголосовать: нравится +15 Проголосовать: не нравится

Can you analyse rainboy ?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hey, can you predict where my rating will go? TIA!

  • »
    »
    43 часа назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    seems like there's some downtrends but I hope you can break that!

    Spoiler
»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

predict mine please

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict my rating please?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

could you do for me as well?

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thank you for this thorogh post. Can you predict mine plz? I know I'm not that high in rating nor have I participated a lot in the past couple of months.. sorry about that :(

»
2 дня назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine?

»
46 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine please?

»
42 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Wow, a good post and Idea. I will like to know how to create a program to do trend analysis . Can u help me?

»
42 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

@nathan4 pls predict mine

  • »
    »
    35 часов назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    This may be a sideway trend,do practise instead of asking for prediction.

»
41 час назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Hi panda, can u predict me ?

»
41 час назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Do mine.

»
40 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you analyze mine as well?

»
40 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

analyse mine too, pls

»
40 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

can you predict mine?? :pleadingface:

»
40 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Predict mine, pls

»
39 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Predict mine, please Nathan4

»
39 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you analyze mine please?

»
38 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict me please? I'm a beginner.

»
38 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine please!!!

»
38 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Hi, could you be able to predict mine?) Nathan4

  • »
    »
    36 часов назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I guess he'll find a head and a shoulder and tell you that you should be careful.

»
38 часов назад, # |
Rev. 5   Проголосовать: нравится 0 Проголосовать: не нравится

Analyze mine tooo Please!!

»
36 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Please analyze and predict mine :) Nathan4

  • »
    »
    36 часов назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I guess he'll say this is a sideway trend or a slow growing trend,need a break out.

»
36 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

How many contests should I participate to make the prediction more precisely?

  • »
    »
    36 часов назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I've checked yours,it's a growing trend generally,just keep participating and try to make your performance stable.

    For your question,I can't know how many exactly,just when the current trend is visible.

»
36 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you analyze mine please?

»
35 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

mine please

»
33 часа назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

mine please :))

»
31 час назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

Thanks for your effort, I love what you did.

Predict mine pls ^⁠_⁠^ (I believe it's hard to predict cz I don't attend cf regularly so no enough data)

»
21 час назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine please?

»
20 часов назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится

Can you please predict how much more contest I need to participate to reach LGM, given that I will attend each available contest which start at least 1 hour before usual time?

If the answer is I can't reach LGM after all, output -1. Otherwise, print the answer modulo 998244353.

»
19 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Please predict mine, when can i become cm?

»
9 часов назад, # |
  Проголосовать: нравится -7 Проголосовать: не нравится

please downvote

»
8 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Please make a prediction for me :)

»
8 часов назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Can you predict mine pls?