heinrich.munz's avatar
heinrich.munz
heinrich.munz's avatar

Info

Username:heinrich.munz
Name:heinrich.munz
Member since: 21 Nov 2020

About

None

Signature

None

Last Algorithm Comments

@Volume POC:  17 Sep 2021, 13:32


Can I get the source code of this indicator?

Last Forum Posts

@Using 128 Cores/Threads for optimization:  18 Mar 2023, 21:15


I made some tests on a 16 Cores/32 Thread Computer. It seems that ctrader Optimization can only make use of the 16 cores. The treads seem to be useless ?!

1st test: Using 50% of the CPU resources (the the speedometer on 50%) 

==> Duration ca. 2 Min, 30 Secs

The CPU resource measurement (8 Gadgets) shows correctly ca. 50%:

2nd test: 

Using 100% of the CPU resources (the speedometer on 100%)  

==> RESULT: Duration is the same as if using 50% ca. 2 Min, 30 Secs

==> It doesn't matter if selecting 50% or 100% of CPU resources

 Strange: The CPU resource measurement shows correctly ca. 100%:

3rd Test:

Using 2 cTrader instances, each with 50% Speedometer setting

==> Result: Nearly doubled duration

==> Another prove taht cTrader does not make use of the CPU threads but uses only the cores!

@Using 128 Cores/Threads for optimization:  17 Mar 2023, 16:32


I have got a new computer with 64 cores/128 Threads (AMD Ryzen Threadripper PRO 5995wx, 64C/128T, 2.70-4.50GHz) with Windows 11. I hoped that cTrader V4.64 could make use of all 128 Threads at once and so make the optimization runs much faster. However, to my disappointment, I experienced that the optimization process is done in ca. the same time as on my previous 32 thread machine in spite that the cTrader dispiays 64 (not 128) passes immediately after pressing the start button.

It seems that cTrader is limited to use max 32 threads at once?!

(How) can this limit be changed?

@Stand Alone cBots without cTrader environment just with cAlgo.API.dll:  16 Mar 2023, 09:25


PanagiotisChar said:

heinrich.munz said:

(How) Is it possible to use the cAlgo.API.dll completely stand alone for automated cBots without the whole cTrader graphical environment?

For very sophisticated backtesting and optimizations strategies like walk forward optimization etc. this would be very helpful. 

It would take just a piece of code (i.e. a command line app) which initializes all necessary parts of the cAlgo.API.dll, gets access to the backtest data cache (ticks, bars, etc.) and then calling the cBots Methods...

Hi there,

It is not possible at the moment. But there is a project called cTrader Console that should reach the market soon and will do exactly that.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

This are very good news.

However, wouldn't it be a good idea to involve interested parts of the community in a preview of the planned project? Work flow, API, etc.

Or would it even be possible to collaborate in this project? I am an experienced C# programmer with > 10 years experience in programming all kind of trading platforms, last years focusing on cTrader.

In lack of a stand alone cTrader version, many years ago, I started to develop a cTrader emulator which lets me run cTrader bots in a standalone environment, including back testing and optimization. However, this is a lot of work for one person, and I am wondering, if anybody would be interested to collaborate with me to bring this stuff further. Maybe in an open-source Git Hub project?

@Stand Alone cBots without cTrader environment just with cAlgo.API.dll:  15 Mar 2023, 13:54


(How) Is it possible to use the cAlgo.API.dll completely stand alone for automated cBots without the whole cTrader graphical environment?

For very sophisticated backtesting and optimizations strategies like walk forward optimization etc. this would be very helpful. 

It would take just a piece of code (i.e. a command line app) which initializes all necessary parts of the cAlgo.API.dll, gets access to the backtest data cache (ticks, bars, etc.) and then calling the cBots Methods...

@Using cTrader Windows App to connect to a FIX Broker:  08 Mar 2023, 12:05


(How) is it possible to use cTrader Windows App to connect to another then the default FIX Broker?
The FIX-API Settings are read-only and cannot be changed ?!

Thx

@Which api is the right one to use for copy trading:  08 Mar 2023, 11:59


ctid1980098 said:

Hi Dennis, 

I have never used "Open API" and can only speak to "FIX API". 

I currently have connections to 16 broker accounts via FIX api and the execution is pretty much seamless across all. I am able to buy and sell across all brokers pretty much at the same time. I have never experienced an issue where I have vastly different execution times across brokers, provided you have a vps.... to reduce latency. 

FIX took me a while to code up and get into the hang of things, but once up and running the system works flawlessly. My client was happy to copy trades across multiple platforms with FIX platform we designed. 

Can you give us the names of these 16 Brokers. 
I'm curios who they are, supporting FIX

Thx

@Programmatically see copy trading activity:  02 Mar 2023, 10:09


DelFonseca said:

dthetten said:

Hello

(...)

Thanks

Yes, search for "web scraping"

Web scraping cTrader strategies might not work, especially on fast working scalping algorithms.
Reason: The update frequency of the web sites might be to slow to copy each trade successfully. I.e. the web site say that ROI is updated only every 15 Minutes (for strategy provides, others 1 day), Net and Gross Profit is updated with a 1 minute delay. However there is no information about the delay of new or closed orders in the Positions/History/Transactions Windows...

@Programmatically see copy trading activity:  01 Mar 2023, 09:22


dthetten said:

Hello

I'd like to know if it's possible to programmatically track the copy trading activity of a master account when I subscribe as a follower ?

Thanks

IMHO this will not be possible. If it would, anyone could copy the trades themselves and the master trader would not get its fees...

@Quote and Base currencies missing in API (cAlgo):  14 Feb 2023, 19:26


marktbs said:

cAlgo API is missing quote and base instruments information, like Name for example.

For example to get the quote currency (for volume conversion), we need to do funny methods that split Symbol.Name into 2 parts etc.. this is not professional nor universal and does not work with all instruments.

For indexes (US30, F40..) - there is no way at all to get the quote currency, so the only way is to hard-code it.

p.s. Additionally would be great to have methods that help with volume conversion from account asset - into quoted asset, or to base units even better.

In the meantime, Spotware have added Base and Quote Information to SymbolInfo. In Asset there is the name and Digits


      //
      // Summary:
      //     Gets the symbol base asset.
      Asset BaseAsset { get; }

      //
      // Summary:
      //     Gets the symbol quote asset.
      Asset QuoteAsset { get; }
 

@Serious bug in backtest grafic mode:  11 Feb 2023, 17:31


PS: Same thing happens if one uses h1 data from server and h1 bars on chart.
The bug does NOT occur, if one uses a data rate which's period time is faster then the bars timeframe.
So it does NOT occur using Tick Data from Server on M1, etc bars and it does also NOT occur using M1 data from server on M2 or more timeframe Bars...

Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.

No uploaded.

Warning! Executing cBots downloaded from this section may result in loss of funds. Use them at your own risk.

No uploaded.