Feeding Strategy Portfolio/Exposed values
#2
Hi,

probably best is to sort out the bugs to avoid any restart.

Today I had the same need to get further events inside my strategy. Since the strategy isn't a plugin itself it can not directly subscribe to events, but it is wrapped by the tradingAdvice plugin so it is pretty straight forward to extend your event needs there: https://github.com/askmike/gekko/blob/de...Advisor.js
E.g. I did it to receive the 1 min. candles inside the strategy also, so you can simply setup multi candlesize strategies without the need to change your e.g. existing 60 min. strategy and candlebatch everything manually.
  Reply


Messages In This Thread
RE: Feeding Strategy Portfolio/Exposed values - by mark.sch - 08-23-2018, 03:35 PM

Forum Jump:


Users browsing this thread: