Tag Archives: easier

SQLite make C++ and Python to algo trading easier

SQLite make C++ and Python to algo trading easier

I am working on SQLite with C++. I just did it with Python but both programming languages were easy to implement with SQLite. I have out my positions management through callback capabilities from the SQLite APIs done. You still get the benefits of SQL with in memory capabilities. The big drawback is you cannot cluster this over multiple systems but I am sure someone already developed a solution for that.

These techniques have greatly improved my time by reducing the complexity of communication. I hope to demonstrate a complete solution of a C++ process ‘program’ that can manage multiple open positions (market entry) with some basic ‘algo’ to close them. Once the market data conditions are satisfied, an a market exit will take place. All of these are executed through C++ and SQLite callback. More to come in coming days

Redis is fine but the C++ support for a working library on Mac OS  sucks big time

In terms of speed, it might be possible SQLite could outperform since Redis depends on TCPIP. SQLite can be embedded right into the program

 

http://www.hammerprinciple.com/databases/items/redis/sqlite

Join my FREE newsletter to learn more about this path of automated trading

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

C++ multithreading much easier now

 

C++ multithreading much easier now

Read this use the std (standard_ since C++ v 11. http://stackoverflow.com/questions/266168/simple-example-of-threading-in-c

http://www.cplusplus.com/reference/thread/thread/

So why use PThread now? http://www.tutorialspoint.com/cplusplus/cpp_multithreading.htm

Should virtual functiosn be used here?  http://www.cplusplus.com/doc/tutorial/polymorphism/

Join my FREE newsletter to learn which C++ tricks are used for high frequency trading 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Windows 10 activation now easier?

Windows 10 activation now easier?

Why was this not the case at first? Is it that they are under pressure to get as many devices running Windows 10?

http://www.zdnet.com/article/next-big-windows-10-release-will-ease-activation-hassles/

Join my FREE newsletter to learn more about how Windows affects your automated trading 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Python creator proposes type annotations for programming language: Smarter to make code better and easier to maintain?

 

Python creator proposes type annotations for programming language: Smarter to make code better and easier to maintain?

Umm….serious…they are finally coming around to know how to properly code now?

 

Python creator proposes type annotations for programming language – See more at: http://sdtimes.com/python-creator-proposes-type-annotations-programming-language/#sthash.ZSvJZaTN.dpuf

 

Join my FREE newsletter to learn more about this programming language

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Latest of Matlab version will make your trading so much easier!!

Hi there

Last Friday, I posted a few videos that once game again are game changers when it comes to automated trading. As the latest version of Matlab 2012b and 2013a have been released over the last few months, it seems Mathworks has a put a massive effort in extending the M scripting language and prototyping capabilities into the world of professional or instutional traders. I will be focusing on the new techniques in coming weeks so you should join my exclusive QuantLabs.net Premium Membership:

–> JOIN NOW FOR IMMEDIATE ACCESS <–

1. Big News! Youtube video on new Matlab 2013a now enables you to execute trades with Trading Technologies X_Trader

This could change everything on how you work with a trading platform with Matlab

https://quantlabs.net/blog/2013/03/big-news-youtube-video-on-new-matlab-2013a-now-enables-you-to-execute-trades-with-trading-technologies-x_trader/

2. Game Changer!! Matlab Production Server changes how you extend a trading platform with your algorithms, trading strategies, or models

This could be the easiest way to interface a trading platform to Matlab no different as if it was an Apache web server!

https://quantlabs.net/blog/2013/03/big-news-youtube-video-on-new-matlab-2013a-now-enables-you-to-execute-trades-with-trading-technologies-x_trader/

3. Youtube video New Matlab 2013a enhancements in Stats with PCA FPGA and Simulink code generation to your C or C++ API

https://quantlabs.net/blog/2013/03/youtube-video-new-matlab-2013a-enhancements-in-stats-with-pca-fpga-and-simulink-code-generation-to-your-c-or-c-api/

As you can imagine, this is kind of exciting but it makes extending Matlab very easy. I am planning to investigate this in coming weeks.

–> JOIN NOW FOR IMMEDIATE ACCESS <–

Here are the dozens of other membership benefits.

Thanks Bryan

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Instead of HPC getting easier , we are now confronted with increasing complexity and a new trend…

Instead of HPC getting easier (as we dreamed of many years ago), we are now confronted with increasing complexity and a new trend…

… emerging almost every year, such as multicore and manycore, scaling up and out, big data, digital manufacturing and the missing middle, green computing, and HPC in the Cloud. For many, especially the end-user, this is a very painful and growing mixture of technical, mental, and even political challenges which no-one is able to handle individually anymore.

HPC is getting crowded

isc-events.com

If HPC is moving towards into the cloud there is – at least to me – the question what data is to be calculated there and how to transmit this data into the cloud ?
Is it generated by web accesses on a lot of clients each connected with the cloud data base, or is it locally within the cloud on the HPC system(s) generated, or transferred over local internet connection into the cloud ?

 

]IMHO, it’s a problem of the right wrapping of really complex technologies. iPod’s story as an example might be annoying, but, well, Apple won because they gave minimal required functionality to their customers, and took away any need to think about formats, codecs, bitrates, tags and that stuff. Since HPC is getting easier, it becomes more and more important to simplify an access to HPC applications (not to clusters or HPC infrastructure or even to set of nodes) for typical everyday users of such apps – engineers, researchers, to anybody else who doesn’t have even imagination about administrative aspects behind HPC applications.

 

==

The pendulum swings both ways. In technology that typically includes cycles of new hardware and software, the later always trying to address the failings of the former.

HPC will never get easier in one sense: as the computers become more powerful, the definition of a difficult problem will include previously-considered-impossible problems

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!