You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ We use Docker mount to let the container have access to a directory so it will b
24
24
25
25
In above command we use:
26
26
27
+
*`ctrader.console.run.mybot`: Container name, you can use any name
27
28
*`/cAlgo/Robots`: Path in host that will be mounted to container
28
29
*`/mnt/Robots`: Container mount path
29
30
*`CTID='mycid'`: Your cId username
@@ -35,7 +36,9 @@ In above command we use:
35
36
*`/mnt/Robots/My bot.algo`: Your cBot algo file path according to mount path
36
37
*`environment-variables`: We use the to let cTrader console know it should use environment variables for getting its parameters
37
38
38
-
You can also use this image to build another docker image with your cBot algo and cID password file that can be run easily anywhere.
39
+
In above command we used Docker mount to let container have access to our cBot algo file and cID password file, instead you can also use `-volume` or build another docker file based on console image and copy your algo files and set environment variables directly inside your docker file.
40
+
41
+
For more regarding Docker mount and volume please check Docker documentation.
39
42
40
43
You can use all of the cTrader console commands like backtest, for more regarding available features in cTrader Console please check the documentation.
0 commit comments