Recent comments in /f/InternetIsBeautiful

JanB1 t1_jcxez83 wrote

Reply to comment by jab136 in Line Rider on bank stocks by TiborUdvari

Monday 20.03. 09:00 MET: Swiss stock market opens, UBSG opens at 15.64

09:35 MET: Over 7 million shares have been traded already and over 5'000 trades have gone through. The value per share dropped by more than 14%, lowest price was at 14.38.

10:15 MET: Over 17 million shares traded, spread over more than 13'000 trades. The value per share has gone up to 15.64 again.

2

Buschandtar t1_jcvzx58 wrote

Reply to comment by aroc91 in Line Rider on bank stocks by TiborUdvari

Lol I remember in 2007 our 11th grade English class had to make a group video of us reenacting a play. We had 12 angry men and the 4 of us took turns reading lines in the same seat and one of the guys edited it together. It was total shit. Two days later he shows up to class and we play the video to find that he inserted an 8 minute line rider clip at the beginning of the video. Teacher wasn't pleased, but the class, and specifically our group, found it hilarious.

Edit: after thinking about this some more, I remembered we were eating Popeyes during the entire video

6

Tm1337 t1_jcvi2kc wrote

That doesn't make sense. If you already have the graph it's simple to somehow smooth it in javascript without any API call.

My first try would be a moving average, which is really simple to implement and adjust.

6

TiborUdvari OP t1_jcuynqp wrote

Reply to comment by moldy912 in Line Rider on bank stocks by TiborUdvari

Also thought about that next, but was worried that I might blow my API key limits. Set up a server to get the live data, caching etc. Crédit Suisse was crashing way faster that that. This way you can go ahead and get any stock ticket in the background. Just use the little 📈 button in the corner to activate the stock interaction.

3