People say that you’re always smarter with the benefit of hindsight; of course, this also applies to stock market trading. Based on the ups and downs in the historical performance of a stock, it seems as clear as the light of day when an investor should have bought or sold stocks in order to leverage upswings and reap huge profits.
It goes without saying that it is infinitely more difficult to speculate successfully with stocks whose price development is still unknown. Chemistry wizard Niels Bohr once quipped that forecasts are generally difficult, especially those concerning the future.
Random Fools
I recently stumbled across a book titled Fooled by Randomness [1] and read about a theory stating that most successful stock market speculators were simply lucky. This may sound unlikely to the average person, but it does seem plausible given the tiny proportion of successful speculators. Be that as it may, one section of the book made me sit up and take notice. In this section, author Nassim Nicholas Taleb mentions that he had commissioned a software company to write a “backtester,” a program that is familiar with the historical price data of interesting stocks and that checks trading strategies packaged into algorithms to see whether the strategies would have succeeded in a historical context.
How difficult could it be to write something like this in Go? For some sample data, I’ll take the price performance of Netflix stock (NASDAQ: NFLX) over the past two years (Figure 1). After a huge price slump from $600 (January 2022) to $180 (April 2022), Netflix stock slowly came back and as of recently has fully recovered.
Strategy or Random Walk
Bu hikaye Linux Magazine dergisinin #285/August 2024: Kernel Exploits sayısından alınmıştır.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber ? Giriş Yap
Bu hikaye Linux Magazine dergisinin #285/August 2024: Kernel Exploits sayısından alınmıştır.
Start your 7-day Magzter GOLD free trial to access thousands of curated premium stories, and 9,000+ magazines and newspapers.
Already a subscriber? Giriş Yap
MADDOG'S DOGHOUSE
The stakeholder approach of open source broadens the pool of who can access, influence, and benefit from information technologies.
MakerSpace
Rust, a potential successor to C/C++, claims to solve some memory safety issues while maintaining high performance. We look at Rust on embedded systems, where memory safety, concurrency, and security are equally important
In Harmony
Using the Go Interface mechanism, Mike demonstrates its practical application with a refresh program for local copies of Git repositories.
Monkey Business
Even small changes in a web page can improve the browsing experience. Your preferred web browser provides all the tools you need to inject JavaScript to adapt the page. You just need a browser with its debugging tools, some knowledge of scripting, and the browser extension Tampermonkey.
Smarter Navigation
Zoxide, a modern version of cd, lets you navigate long directory paths with less typing.
Through the Back Door
Cybercriminals are increasingly discovering Linux and adapting malware previously designed for Windows systems. We take you inside the Linux version of a famous Windows ransomware tool.
Page Pulse
Do you want to be alerted when a product is back in stock on your favorite online store? Do you want to know when a website without an RSS feed gets an update? With changedetection.io, you can stay up-to-date on website changes.
Arco Linux
ArcoLinux, an Arch derivative, offers easier installs while educating users about Arch Linux along the way.
Ghost Coder
Artificial intelligence is increasingly supporting programmers in their daily work. How effective are these tools? What are the dangers? And how can you benefit from Al-assisted development today?
Zack's Kernel News
Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.