As said, I get open source solutions can be a real pain. So let’s try more with NOSQL open source solutions. Remember I am using Swift 3 with Xcode which makes it tougher to work with older Swift code. It seems the Swift code converter is useless for us newbies. Remember this is experimental at this point for me. I would also like to add these tutorial also include exposing myself to newer technologies like Docker and REST protocol. Let’s get this done.
Why all in for Apple Swift for algo trading system?
It looks like I am all in for Apple’s Swift Open source language. After going through a recently chosen book, I did not realize:
It is compiled with comparable performance to Java and getting close to C
Able to deploy onto desktop (Mac), mobile (Ipad/Iphone), TV, and watch. I envisioned Microsoft would be here by now but nope, they flopped in many ways
Language seems to have syntax like Java C# and even some functional as well
Added extra layers of security via Apple Operating Systems
Open source libraries to help in getting a algo trading system up and running fairly quickly
The last one is critical which I will start testing. I know this is not a popular language choice for you but when you see stories like this:
It only proves my theory about crappy Android and Windows when dealing with your live money and software. You choose which way you go, but I want to mitigate all risks wherever I can. To me, this is not a popularity contest you know. Do realize I have no interest in releasing my source code apps nor showing how it is done.
Knowing what we know, it looks like I have a number of items to consider:
Charting for financial with other related libraries:
Problem with 3rd party charting is limitation of only IOS with no option to Mac OS or other platform. The expensive licensing and expectation of annual is prohibitive at this point as compared to other open source solutions.
Open source:
https://github.com/Zewo/Redis
I am not prepared to hack this version from Swift 2 to 3
Use this is a reference for learning NOSQL with Swift
You might be interested by this website http://benchmarksgame.alioth.debian.org/ comparing a set of programs for speed of execution and system load across implementation in several languages.
The big annoyance is you need to pay $99 to be part of Apple’s Development program just to deploy your solution onto a physical IOS device (IPhone, IPad, etc). To me (as this article below) explains you are paying for security in the device so this is my PRIMARY reason why I am choosing this path.
Back in the day, I always thought IBM was the bomb with their early Java enterprise DeveloperWorks site http://www.ibm.com/developerworks/
Now they are on the ropes betting the farm on Swift from Apple. From my POV, I was going to start looking at C++ with wxWidgets and even Matlab 2016 to tie everything together with front end development. I forgot about this thing.
Mobile is the future. Apple is secure as compared to Android. I get great service out of them where I just drive to my Apple store to start yelling at people for Apple issues which is very very rare. It is good to have that when you have a mission critical business like a trading operation. As result, I am going to focus all my energy on this languages versus the options I mentioned. It does makes me feel comfortable to always be chained to a desktop to trade. I want to be free with no laptop.
Here is some videos I did in the last year on Swift for trading apps. It seems things have evolved since then.