Tutorial: Open and upload strategy

This page will guide you how to install Cursor IDE and how to upload your custom strategy to FTO.

Tutorial: Open and upload strategy

Download and install the Cursor editor: https://www.cursor.com/downloadsarrow-up-right, while installing make sure to check all the checkmarks (Picture #1)

Picture #1

Then, you have to install Node.js if you don't already have it. Use the link below. https://nodejs.org/enarrow-up-right

After installing node.js, download the archive with the strategy example below and extract it to a convenient location.

file-archive
23KB

Open the extracted folder "MACrossover" and open it with Cursor (Picture #2 and #3).

Picture #2
Picture #3

If you get a pop-up like this, click "Yes, I trust the authors" (Picture #4)

Picture #4

Then, by clicking the icon shown on Picture #5 you should open the terminal and install the dependencies using the command npm install.

Picture #5

After installing the dependencies, you can start writing your strategy in the index.ts file.

If you want to know more on how to use Cursor to help you write any strategy for FTO, checkout this guide: Create strategy with Cursor IDE

Once the implementation is complete, you can build the project using the command npm run build.

circle-check

After building the project, a file my-strategy-project.js (Strategy file name) will appear in the dist folder.

Upload this file to the FTO (Picture #6 and #7).

Picture #6
Picture #7

From there, drag&drop your my-strategy-project.js file onto the gray area or click it to select multiple files to upload (Picture #8).

Picture #8

Last updated