AG Algorithmic Adventurer

This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use our website. Read all about our Privacy Policy / GDPR here.

I agree

Embedding Python3 into Qt5 C++ project with pybind11

The project I am working on right now requires an embedded python interpreter where you can load python scripts and the software reacts to it. The software is developed in C++11 with the Qt5 framework. To make the python interpreter available in my application I use the pybind11 library. Dev Environment My working environment is macOS 10.14, ... Read more

Qt 5.13 MySql connection on macOS Mojave and MAMP

Today I went crazy because I tried to connect to a mysql server, running inside a MAMP session, using Qt 5.13 on macOS Mojave. This is what I did. First I created a demo project with Qt Creator. A console program. Very basic. // Filename main.cpp #include <QCoreApplication> #include <QtSql> #include <QDebug> int main(int arg... Read more

8 key figures to check if your trading system is profitable

If you are backtesting your trading strategy you need some key figures to determine if your system is profitable or not. It doesn’t matter if you are testing a manual strategy or an automatic system. You need at least these eight key figures before you are going live and risk your money. Profit Factor The profit factor is a value to check if yo... Read more

Finding a name for a company or a product

For my next business I needed a name which is not already in use, where all domain names are free to register and which is under 100,000 search results on google. Also the name should be easy to remember and to speak. So the name should not be longer than 15 characters. Ah, and don’t forget the social media handles for twitter, facebook, instagr... Read more

Calculate Forex Position and Margin requirements

If you go for manual forex trading you need to calculate the correct position size. The position size and margin requirement depends on your risk and money management and needs to be calculated for every trade again. Let’s have a look at the formulas to calculate the risk, position size, pip value and margin. Account Risk First we need to hav... Read more