This alone makes it an extremely strong contender for much of quant trading.While in the past Windows had a reputation for crashing intermittently (e.g. Microsoft WindowsI am going to assume for the purposes of this article that nearly all, if not all, readers are completely familiar with Windows so I don't feel I need to explain what it is here, unlike the other two operating systems considered below! Why Is It Advantageous For Quant Trading?Windows is generally easily available (most new computers come with it as the default operating system) and much of the retail quant trading GUI-based software has been written solely for Windows. I would like to argue that for the majority of more complex Python-oriented scientific/quantitative research that learning Ubuntu/Linux and the CLI will pay immense dividends over your quant career.Let's now take a look at the three major operating systems that are likely to be used within quant trading research. It is the most straightforward way to avoid problems with the bleeding-edge libraries that are required to carry out this form of research.However, Ubuntu/Linux is likely to be unfamiliar to many of you since Windows is still the de facto choice of operating system both at home and in the modern office environment.Given that your likely goal is to spend as much time as possible researching and developing quantitative trading strategies, rather than reading through stacks of programming books, is it worth your while to learn a brand new operating system and associated command line interface (CLI)?Clearly this will depend upon your circumstances, preferred method of trading research, coding language of choice and complexity of your models. With this, many financial services are in demand today.On an Intel-based Mac, however, users can still run a host of virtual machines, including Windows support all the way back to XP and Windows 2000, and macOS all The short answer, as of the writing date of this article, is if you want to carry out any serious/mathematical quant trading research (machine learning/deep learning) you should make use of Ubuntu 16.04 LTS Linux, with a desktop version on a local research machine and the server version on a live trading VPS or equivalent.
Or Windows For Finance Mac OS XMac OSWhy Is It Advantageous For Quant Trading?Its advantage lies primarily in the fact that it has both a comfortable GUI and powerful CLI, similar to Ubuntu. This means that it actually has a "best of both worlds" approach to both a GUI and CLI.It provides an extremely intuitive gesture-based GUI but is also extremely popular with software developers as it has Linux-like capabilities built in.I have personally used a MacBook Air for a number of years for Python development although I have since gravitated more towards Ubuntu Desktop for the majority of my Python 3 quant trading development. It is actually a heavily modified version of a Unix distribution known as BSD. Apple Mac OS XMac OS X is the operating system found on Apple's line-up of Macs. However, once you get to this stage I feel it is worth just "starting over" and installing Ubuntu, rather than trying to replicate Linux within Windows.A minor point these days is that Windows is also rather resource-hungry and so if absolute execution speed is required, Windows can be a little slower than an equivalent Linux system (particularly when it comes to server editions). This usually means installing a tool like Cygwin.Instead a model will need to be ported to a Linux server distribution (such as Ubuntu Server).This is a non-trivial problem as differences in packages and deployment approaches can lead to catastrophic production errors that can take a strategy/portfolio offline. It is currently sitting at 91 days of uptime as I write this article! What Are Its Pitfalls?Perhaps the major disadvantage of Mac OS X is that due to Apple's consumer-facing business model there is no equivalent server environment that a quant trading model can be easily deployed to. To provide a personal anecdote, I once went 251 days without a proper reboot of my MacBook Air. For certain users this can be a "dealbreaker" requirement.Mac systems also have a reputation for being extremely reliable and stable.![]() Its philosophy is based around a hierarchical interaction of many different components, open and freely available code, a mixture of graphical and command line interfaces, as well as the ability to allow the user to perform powerful, complex operations with scripts.In addition there are multiple distributions of Linux that all mix and match components differently. For nearly all day-to-day use cases this is the perfect approach and is largely why Windows, and Microsoft, has seen so much historical success.The Linux ecosystem is structured rather differently. Ubuntu/LinuxMicrosoft Windows has a philosophy of vertical integration of all components, rapid ease-of-use, graphical interface and abstracting away complexity for the user. It is often much simpler to build a desktop machine from scratch and put Ubuntu on it for this purpose. Hence you are paying more for the Apple "brand" than raw computational power.It is also likely that for the specific use case of DL-based work on GPUs, a Mac can be troublesome to try and configure. However this then motivates the question as to why a Mac is being used in the first place, rather than a local machine that uses Linux!Indeed, for a particular absolute dollar amount a Mac laptop/desktop is usually less powerful than an equivalent machine by another manufacturer, e.g. Watch dogs 2 free download for androidHaving an extremely powerful CLI and scripting engine allows sophisticated automation of processes including data management, backtest engine development, broker interactivity and general research ability.It is also the "only game in town" if you wish to operate at the bleeding edge of quantitative finance modelling with advanced ML/DL libraries. Why Is It Advantageous For Quant Trading?The primary advantage of Ubuntu/Linux lies in its CLI capability. This makes it easier to transition from Windows or Mac for normal desktop use. It has evolved to provide an almost "out of the box" solution for basic word processing, spreadsheet and general "office" tasks. Ubuntu was originally built on top of another powerful Linux distribution known as Debian, but has since taken a different direction.In addition to this, over a number of years, Ubuntu has become easier to install and try out. Linux very much has a "tinker under the hood" philosophy and this can be highly interesting, or extremely tiresome, depending upon your goals.In addition to this Linux is not very forgiving when it comes to errors. These are skills that can be learnt relatively quickly, but true mastery can take years. What Are The Pitfalls?The biggest problem in using Ubuntu/Linux is that most of the power comes through extensive use of both the command line interface and scripting. All the power of version control and continuous integration is easily available within a Linux/CLI environment.It's no accident that the majority of the top quant hedge funds almost exclusively use Linux and custom-developed environments for both research and development.For those who wish to get into heavily quantitative or ML/DL based trading research I would highly recommend usage of Ubuntu Linux as your operating system. In fact, anecdotally, these libraries are very difficult to get working with GPUs on Windows and so Ubuntu is the only realistic choice.Using Linux makes it extremely straightforward to provide a sophisticated software development overlay to a quant trading model deployment process.
0 Comments
Leave a Reply. |
AuthorJeff ArchivesCategories |