Desky. TDesk's trading drone.
-
posido
- Posts: 5
- Joined: Thu Jul 26, 2012 5:20 am
Re: Desky. TDesk's trading drone.
Hello again, were you able to check?
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Desky. TDesk's trading drone.
I came down with a cataclysmic bug last week - no voice and a throat that needed a fire extinguisher.
This Friday.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
posido
- Posts: 5
- Joined: Thu Jul 26, 2012 5:20 am
Re: Desky. TDesk's trading drone.
Oh dear, get well soon!
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
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.

Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
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:
Thanks for bringing this up posido. Desky is nearly four and a half years old, so amazing this has not been spotted before. Cheers.

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)
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
-
wallywonka
- Trader
- Posts: 188
- Joined: Thu May 12, 2016 7:46 am
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!
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Desky. TDesk's trading drone.
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.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!
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- WorldsEnd
- Trader
- Posts: 97
- Joined: Fri Aug 29, 2014 7:36 pm
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?
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?
- SteveHopwood
- Owner
- Posts: 9904
- Joined: Tue Nov 15, 2011 8:43 am
- Location: Misterton - an insignificant village in England. Very pleasant to live in.
Re: Desky. TDesk's trading drone.
Desky responds to these signals sent by TDesk: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?
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.
Read the effing manual, ok?
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.
I still suffer from OCCD. Good thing, really.
Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.
To see The Weekly Roundup of stuff you guys might have missed Click here
My special thanks to Thomas (tomele) for all the incredible work he does here.
- tomele
- Administrator
- Posts: 1208
- Joined: Tue May 17, 2016 3:40 pm
- Location: Germany, Forest of Odes, Defending the Limes
Re: Desky. TDesk's trading drone.
It does.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
Cheers
Happy pippin, Thomas 
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate
It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so. (Mark Twain)
Keep the coder going: Donate