Desky. TDesk's trading drone.

posido
Posts: 5
Joined: Thu Jul 26, 2012 5:20 am

Re: Desky. TDesk's trading drone.

Post by posido »

Hello again, were you able to check?
User avatar
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.

Post by SteveHopwood »

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:
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.
posido
Posts: 5
Joined: Thu Jul 26, 2012 5:20 am

Re: Desky. TDesk's trading drone.

Post by posido »

Oh dear, get well soon!
User avatar
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.

Post by SteveHopwood »

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:
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.
User avatar
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.

Post by SteveHopwood »

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:
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.
wallywonka
Trader
Posts: 188
Joined: Thu May 12, 2016 7:46 am

Re: Desky. TDesk's trading drone.

Post by wallywonka »

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!
User avatar
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.

Post by SteveHopwood »

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:
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.
User avatar
WorldsEnd
Trader
Posts: 97
Joined: Fri Aug 29, 2014 7:36 pm

Re: Desky. TDesk's trading drone.

Post by WorldsEnd »

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?
User avatar
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.

Post by SteveHopwood »

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:
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.
User avatar
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.

Post by tomele »

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
Happy pippin, Thomas :-BD

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
Post Reply

Return to “TDesk: A Thomas Special. The greatest trading tool ever.”