I am sending and canceling orders via excel VBA and Redi on 150 stocks. Redi crashes after a certain

I am sending orders, canceling those orders and resubmitting them using VBA based upon various input parameters. I have about 150 stocks in Excel which I use as my front end. The problem I am running into is Redi crashes after a certain period of time, typically 30 min depending on market volatility and how much the program has to work. I will often get this response "Microsoft Excel is waiting for another application to complete an OLE action." I do not know if I am asking too much of Redi and Excel VBA and should use RediFix but I would like to not have to go that route. Thanks for any help!!

Tagged:

Answers

  • Hi @kris_mcc,

    I think it's best if you reach out to your account manager. He/she is best positioned to help troubleshoot the issue (and recommend other solutions if needed).

    Thanks,

    Brian

  • My account manager put me in touch with the developer community.

  • Based upon my own research, apparently RediPlus uses OLE COM which requires that incoming messages be processed in a timely manner. When they are not you will typically see the messages I am seeing. So I believe that is the problem. I must read the messages coming back from Redi, even if just throw them away (so to speak). Are there any examples in either the documentation from Redi or any code examples on how to read the messages

  • @kris_mcc,

    We have a few ideas here. I'll reach out to your account manager so we can arrange time to review with you.

    Thanks,

    Brian