Jump to content

We have moved to Discord. Please click here to join us in the Trading Terminal Discord server.



These forums are read-only.

Sign in to follow this  
3greensoldiers

DAS Hotkey Error

Recommended Posts

3greensoldiers

Hi All,

 

I am trading in a simulator and trying to buy a share size with the buying power that I have in DAS but i keep getting an error when executing the command:

 

ROUTE=SMRTL;Share=25000/Price;Price=Ask+0.10;TIF=DAY+;BUY=Send

 

ERROR: can't get valid price

 

It almost always happens the first time i hit the Hotkey, but i don;t get the error if i try it again right after.

 

Can someone help ?

 

 

 

thx

 

 

 

 

Share this post


Link to post
Share on other sites
Robert H

You need to use the ROUND2 function as outlined in this post. Try this:

Price=Round2;Share=BP/Price

Share this post


Link to post
Share on other sites
3greensoldiers

thanks Robert!  I will check it out.

Share this post


Link to post
Share on other sites
Bard

Price has no value until you set a value. Put "Price=Ask+0.10;" before "Share=25000/Price;" and you should be fine.

 

 

 

Bård

Share this post


Link to post
Share on other sites
3greensoldiers

hey Bard, so the sequence would be Price=Ask+0.10;Price=Round2;Share=25000/Price;

 

thx!

Share this post


Link to post
Share on other sites
Sign in to follow this  

[[Template core/front/global/mobileNavigation is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.