Sorry, this entry is only available in 中文.
This article gives an introduction to writing strategies on the CoreTX platform. Let’s start with a simple trend following strategy which uses two moving averages. Here is the idea of the strategy: Define a up-trend if the fast moving average is above the slow moving average. Define a down-trend if the fast moving average is below the slow […]
The project ctxalgowebsite project includes code for the CoreTX website. Following the following steps to setup the project: Checkout and setup ctxalgobase, ctxalgolib by following this link. Checkout and setup ctxalgoctp. Add the location of the folder storing ctxalgobase, ctxalgolib, ctxalogctp to the environment variable PYTHONPATH. Checkout the project ctxalgowebsite. Install Scipy. Install necessary libraries including: werkzeug […]
Projects in the CoreTX platform The CoreTX platform consists the following projects: ctxalgolib, this is the base project which provides many financial functionalities and data access to CoreTX servers. ctxalgoctp, this is the project to backtest and live trade int the Chinese future market. After getting the source code of ctxalgolib and ctxalgoctp (assuming that […]