stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Desky. TDesk's trading drone.
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5545
Page 47 of 50
Author:  posido [ Tue Feb 14, 2023 1:01 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

Hello again, were you able to check?
Author:  SteveHopwood [ Tue Feb 14, 2023 2:10 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

posido wrote: Tue Feb 14, 2023 1:01 pm Hello again, were you able to check?
I came down with a cataclysmic bug last week - no voice and a throat that needed a fire extinguisher.

This Friday.

:xm: :rocket:
Author:  posido [ Tue Feb 14, 2023 2:35 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

Oh dear, get well soon!
Author:  SteveHopwood [ Fri Feb 17, 2023 4:16 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

I have found the problem. I am trying to use a function (closeAllTrades(allSymbols, allTrades);) intended to close all orders for a specific symbol, to shut down all trades. This actually needs a separate function designed to close all open/pending orders. I will write this in time for next Friday.

:xm: :rocket:
Author:  SteveHopwood [ Fri Feb 17, 2023 4:38 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

No need to wait for next week. The fix is in post 1 - V 1t.

For the DIYers:
Navigate to void shutDownForTheWeekend()
Scroll down the bottom of the function, to the code block that starts with, "if (CloseDelete)".

Replace the entire block with this:

Code: Select all

   if (CloseDelete)
   {
      globalBasketClosure();
      if (forceWholePositionClosure)
         globalBasketClosure();
      if (forceWholePositionClosure)
         globalBasketClosure();
   }//if (CloseDelete)
Thanks for bringing this up posido. Desky is nearly four and a half years old, so amazing this has not been spotted before. Cheers.

:xm: :rocket:
Author:  wallywonka [ Thu Jun 29, 2023 9:08 am ]
Post subject:  Re: Desky. TDesk's trading drone.

Have found an issue whereby if I enable Individal Basket Trading in desky then desky will not open a trade... Soon as it is disabled then desky will open a trade fine. Hoping this is an easy fix!
Author:  SteveHopwood [ Tue Jul 04, 2023 3:00 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

wallywonka wrote: Thu Jun 29, 2023 9:08 am Have found an issue whereby if I enable Individal Basket Trading in desky then desky will not open a trade... Soon as it is disabled then desky will open a trade fine. Hoping this is an easy fix!
This one has me beat. I cannot see how individual basket trading interferes. As a stopgap, see if Paul's MPBM will do the job separately from Desky. I will code an individual basket manager for you if not.

:xm: :rocket:
Author:  WorldsEnd [ Tue Aug 29, 2023 6:06 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

Good evening Steve,
recently I experienced a VETOANDFORCEEXIT signal from TDesk. I expected Desky to close the position but it did not. Even after a reload of Desky it did not close the appropriate position. When I checked the GV the respective entry was TDSUPERSSIGNAL/pair/4. I am wondering if Desky is able to handle VETOANDFORCEEXIT signals or not. Is there a way to check if it does? Did I do something wrong perhaps?
Author:  SteveHopwood [ Tue Aug 29, 2023 6:23 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

WorldsEnd wrote: Tue Aug 29, 2023 6:06 pm Good evening Steve,
recently I experienced a VETOANDFORCEEXIT signal from TDesk. I expected Desky to close the position but it did not. Even after a reload of Desky it did not close the appropriate position. When I checked the GV the respective entry was TDSUPERSSIGNAL/pair/4. I am wondering if Desky is able to handle VETOANDFORCEEXIT signals or not. Is there a way to check if it does? Did I do something wrong perhaps?
Desky responds to these signals sent by TDesk:
NONE,
FLAT,
LONG,
SHORT,
EXIT,

I have no idea if VETOANDFORCEEXIT will tell TDesk to send an EXIT signal but if not then Desky will not respond.

:xm: :rocket:
Author:  tomele [ Tue Aug 29, 2023 6:37 pm ]
Post subject:  Re: Desky. TDesk's trading drone.

SteveHopwood wrote: Tue Aug 29, 2023 6:23 pm I have no idea if VETOANDFORCEEXIT will tell TDesk to send an EXIT signal but if not then Desky will not respond
It does.

Cheers
All times are UTC Page 47 of 50