I do not manage to get processTradeCompleted event working, can you please help?
#1
Hello,

I now study Gekko for 2 weeks and have written my first strategy.
It is working in general but I would like to monitor processTradeCompleted event to make  sure that my strategy can react properly in case of error (e.g. trade cancelled, errored).

I have to say that I'm not a javaScript specialist, so, I probably did not code the implementation properly.

When my code runs I do not have exceptions but also I do not get the processTradeCompleted event,

Here attached I have attached my strategy. There are lots of comment in it and I hope it is easy to understand.
Could someone help me to solve my problem? This should not be a big issue. So far you could take a look at the "Plugin.prototype.processTradeCompleted" in the attached strategy.

Thanks in advance for your support and thanks again GEKKO Smile


Attached Files
.zip   myStrategy.zip (Size: 10.77 KB / Downloads: 21)
  Reply


Messages In This Thread
I do not manage to get processTradeCompleted event working, can you please help? - by philipina - 04-14-2019, 06:31 AM

Forum Jump:


Users browsing this thread: