Jump to content

KyleK29

Lifetime Members
  • Content Count

    272
  • Joined

  • Last visited

  • Days Won

    48

Posts posted by KyleK29


  1. 18 minutes ago, Benjamin Tang said:

    Interesting, Didnt know my hotkeys are based on 6:1.  my leverage in SIM is currently at 4:1.

    can you tell me what i need to change in my Hotkey setup?

    I don't recommend doing it manually. Here's what the Configurator put out for what I believe is your settings.

    
    LONG - % Equity Risk Version, 1%, DAS DEMO Broker, 4:1 Margin:
    
    StopPrice=Price-0.01;DefShare=BP*0.97;Share=DefShare*0.25*Price*0.01;Price=Ask-Price+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.03;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
    
    
    SHORT - % Equity Risk Version, 1%, DAS DEMO Broker, 4:1 Margin:
    
    StopPrice=Price+0.01;DefShare=BP*0.97;Share=DefShare*0.25*Price*0.01;Price=Price-Bid+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.03;TIF=DAY+;SELL=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    If these don't work for you, you'll need to go into DAS -> Main Menu (Top Bar) -> Setup -> Other Configuration, check the option "Don't Delete History Logs" and "Log Debug Message". Close and restart DAS.  Go test the hotkeys in a trade where it fails. Then PM me the content of the log file in the C:\DAS Trader Pro\LOG\ directory, it should be named for the date, e.g. YYMMDDLog.txt --> 200707Log.txt would be today.

    • Like 1

  2. On 6/17/2020 at 5:49 AM, [email protected] said:

    Thank you so much TommyK667. Yes, I am with IB.  I updated the script with SMRTM but that also did not worrk.

    StopPrice=Price-0;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:SMRTM PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

     

    For the STOP routing / StopType, use LIMIT or MARKET (preferably market, it's safer). The reason is that these are routed differently, even with IBCO. If you manually set it up in montage you'll notice the STOP Route type doesn't have SMRTM or SMRTL. So when a hotkey tries to populate that, it can't find a match and fails.

    Try this one for IB:

    StopPrice=Price-0;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

     

     

    On 6/19/2020 at 7:01 PM, forkey said:

    I am currently clicking the chart for each additional entry and sometimes I want to manage the adds completely independently from the first entry.  In a perfect world, each entry will have its own stop loss (and ideally its own target too with a 6:1 range - my second question) and can be therefore independently managed. 

    Correct.

    Here is the current long entry with a 0.35% risk (i hit this up to 5 times maximum depending on the setup and how tight I can get). 

    ;CXL ALLSYMB;StopPrice=Price-0;DefShare=BP*1;Share=DefShare*0.3*Price*0.0035;Price=Ask-Price+0;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=ARCAL;Price=Bid;TIF=DAY+; Account=ABC123;BUY=Send;DefShare=100;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    ___________________________________

    So the above includes the stop but not the target.  Once I get in the trade and it starts working, I will put out a 4:1 range with a stop using this:

    ;CXL ALLSYMB;ROUTE=STOP;StopType=Range;LowPrice=Price;HighPrice=AvgCost-Price*5+AvgCost;Share=Pos;TIF=DAY+;SELL=Send

    _________________________________

    Is it possible to simply conjoin the first hotkey's entry+stop and the second hotkey's target as a single hotkey?


    Is it possible to tier in with my the first hotkey and then when clicking it again (after clicking chart to indicate the next entry's stop) I am in with tier2 and it has its own stop (and target? - ideally).?

     

    Thanks so much @Justin

     

     

    If I'm understanding this correctly, you want to have multiple risk positions (e.g. multiple "strategies" in play)?

    So for example, you enter a stock at $20.00, with a $19.80 stop price and qty 50. The stock moves in your favor and sets up for another strategy, and you add at $21.00, with another stop at $20.50 and a qty of (example) 50. Your position / open orders looks like:

    STOCK, Qty: 100, $20.50(avgcost)
    OPEN STOP, $19.80, Qty: 50
    OPEN STOP, $20.50, Qty: 50

    Something like that?

     

    On 6/27/2020 at 1:39 PM, Fernando Samora said:

    Hey all, hope someone can help me out. Im trying the hotkets and they work GREAT. 

    I do have one issue and would like some help: When im long in a position and scale out I can reclick my Long range order hotkey:

    • (CXL  ALLSYMB; Route=Limit;Share=Pos;Price=AvgCost-StopPrice;Price=Price*3;Price=Price+AvgCost;Price=Round2;Route=Stop;StopType=Range;LowPrice=StopPrice;HighPrice=Price;TIF=DAY+;SELL=Send;ROUTE=LIMIT)

    and it re calculates the remaining shares to reset the new share number with the same stop range....

    However, when im in a short position and i click the same scale out hotkey and hitting the Short Range Order:

     

    • (CXL ALLSYMB; Route=Limit;Share=Pos;Price=StopPrice-AvgCost;Price=Price*2;Price=AvgCost-Price;Price=Round2;Route=Stop;StopType=Range;HighPrice=StopPrice;LowPrice=Price;TIF=DAY+;BUY=Send;ROUTE=LIMIT)

    it cancels the range order without getting into a new one. 

     

    I'll have to remember to try this tomorrow, I have an idea on what might be causing an issue but I need to test it.

     

    On 7/5/2020 at 5:50 AM, Benjamin Tang said:

    I use the following commands in SIM and trying to figure out what is going on. 

    Double click to trade and Montage > Style > Stop Order is set

    Long
    image.thumb.png.a0e502b5387ad753b76275724adc520c.png

    StopPrice=Price-0.01;DefShare=BP*0.97;Share=DefShare*0.167*Price*0.01;Price=Ask-Price+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.03;TIF=DAY+;BUY=Send;DefShare=100;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.3 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    I use this Long command (please ignore the entry, its on purpose). i was expecting the stop loss will be triggered but that is not the case. can some body explain what is going on?
     

    Short:
    StopPrice=Price+0.01;DefShare=BP*0.97;Share=DefShare*0.167*Price*0.01;Price=Price-Bid+0.01;SShare=Share/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=bid-0.03;TIF=DAY+;SELL=Send;DefShare=100;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    I use this short command (please ignore the entry, its on purpose). i was expecting the stop loss will be triggered but that is not the case. can some body explain what is going on?
    image.thumb.png.a2447a1acc39e01d1e81e1ca5c590c37.png
     

    image.png

    image.png

    Few things, can you confirm you have 6:1 leverage (margin) on this account? Default is 4:1. The hotkeys you pasted are setup for 6:1 and a mismatch in leverage to the account can cause anomalies. Second, can you add a Trigger Order window and try again, see if a trigger order is being created? It's under Main Menu -> Trade -> Trigger Order .... this window works like the Open Orders window and will populate the status of active (not triggered) TO's.

    3 hours ago, Seydou Dia said:

    Hello friends, anyone using CMEG with the BBT promo code AND Kyle's hotkey; would you be kind enough to copy me your hotkey config. I am kinda confused with which ROUTE to use. I have read somewhere that LAMP route is not use anymore; but I am not sure. Thank you for any answer!

    If you find a working setup for CMEG, please do post your config so I can roll it in as the recommended. CMEG is the odd-duck, as they have certain things  that mess with the hotkeys.

    I've heard some users have luck setting the Time in Force to --> TIF=DAY;   instead of the default TIF=DAY+. Apparently that solves some rejection issues with them.

     

    • Like 2

  3. 5 hours ago, jero20 said:

    @KyleK29 what is your hotkey execution command in your hotekey file for DAS Pro for doing the montage swap? I know this is an older post but Just got my stream deck today, your post and info have been super helpful 

    What montage swap did you want? I had a few, but I discontinued them as they were either replaced by native DAS functions or not ever used.

     

    -Kyle


  4. 5 hours ago, smp said:

    I've just retested as I originally found two, but from a quick retest only the tilde is still being escaped.   

    Update: Reviewing my test files from version control some had a bad format else where which by chance made it look like two were escaped.  So for now yes I see just tilde being handled this way. 

    Okay that's good we see the same.

    Do you get any additional info from DAS details other than what is on their site?    I've also reported a few issues/improvements with simple fixes and not even received a reply, but as I am busy setting up my approach/tools (moving from trading UK markets) I've not pursued this yet.

     

    No, not from DAS directly, but I've never asked them specifically about this stuff. If you submit bugs, be sure to use the bugs[at]dastrader.com and not the support[at]dastrader.com ... I have noticed they won't reply to a bug report unless they need more additional information, so if you submit a good bug report they tend not to reply. I've had 3 bugs fixed in the last two weeks, so they do tend to move quickly on the beta side.

     

    I use a simplified report template:
     

    BUG TITLE
    OS:
    DAS Version: (version # and build datetime from Help > About)

    Description of Issue:

    User Expected Outcome:

    Attachments:

     

     

     


  5. 2 hours ago, smp said:

    The increase to 1000 characters is shown in release notes as v5.5.0.0, or are you referring to something else?

    The encoded characters issue (easy to test given the DAS use of non Unicode files) appears in recent versions I checked and the wrapping was the same as well.  DAS seems to be VERY old school in some areas of its design but that's not uncommon for niche area products (I work in the field of performance and scalability of enterprise applications and nothing surprises me anymore)

    I think I remember seeing one other fix outside of the 1000 character limit. 

     

    I wouldn't mind seeing your .htk file that has the 100 character length for the script portion. Here's one with various scenarios and how it's formatted for me:

    :Escape_Characters_Basic_Latin_Unicode:~ 187:! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 :
     ; < = > ? @ A B C D E F G H I J K L M N O P Q R S 
    T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m
     n o p q r s t u v w x y z { | } ~7E
    :Maximum_Length_Test_Extra:~ 998:TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSST
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFTESTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFTESTTTTTTTTTTTTTTTTTTTTTTT
    :Line1Test1_Well_Well_Well Copy:Route=Limit;Share=Pos*0.25;Price=StopPrice-AvgCost;Price=Price*1.25;
    :ItemD:DefShare=DefShare+0
    :ItemC:DefShare=DefShare+0
    :Item:~7E DefShare=DefShare+0 ~7E
    Alt+Ctrl+F10:ACF10_Long_Test_Maybe:~ 501:#Hashtag_Again; CXL BELOWAVGCOST;StopPrice = Price;
    Share=Price*100;Price=AvgCost;SShare=Price*100;Shar
    e=Share-SShare;Price=Share;Price=Share/100;Share=Po
    s * Price;Price=Ask-StopPrice;SShare=Share / Price;
    DefShare=BP*0.97;Share=DefShare-SShare;DefShare=Def
    Share+SShare;SShare=Share;SShare=DefShare-SShare;Sh
    are=0.5*SShare; Share=Share*1; Price=Ask+0.05;TogSS
    hare;TIF=DAY+;ROUTE=SMRTL;BUY=SEND;DefShare=10; Tri
    ggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice ACT:
    SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;
    Ctrl+B:SaveTest:SaveLayout
    Ctrl+E:MAXIMUM_SHARED_LINKED_TITLE_IS_HERE_TO_STAY_AND_CAN_BE_CONSIDERED_GREAT_GLORIOUS_ADVENTURE_OF_MEN_#:Prefs="Testing how I can make this more appealing"
    Ctrl+K:Hashtag Test With #Ae5123kls:WPos X Y
    Ctrl+R:SampleG WIth Spaces:#HASHTAG; Testing_this; Price=111;
    Ctrl+Shift+E:SampleB:~ 237:Route=Limit;Share=Pos*0.25;Price=StopPrice-AvgCost;
    Route=Limit;Share=Pos*0.25;Price=StopPrice-AvgCost;
    Price=Price*1.25;Price=AvgCost-Price;Price=Round2;T
    IF=DAY+;BUY=Send;Price=Price*1.25;Price=AvgCost-Pri
    ce;Price=Round2;TIF=DAY+;BUY=Send
    Ctrl+Shift+F:SampleA:~ 118:Route=Limit;Share=Pos*0.25;Price=StopPrice-AvgCost;
    Price=Price*1.25;Price=AvgCost-Price;Price=Round2;T
    IF=DAY+;BUY=Send
    Ctrl+Shift+M:ItemB:DefShare=DefShare+0
    TAB:Line1Test1_Well_Well_Well:Route=Limit;Share=Pos*0.25;Price=StopPrice-AvgCost;Price=Price*1.25;
    Alt+Ctrl+B:Maximum_Length_Test:~ 962:TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSST
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFTESTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EEEEEEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
    SSSSSSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTT
    TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
    TTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
    EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF _1_ _2_ _3__
    Alt+Ctrl+D:SampleBBB2:~ 103:Character Counter is a 100% free online character c
    ount calculator that's simple to use. imple to use.
    ;
    Alt+Ctrl+Shift+F2:MAXIMUM TITLE IS HERE TO STAY AND I WILL NOT BE OVERSOLD ON HOW LONG THIS 1234 MAYBE A LITTLE MORE :DefShare=0; DefShare=0; DefShare=0; DefShare=0; DefShare=0; DefShare=0; DefShare=0; DefShare=0;

     

    Tilde (~) is the only character I can see different, as it shows as ~7E (0x7e is the hex code for that, so it makes sense) .. have you found any other?

    *EDIT* I see the 100 char now single line that you're talking about now. I guess I never tried anything between 51 and 100. 


  6. spacer.png

     

    In testing this morning, I noticed DAS has managed to get in a significant request. To sum it up, it allows a single hotkey to cast not only a STOP order on fill (how we currently do it), but also price target orders with each order canceling / updating the position of the STOP when filled.  You might not see a beta configuration tool for this for a bit, as I have to get a wrangle on the syntax and how I plan to handle the configuration options, but it's cool enough that I felt like sharing.

    If you're like me and use set Limit Orders to take profit (versus a scale-out hotkey like Andrew), this is a pretty useful addition.

    • Like 2

  7.  

    On 6/13/2020 at 1:56 PM, Justin said:

    Wow. How you even know this stuff is amazing Kyle...

    On 6/13/2020 at 3:15 PM, Alastair said:

    He has the right tools to interrogate his computer......sign of PRO.....ability to step / pause any program is very powerful.

    Remember wht he did b4...........lol

    For this, I didn't use any tools. I just looked at my .htk file and noticed the structured pattern. Is that a sign of being a major nerd? I think it might be ....

     

    1 hour ago, smp said:

    I've recently written an external GUI editor for the DAS hotkeys file and from my tests with v5.5.0.3 I found a small difference to your description so I don't know if anything has changed since you looked at it, although I doubt it will affect loading:

    The script as string element can be up to 100 characters on the first line.  At 101 or greater characters I find it wraps using the method you describe although there is a slight twist that a there is some escaping of certain characters in the script part.  These are unlikely to be present in a script but if there they are escaped with the character followed by a text representation of the character code for it.  Such encoding characters increase the length of the string as stored but are NOT included in the overall script length as stored in the earlier field.

    The reason I wrote an external editor is I've based many of my hotkeys on your excellent spreadsheet but wanted a way to easily transfer those to DAS in one go.  I have my own spreadsheet that refers to my scripts or yours with additional columns for the title and shortcut key combination.  These are combined in another column to what I call a plain DAS format, basically without any escaping or line wrapping.

    I can then copy and paste all of them in one go into my DAS hotkeys editor application which allows editing in a grid view or a text view with this plain text format.  The application automatically converts this to the correct DAS format when saving or switching between its tabs (it has one for a grid view, one for plain file and one with a readonly view of the file as it will be saved).

    I did wonder if this application was worth the development time as opposed to some script in the spreadsheet, but in a few days of experimenting/debugging my trading hotkeys its proved very helpful as it allows sorting, filtering (useful for merging) which a spreadsheet couldn't.  

    I am just finishing another utility to configure my Stream Deck keys directly, so from one spreadsheet I can update everything in seconds without any human error. 

    I was wondering how I could share any of this, but given the desktop app (c#) uses some of my own commercial code I would have to make some minor adjustments if providing source as well. However I expect a web version would be the best approach for sharing, but my focus was just a quick and dirty utility initially even though it grew a bit beyond that.

    I should note, I'm using the beta 5.5.0.5 (and now 5.5.1.0) so the structure may have changed a little .. I believe they made a change in 5.5.0.4 to increase the available character limit in the scripts. But I will say that doing any type of script creation is never a waste of time as you learn *a lot* by doing it. So the time may not have been worth the actual result, but it was worth the knowledge gained. Just my opinion.

    The new version of the Hotkey configurator will do the install for you. It uses a special uniqueID slug in the hotkey (that DAS ignores) which goes to a database and pulls the hotkey command, so you can then just login to the Hotkey Configuration tool and make your updates, upload your .htk file, and get a returned configured hotkey file. It will streamline the process and remove the Excel requirement because it's a web app. It also allows me to add better knowledge base / help and form entry for users.

     

    After I finish that, I plan to release my DAS Utilities package for Python which will have Config / Hotkey and Log parsers, plus a custom TTS alert example (so you can script alerts as you see fit). It'll be open-source and should make any creators life a lot easier as it gives a framework for this stuff. 


  8. 2 hours ago, Andrew from Jersey said:

    Thanks for the explanation @KyleK29. I really appreciate it. Once CMEG switches my platform from Sterling to DAS, I'm pretty sure I'll be asking for Level 1, Level 2, NASDAQ Totalview, and ARCAbook, as my market data accesses to receive. 

     

    If you have no intention to do Options, just go with the same package setup as the BBT one. Otherwise, you can do the $150 (Non-Pro) DAS data package and swap out the options for the ARCABook at the same price.


  9. Just to give some food for thought on this, but the Hotkey file is compromised of a defined structure.

    So the structure is like this:

    {*keycombo-as-string*}:{Title-as-string (max length: 99}:{script-as-string, max 51 bytes} \n (new lines are not rendered in notepad)

    If you go over the 51 byte limit, it adds a value to signify the total length of the command (including spaces).

    So this:

    ROUTE=ARCAM;ACCOUNT=TRIB8359;Share=200;TIF=DAY+;BUY=Send

    ..hotkey script is 57bytes, and what the program sees is this:

    ROUTE=ARCAM;ACCOUNT=TRIB8359;Share=200;TIF=DAY+;BU

     

    To do a multi-line (longer) command up to 999 bytes, you have to add the length in bytes. Format is this:

    {*keycombo-as-string*}:{Title-as-string (max length: 99}:~ {length of script}:{script-as-string, first 51 bytes} \n (new lines are not rendered in notepad)

    {51 byte chunk of script}\n

    {51 byte chunk of script}\n

    .. repeat until the end of the Hotkey Script.

     

    Using yours as an example, the correct syntax is this:

     

    Ctrl+Shift+2:Buy 200 Shares at Market:~ 57:ROUTE=ARCAM;ACCOUNT=TRIB8359;Share=200;TIF=DAY+;BU
    Y=Send
    
    

    What is most likely happening and why it changes when you tweak it in the DAS editor versus a text editor is that DAS is correcting for the hidden characters (new line, tab, etc). A slight issue in syntax can throw it off.

    Additionally, if you're editing while DAS is running, you have to open the Hotkey editor to load the changes into the memory space. They're only loaded on program initialization otherwise.

    If you're trying to create a dynamic hotkey; one where another program changes values; you have to do so by editing the values in memory directly. It's 100% doable, but takes a lot of knowledge. I had a working script that would automatically trail a Stop order to a moving average by a set offset as a prototype. It was just too cumbersome for distribution.

    • Like 1

  10. NASDAQ TotalView is the Full Depth Order Book data for NASDAQ, it includes Level 1, Level 2, and all quotes / transactions (time & sales).

    Others are: ARCA (NYSE), BATS/EDGA/EDGX, and then an assortment of smaller ones.

    Each data feed is the main feed for a particular exchange(s), so TotalView would have more complete data on NASDAQ stocks. 

     

    • Thanks 1

  11. I've never personally seen this issue, have you tested a fresh install? Backup your DAS folder (I usually just .zip the entire C:\DAS Trader Pro directory) and then rename it. Install a fresh copy of DAS and do the minimal setup that allows you to test this (e.g. don't worry about all the different layouts / windows).

    See if the same thing occurs. If it doesn't occur, you could start fresh again and reconfig everything, or revert to your old install and then delete the chart(s) it's doing it on, create new charts, and relink them to the relevant montage.

     

    My guess is you stumbled upon some unknown bug that has the chart linked to multiple data sources. Or a mixture of config options that cause the anomaly.

    • Thanks 1

  12. On 4/5/2020 at 3:27 PM, JasonH said:
     
     
    image.png.998e2539af9c7c04073a81426d0aab11.png
     
     
     
     
     
     
     

     

    Hi Jason,

    Great visual write-up. Regarding the bug .. I think this is more of a labeling issue than a bug in the formula. The % of Buying Power is to do a slight offset to the calculated maximum affordable shares for buying power (default is 0.97). The intention of that value was to act as a buffer for an 'Insufficient Buying Power' error people would get without it, it's why by default it's 0.97. Reversing the leverage to get equity occurs off of this value. I can see where a user might expect different behavior in certain situations.

    Looking at the settings in the quoted screenshots. If you have $5,000 equity with 4:1 margin (Total BP of $20,000) and you only wish to use 49% of the total Buying Power (maximum), then your effective Buying Power is $9,800, when we recalculate for Margin that becomes an equity of ~$2,450. With a max-account-risk of 1% of this refactored equity, it becomes a max $Risk of $24.50. This matches up with the share size given when you account for rounding.

    To get the 1% risk of $5000, you'd want to set this value to 100% (or more likely the 0.97 default). 

     

    I'll adjust the instructions for it on the next version so users better understand it's intention.


  13. Hi Taylor,

        I know a long time back there was an issue with a Streamdeck going rogue and firing all the hotkeys, I thought they updated that in software, but I remember reading on the Elgato forums that some users had to RMA their devices (faulty) ... you may want to contact their support. I've used my StreamDeck going on 18 months and have never had this issue .. but I don't have predefined share totals, so it wouldn't be able to send a valid order in my case.

    Now, you can implement a few protection mechanisms within DAS.
     

    If you go into DAS Main Menu -> Setup -> Trading Settings, set these:
    X - Check duplicated new order (same order in 10 seconds) -> This prompts you if a duplicate order is sent rapidly.
    X - Price Check -> Choose values that make sense for you. This won't do much in this case if your hotkeys define a price.
    X = Checkmark

    You could also add a modifier key to your hot scripts that is not reflected in the StreamDeck. Example: You'd set a hotkey in DAS to SHIFT+CTRL+1, set the StreamDeck to send CTRL+1. With this setup, you'd have to hold down SHIFT on the keyboard while you hit a button on the StreamDeck.

    As an added measure, you could also add to your Hotkey scripts a '; FocusWindow CHART;' at the end of all your current hotkeys that can buy / sell stock. CHART would be a name you give a particular Chart or something like the Market Viewer, via the Right-Click Window -> Config -> Name).   This way if you get a rapid firing of hotkeys in the future, only one will be able to actually fire off because the window focus would move to something else and the other buy / sell hotkeys would fail until you manually bring the focus back to the montage.

     

    When you go live, you should also set up your maximum loss with DAS (it's a form you file), that will minimize actual risk because they'll sell everything / reject orders if you hit that level. I do it like this (example values):

    -$60 PnL --> Alert --> Speak 'Max Loss Warning' (this signifies I have room for one more full R loss)
    -$90 PnL --> Alert --> Speak 'Max Loss STOP' (this tells me to stop trading)
    -$120 PnL --> DAS Risk Form --> Auto Stop / Reject

    I give an additional 1R buffer between the point I'm supposed to Stop (self discipline) and the point DAS will turn the account off  for the day and liquidate positions, to account for the higher-than-my-account commissions DAS calculates in.

     

     

    • Thanks 2

  14. On 3/6/2020 at 9:21 PM, Atomspapa said:

    Hey Kyle and community,

     

    SOOOOO. I have installed the scripts for your hotkeys and the With BP at 97% of equity with a stop of $150. It is calculating 6 shares and on long buy button (hotkey) iand the short is triggering buys at like 3 shares. One time it did calculates the position correctly at 1666 shares of AMD but that seemed to be a fluke.  I copied and pasted both scripts so I am not sure where the error is. Can somebody give a looksee and tell me what I am missing? 

    Here is the long:

    DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=150/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=400;

     

    Here is the short:

    DefShare=BP*0.97;Price=Price-Bid+0.01;SShare=150/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=LIMIT;Price=Bid-0.05;TIF=DAY+;SELL=Send;DefShare=400;

     

    Also can I add some code to ensure this executes on my live rather than my demo account? 

    Shannon

    I'm not sure if you're still around Shannon, but those hotkeys look correct. Did you generate them via the Excel or use them from somewhere else? Miscalculations can happen usually from two things -- 1) Accidentally fired a long order with a short hotkey (double-clicked above the price action on a long order) or 2)  The estimated Buying Power factor isn't correct for your broker. IBCO and DEMO are 4:1, but CMEG can be as high as 6:1 or sometimes 3:1 .. it's why it's important to use the Excel sheet for those scenarios. 

    I'd need the log files to properly see what's happening on that.

     

    On 3/7/2020 at 12:58 PM, Yann said:

    Hi Marek and Kyle,

    Have you found a solution to this?  Because this is exactly what I'd like to be able to do too.

    I'm using Kyle's hotkey script to buy a number of shares at market calculated on risk defined in the script and stop defined by double-click on the chart.

    Now if there was a way to place a limit order by using an additional double-click in this process, anywhere, or split the process in 2 hotkeys to make it work, that would be just perfect.

    Thanks!

     

    I have an assortment of requests in with DAS to address stuff like this, they were accepted, but I don't know when development would begin.

     

    On 3/23/2020 at 10:03 AM, Throne said:

    Guys the hotkeys are working flawless for me, but I got a silly question when Im using the scaling in and out hotkeys do I need to cancel the the stop lost in order for them to take? I cant get the scale out hotkey specifically to work  properly.

     

    I'll be doing a video set on using the Scale-In hotkeys since a (currently in testing) update will add a few of them (Refactor Risk Scale-In, and Thor's Free Roll Scale-In) and I know users could use a little more guidance on their usage. In general, if you change the position (scale-in or scale-out/take-profit), you have to update the Stop. There currently isn't an option for DAS to do this for you. I've requested additions to be added to make this much easier in the future.

     

    16 hours ago, Girish Kumar said:

     

    LONG
    Step 2: Sell 25% of your position when long and cancel the current stop, and reset it with remaining position at break even.
    CXL ALLSYMB;ROUTE=LIMIT;Price=BID-0.05;Price=Round2;Share=Pos*.25;TIF=DAY+;SELL=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos-share;TIF=GTC;SELL=SEND
     
     
    SHORT
    Step 2: Cover 25% of your position when short and cancel the current stop, and reset it with remaining position at break even.
    CXL ALLSYMB;ROUTE=LIMIT;Price=ASK+0.05;Price=Round2;Share=Pos*.25;TIF=DAY+;BUY=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos+share;TIF=GTC;BUY=SEND
     

     

    You're better off using a Trigger Order for the second portion of that, they have the distinct advantage of being able to get data values in the future. Like this:

    LONG:
    
    CXL ALLSYMB; ROUTE=LIMIT; PRICE=BID-0.05; PRICE=Round2; Share=Pos*0.25; TIF=DAY+; SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:SELL STOPPRICE:AvgCost QTY:Pos TIF:DAY+;
    
    
    SHORT:
    
    CXL ALLSYMB;ROUTE=LIMIT;Price=ASK+0.05;Price=Round2;Share=Pos*.25;TIF=DAY+;BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.3 ACT:BUY STOPPRICE:AvgCost QTY:Pos TIF:DAY+;

    As a note, this Trigger order doesn't use the PX value at all, but it's there to prevent some errors in certain versions. Also, there's specific hotkeys for adding additional risk to an existing position. They'll be covered in a video when I finish the new hotkey for Thor and I'll go over how to scale-in.

     

    On 5/2/2020 at 7:24 PM, Justin said:

    ....

    Special thanks to Justin and the other members who have been helping in this thread. I don't always make it back in a timely manner, so I really appreciate it! 

    • Like 1

  15. On 5/4/2020 at 3:41 AM, Girish Kumar said:

    HI Kyle, I have recently joined and wanted to check if you have shared the link to download this file for historical tradeIdeas gap list 

    Hi Girish,

         Sorry for the delay in replying,  I decommissioned the old server and I'm currently building up a new server as I needed more power to handle all the data I'm adding. I'll post to the forums when  I expose the gap list for users.

    -Kyle

    • Like 1

  16. Skip this post if you don't have a StreamDeck and / or aren't comfortable doing custom macros in your SD config.

    Advanced Uses:

    If you're adventurous and own a StreamDeck, you can do the swap automatically (so place once and then return to your default). In this example, I have the following DAS Config:

    • Default Line: ALT+D  (this is: HorizontalLine, DotLine, Black, 1px)
    • Green Line: ALT+G (this is: HorizontalLine, DotLine, Green, 2px)
    • Horizontal Line Tool: CTRL+ALT+L

    Using a StreamDeck extension "SuperMacro" (by BarRaider), I setup a "Super Macro" (type) hotkey in Stream Deck with this script in the Short-Press Macro box:

    {{CTRL}{ALT}{L}}
    {{ALT}{G}}
    {{LBUTTON}}
    {{ALT}{D}}

    Now, when I'm on the chart, I hover my mouse pointer over where I want to place a special line (like Moving Averages on the Daily Chart), I can simply hit my GREEN-LINE Button and it'll:

    • Trigger the Line Tool --> { {CTRL}}{ALT}{L} }
    • Set Line Config to Green --> { {ALT}{G} }
    • Send the Left Mouse Button --> { {LBUTTON} }
    • Set Line Config back to my Default Line { {ALT}{D} }

    Thus, it's a one key operation to place the special color line.

    • Like 4

  17. Ever wanted to swap line styles on the fly and make a rainbow on your chart? You can do that in 5.5.0.0+. The hotkey isn't the easiest to understand, so I very quickly made a web utility for you (link below).

    How to Use: 

    1.  Go to URL: http://kaelmedia.com/projects/das-line-config/
    2.  Select a Line Type, default is HorzLine
    3.  Select a Line Style, default is SolidLine
    4.  Select a Color, default is Barney
    5.  Select a Width, default is 1
    6.  Hit "Generate"
    7.  Glance at the preview window and see if it is what you wanted. If it is, hit the "Copy" button and it'll be placed in your computers Clipboard. If you wish to share you creation, press the "Share" button and a special link will be placed on your clipboard to post in the forums. Example: http://kaelmedia.com/projects/das-line-config/?hotkey=ConfigTrendLine horzline dotline:035aab:1;  
    8.  Paste the copied hotkey (looks like: ConfigTrendLine horzline dotline:035aab:1; ) into your DAS Hotkey Configuration.
    9.  Optionally, bookmark or save the line so you can edit it in the future (it adds the settings to the browsers URI/URL).
       

    How the Hotkey Works:

    The hotkey as designed will swap the DEFAULT config for the Line Type chosen, each type has one default stored for the user. So if trigger a hotkey with a horizontal line with a blue color, your very next (and all following lines) horizontal line you trigger on the chart will be that configuration (blue). Because of this, I have a "default line" hotkey and a series of colored hotkeys, this allows me to toggle back and fourth.
     

    Advanced Uses:

    Go HERE.

    • Like 11
    • Thanks 2

  18. First, check your Setup -> Trader Settings -> "Price Check" value .. this can sometimes reject your order if it's outside your configured parameters. Make sure you're using LIMIT (or SMRTL) orders as well.

     

    To do the Bid+%OfStockPrice, you'd do something like:

    Price = Bid * 1.005; Price=Round2;

    That's  BID * 0.5% (half a percent). So if the BID equals $55.42, it'd calculate as: 55.70 (55.6971 --> Round2 --> 55.70). 


  19. You can't do it programmatically / automatic at the moment. I have a feature request in with the developers to allow us to do this with a new set of hotkeys. There *is* a legacy feature in DAS that does it for you, but it's very odd in how you have to set the initial order and doesn't always work (at least for me), so I wouldn't recommend using that.

    The only other way is the way peterB mentioned and that is by Canceling out the orders and then putting a new one in.


  20. Just to help me shape this. What do you people want to see in terms of information? Would you rather have a breakdown of the math behind them and then show how they work in DAS, or would you like a more detailed breakdown of the actual hotkey (as ugly as they are)? I'd assume the former is better for most as it's a "concept -> application" presentation, keeping to the important bits in a concise manner.

    Any other hotkeys / DAS features you want me to go over, please post here. I have a list going.
     

    For this presentation there will be a new version of the hotkeys / configuration rolling out, so even if you're familiar you may want to check it out. I've also discussed with DAS on some modifications, but I'm not sure what the timeline is on those.

    • Like 3

  21. On 12/28/2019 at 12:21 PM, Jinagt said:

    Kyle Thank You so much for this amazing hotkeys you created for the community. It improved my trading a lot.

    I have a question is there any way you can add one more criteria to the existing hotkeys  that will allow you to buy or sell maximum 1000 shares with your buying power.

     

    There's a built-in less known about hotkey for that called ShareCap. You could try to add it as ShareCap=1000;   at the beginning of your hotkey. Test in sim though, as I haven't tested it.

     

    On 12/25/2019 at 1:08 PM, Marek Liyanage said:

    Hi Kyle,

    I love your scripts and started using them a few days ago  in SIM and expect to use them in my hot account some time soon. Great stuff!

    Would it be possible to place limit orders at a user defined level using any other price entry fields to define a risk level?

    I looked a little bit into this with the help of my son who has a little programming/scripting knowledge....since there's 2 price variables we need to define (risk, entry levels) to perform the calculations out idea was to store price in an intermediary field using a master hot key (e.g. risk level) and then using a second double-click for the entry price which would be used to perform the limit order at a user defined entry level. The problem he had with this was that while he could use the Share field as an intermediary it's not really practical because of the lack of INTEGER to FLOAT convertibility when moving that number back to the price field.

    Not sure whether this makes sense....but that was the best we could come up with...maybe Kyle or someone else versed in scripting has some idea to get around this issue or has an independent way of defining such an order.

     

    Thanks

     

    Marek

     

    It's very limited because of the user-accessible memory areas. In the Excel Configuration there's a couple that will put 1:1, 2:1, and 3:1 (etc.) price targets. DAS has indicated that they're willing to make changes to allow to us to do more of this natively. I'll add your request to the list I have going for their devs.

    There's a few other methods you can do to get values in and out of DAS, but they're really complex and I would not recommend anyone using them. One way is to use a secondary program (you write it) and the OS's native clipboard (to pass data back/fourth). The other way is to search and replace the bytes in active RAM.

     

    On 12/26/2019 at 9:09 PM, Jramosent said:

    Kyle - I have a question regarding this hotkey. I have been using the script for a few months now and it works perfect. The concern I have is when I let the stock go to my stop loss (risk) $20, this is the exact amount I lose. The question is when I get my 2-1, I don't get a true $20 or even $40 reward. Why is this? I have let the stock run sometimes upwards of .40 cents where my risk is say only .12. I still don't get my actual risk to reward. 

     

    On 12/27/2019 at 6:53 PM, Jramosent said:

    In this example here I shorted the stock in which I had a .16 cent win with a stop of .07 cents. A little more than 2 to 1 correct? I ended up making $13.60, Although my risk is always $20.... Maybe I'm doing something wrong here?

    AMD Log.png

     

    On 12/28/2019 at 5:15 PM, Brendon said:

    Hmm well if you shorted 85 shares, with a stop of 7 cents away, that's $5.95 risk, not $20. You may have the script set to $20 but as Peter pointed out you may be limited to your buying power...And to risk $20 with a 7 cent stop you would have needed to short ~285 shares of AMD (at that share price).

    Hopefully this helps!

    Are you with IBCO and was this during a LIVE trade? I believe IBCO on the short side does 3:1 margin, not 4:1. So if you use the 4:1 margin hotkeys with them when short (and live), it'll calculate your Buying Power incorrectly.

    As Brandon said, this is usually caused by Buying Power. His math is correct, you weren't able to take the full $20 risk on this and ended up with a much lesser risk, but still ~2:1 return. My guess is the problem exists in the first part of the hotkey config where it does the BP/equity calculations.

     

    If you didn't generate your own hotkeys via the Excel Configuration sheet, I highly recommend you do that. The ones people copy and paste aren't setup for everyone, they're specific to the person who created them (and their account variables, such as their margin-ratio which can different from broker to broker). I'd say 90% of the math issues come from this fact.

     


  22. Some users asked about this in chat a while back and as I was writing up the documentation on how to do a dual-copy of DAS Trader Pro -- one version for Sim and another for Live -- I realized that it had some complexity which may have made it difficult for some end-users. So to remedy this, I wrote a script to do it for you. I did this with batch / powershell commands (it's been awhile, so not eloquent at all) so that users can see what is going on (no tomfoolery with your accounts).

    What Does It Do:

    It's a Windows 10 (if Mac users exist, your mileage may vary) script that will:

    1. Makes a mostly symbolic copy of your DAS Trader Pro install (it'll copy over the Config.cfg file, since we need to change a few things) --> If your DAS install is C:\DAS Trader Pro\ it'll create a C:\DAS Trader Pro_Sim\ folder.
      1. By default, only the theme folder and .exe exist in the new folder install (the SIM version will check for a version change on the .exe and copy it over as needed for when updates occur), the rest is symbolically linked via the file-system to the main install. This is done so that items carry over their settings (Trendlines, Desktop Layout, Hotkeys, etc.).
      2. This is beneficial because if you use the default config then all layout, chart, trendlines, hotkeys, and other options stored outside of the Config.cfg file will be the same in both versions. 
      3. You can change this behavior with options (more on that in setup below). Right now, options exist for: Desktop Layout (default.dsk), and the Hotkey File (hotkey.htk).
    2. Change the background of the simulator install (for better visual recognition).
    3. [optional] Add A Sound Alert for the Simulator version when a LIVE account trade is made in it [auditory recognition].
    4. [optional] Add a Sound Alert for the Live version when a Simulator account trade is made in it.

    Example Image

     

    Notes / Prerequisites:

    If you set your account via as part of hotkey scripts (e.g. "ACCOUNT=U#######") you will want to change those values in your hotkey.htk file and also toggle the config.ini setting for separate_hotkey_file to "separate_hotkey_file=1" (instructions below). I assume most users won't need to this do.

     

    How Do I Use It?:

    Glad you asked. Download the zip file linked below and then follow the instructions here.

    1. As a precaution, I recommend you make a backup copy of your DAS install. Easiest way is to go to the folder that contains your DAS install, right-click it, and select "Send to Compressed Zip" .. if your install is in C:\, you'd right-click the "DAS Trader Pro" folder there.

    2. Unzip the downloaded file to a directory.

    3.  If you use the DAS default install location of "C:\DAS Trader Pro\" - and / or - wish to have the defaults, skip to step 3. If you don't use that location, continue reading this part.

      1. Go into extracted directory and edit "config.ini":
            Config Available:
                ⓐ directory=C:\DAS Trader Pro
                    This is the location of your DAS install. By default, it's C:\DAS Trader Pro as that is the DAS default.
                ⓑ separate_desktop_file=0
                    This is if you want to have separate Desktop.dsk files for SIM and LIVE. By default, it's the same layout. 
                    To use separate desktop files, set this as: separate_desktop_files=1
                ⓒ separate_hotkey_file=0
                    This is if you want to have a separate Hotkey.htk file for SIM and LIVE. By default, it's the same file.
                    To use separate hotkey files, set this as: separate_hotkey_file=1
                ⓓ add_sound_alerts_sim=0
                    This is if you want to have a sound alert added to your DAS SIM, for this to work properly there will be additional setup (see section "Sound Alerts - SIM Account").
                    What it does is add an audible alert if you trade with your LIVE ACCOUNT in the SIM ACCOUNT.
                    To use, set to: add_sound_alerts_sim=1
                ⓔ add_sound_alerts_live=0
                    This is if you want to have a sound alert added to your DAS LIVE, for this to work properly there will be additional setup (see section "Sound Alerts - LIVE Account").
                    What it does is add an audible alert if you trade with your SIM ACCOUNT in the LIVE ACCOUNT.
                    To use, set to: add_sound_alerts_live=1

    4. Right Click "Setup.bat" --> Run-As Administrator
          a) On Windows Admin Prompt Click "Yes"
          b) On the command window that opens, make sure it does not give an error. If prompted, type the letter "Y" and hit enter.
          c) If no error messages, hit enter again to close the command window.

    5. Launch DAS using the shortcut created on the desktop as "DasTrader - SIM Account" --> Under ...

      1. Blue w/ S is the SIM account.

      2. Yellow w/ L is the Live account.
        Shortcut_Examples.png.04c4848aa3291157af64be7f1229b351.png

    6. You're not done ... go to Additional Setups section.

     

    Additional Setup:

    There's some brief changes we need to make within DAS for this to work properly. 

    1. Open the "LIVE" version of DAS (the yellow icon).
      1. Login and on the top menu bar select "Setup" -> "Order Templates"
      2. On the "Account" box, select your LIVE account (for IB users it's likely something like U#######).
      3. Hit "Apply This Setting To All Exchanges."
      4. [optional] If you enabled the SIM trade in Live Account alert in config.ini, read the next line, otherwise skip to #5.
        For the Alert to work, go into Top Menu Bar -> Tools -> Alert & Trigger -> Double Click "WARN-LIVEACCOUNT" -> Double Click the "Value" box next to the "Acc" item (it should say "U1111111") -> Set this to your LIVE account. Image helper here.
      5. Close DAS.
         
    2. Open the "SIM" version of DAS (the blue icon).
      1. Login and on the top menu bar select "Setup" -> "Order Templates"
      2. On the "Account" box, select your SIM account (for IB users it's likely something like TRIBT####).
      3. Hit "Apply This Setting To All Exchanges."
      4. For the Alert to work, go into Top Menu Bar -> Tools -> Alert & Trigger -> Double Click "WARN-SIMACCOUNT" -> Double Click the "Value" box next to the "Acc" item (it should say "U1111111") -> Set this to your SIM account. Image helper here.
      5. Close DAS.

     

    Download:

    v1.00 - 1/14/2020 - outdated ..
    v1.01 - 8/7/2020 - DAS_DASSim_Separation_Script_V1.1.zip

     

    Changelog:

    v1.00 - 1/14/2020 - Release of initial script.
    v1.01 - 8/7/2020 - Quick rework of the script to be in its own .EXE, this may help with any issues for permissions.

     

    Known Issues:

    v1.00 - 1/14/2020 - My father never really played catch with me as a child, but besides that, there doesn't seem to be any that I'm aware of with the script at the moment. /joke

    • Like 3
    • Thanks 2
×
×
  • Create New...

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.