Jump to content


Lifetime Members
  • Content Count

  • Joined

  • Last visited

  • Days Won


KyleK29 last won the day on June 18

KyleK29 had the most liked content!

Community Reputation

247 Excellent

About KyleK29

  • Rank
  • Birthday September 30
  • Location Las Vegas, NV, USA

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Kyle,

    New member of BBT and I am just getting familiar with DAS. Currently on DAS Demo. It would be greatly appreciated if you could share your hotkeys so I can implement and learn. My version in default is missing several scripts/keys for basic essentials. Thank you, Kyle!



  2. I'd still recommend submitting the bug via email to bugs[at]dastrader.com and/or support[at]dastrader.com - I've been trying to get them to fix it for over a year now.
  3. Hey Kyle, I saw you are currently in the forums and I wondered if you know why I suddenly get denied when I try to use the Das replay feature.  I've never paid extra for it but Ive had it since it was first offered to BBT members for free.


  4. Hi PeterB, That's the problem with finding hotkeys through the forum, as they may not be correct nor thoroughly tested against multiple scenarios. The problem with that particular hotkey is that the STOP is not a Trigger Order - so yes, you are right that part of the issue is the Share portion, but the overarching issue is trying to send a STOP as a standard order right after another order when part of the same script. When users do this, they don't realize that the two orders will arrive at the same time, so the variables will be the exact same as they pull from the program state the same. So although one order is taking 25% off, the other could still be referencing the pre-25% off value .. I assume the creator of that hotkey tried to address this by predetermining the Share qty and likely just copied the Pos+Share / Pos-Share variable from another non-related script. Users will tend to take two hotkeys and mash them together, which leads to unintended consequences like you've seen. In general, STOPS should not be sent until the primary order has executed which is what the TO does. It should look like this (this is how the partials I've released look): LONG: CXL ALLSYMB; ROUTE=SMRTL; Price=BID-0.05;Price=Round2; Share=Pos*0.5; TIF=DAY+; SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:AVGCOST QTY:POS TIF:DAY ACT:SELL; SHORT: CXL ALLSYMB; ROUTE=SMRTL; Price=ASK+0.05;Price=Round2; Share=Pos*0.5; TIF=DAY+; BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET STOPPRICE:AVGCOST QTY:POS TIF:DAY ACT:BUY; For the most part, all of the hotkeys I've built/tested are in the standard Excel file (linked in the usual place: DAS - Dynamically Calculate Shares on %Risk or $Risk - Hot Key + Configuration, Updated 9/10/19, v2.1 - DAS Trader Pro Tips and Tricks - Bear Bull Traders Forums ). We'd police this type of thing more aggressively, but users copy / paste hotkeys so frequently that it becomes a game of whack-a-mole. It's why we have official BBT (and my own) lists / files available.
  5. Hi Kyle, some time ago I found your file with the hotkeys to do the add. The hotkeys calculated the size of the add based on the unrealized profit of the position and the risk was that, by inserting the stop loss on the be. Could you postpone the file or script? I would be grateful. Thanks in advance

  6. IMPORTANT NOTICE - 2021/12/08: I've noticed some major issues with interacting with DAS this way - a method I usually try to avoid at all costs, the User Input layer - where the script misfires and ends up interacting with the montage (in my test case, it canceled a bunch of Open Orders I had in place, including my stops), I feel that this is too major of a potential issue to recommend. Because of that, I do NOT recommend using this script. If there's enough interest (added a poll), I may replace it with a proper program that doesn't have to interact with DAS via the User Input layer. I'm leaving the script linked for REFERENCE ONLY. If you still feel that a utility like this is useful and want to see me create a better (and much safer) way of doing it, please vote in the poll. ----------------- Okay, I think I've got this in a decent enough state for an initial release, so here it goes, hopefully we don't break anything and if we do, I'm not responsible. Might not be the most elegant because it's using AHK's script syntax and I'm not that familiar with it ... in fact, I'm not fond of it. What it is: It's an AutoHotkey script that will detect if DasTrader.exe is running and then send a sequence of commands to export the Trade Logs (Orders, Tickets, Trades). This can be further automated using Windows Task Scheduler (instructions below). By default, the save-to folder is in your My Documents \ TradeLogs \ YYYY-MM-DD, but this can be changed by editing the top line of the script (see Config section below). As a note, if DAS is not found to be running it will try to start and login before proceeding. It uses the machines local DATE, so be aware of that as your exports will save to a date relative to the local timezone. Instructions for Configuration: VIDEO Tutorial: This script was covered in the 11/22/2021 Monday Tech Class, which can be found here (when it goes up): https://bearbulltraders.com/course/technology-monday/lesson/kyles-tech-webinars-2/ For the script to run, you'll need to download AutoHotkey from https://www.autohotkey.com Run the installer and choose "Express" install, unless you know what you're doing. Download the relevant script file here: Disclaimer: The following script is provided for REFERENCE ONLY and is not recommended for use at this time. If you choose to do so please note that you do it on your own accord. No warranties/guarantees and it is unsupported. v1.0: DOWNLOAD (Please see the warning at the top of this post) Unzip the download to a folder of your choosing, for simplicity sake, let's put it in a folder C:\scripts\ [you may need to create this] Now if you have DAS Trader Pro installed to C:\DAS Trader Pro\ and you don't mind the default save directory of your My Documents\TradeLogs\, you don't need to configure anymore and you can jump to the automation portion. IF you don't have DAS saved in C:\DAS Trader Pro\ or you want to change the save locations, right-click the DASExportTradeLogs.ahk file you unzipped and go to "Open With" -> "Notepad" (unless you have another txt editor of your choice, just don't use WordPad or MS Word). On the top of the file, there are two variables "logoutput" and "dasfolder", you can edit the right-hand side to a value of your choice. By default, these are set to these values: ; Default Settings logoutput = %A_MyDocuments%\TradeLogs\ dasfolder := % "C:\DAS Trader Pro\" ; Uncomment (remove semicolon) to make your own. ;logoutput := % "C:\Trade Logs\" ;dasfolder := % "C:\DAS Trader DEMO\" If you want to change these folders, uncomment the lower variables by removing the semicolon and edit between the parenthesis. Example edits below: ; Default Settings logoutput = %A_MyDocuments%\TradeLogs\ dasfolder := % "C:\DAS Trader Pro\" ; Uncomment (remove semicolon) to make your own. logoutput := % "C:\MY TRADELOGS FOLDER\" dasfolder := % "D:\MY DAS INSTALL LOCATION\" AUTOMATION: To automate this script, you need to use Windows Task Schedule Go to the Start Menu, type: Task Scheduler Once it has launched, on the right hand pane under "Actions" click "Create Task" In the dialog box that has popped up, the tab will be "General" Name: Give it a friendly name you may remember, I chose "DASTradeLogsForLoveOfKittens" Leave "Run only when user is logged on" selected Switch to the "Triggers" tab Example screenshot below: In "Triggers", select "New..." button towards bottom. Set: Begin the task to "On a schedule" Set to "Weekly" and select Monday, Tuesday, Wednesday, Thursday, Friday Under "Advanced Settings" Check: Stop task if it runs longer than: 5 minutes [type it in] Check: Enabled Hit OK Example Screenshot below: Select the "Actions" tab and hit "New..." alongside bottom. In the "New Action" dialog: Action: Start a program Program/Script box, copy and paste the following: "C:\Program Files\AutoHotkey\AutoHotkey.exe" In the "Add Arguments" box, type the location of our script and the name .. for this tutorial, we unzipped it to C:\scripts\DASExportTradeLogs.ahk Hit OK Select the "Conditions" tab and set .. Checkbox on "Start the task only if the computer is idle for:" Set to your choice, 10 minutes is a good number. Checkbox on "Wake the computer to run this task" See screenshot below: Switch to the "Settings" tab Leave checked "Allow to be run on demand" Check: "Run task as soon as possible after a scheduled start is missed" Check: "Stop the task if it runs longer than:" and set to 10 minutes Leave the rest as is, see screenshot below: Hit "OK" until you're out of the task creation screen. All done. You can test to make sure you got the parameters right by finding the task name you assigned it in the "Name" column, right-clicking, and choosing "Run". Hands off as it does it's thing. For best results, run DAS Trader and navigate to the main menu -> Trade -> Reports, then set your settings to be like the following screenshot, as a note check "Show training orders/trades" if you want to include both SIM and LIVE account (unchecked is just LIVE account). I'm sure I forgot something ... ChangeLog: 11/24/2021: Initial Release
  7. As a note for users who find this thread, DAS now supports TriggerOrders via ReplayMode as of (production release). So you no longer need the special hotkeys and you can use your normal hotkeys.
  8. Depending the timeline, I maybe down with this as well. I won't have a rental car, so I'll have to nab a ride. It's been a long time since I snowboarded though. Been meaning to go more regularly, but we don't have any major mountains in Las Vegas. Our local resort is basically a bunny slope with a lodge.
  9. Kyle,

    In your webinar on StreamDeck you discuss "Super Macro" and you show how to download it with a menu item called "More".   I do not see that menu item on my Streamdeck app.  Can you tell me another way to get it?

    StreamDeck Kyle.jpg

  10. Hi Kyle

    Is there a way to set DAS alert for stock crossing previous day close


    Sam K

  11. As in send a corresponding take-profit ahead of the price action on entry? You'd just need to add another TriggerOrder to the end of the script .. like this: TriggerOrder=RT:LIMIT PX:AvgCost-0.5 ACT:BUY QTY:Pos TIF:DAY; Bdshepherd is correct, DAS does not emulate TriggerOrders in Replay Mode so the Stop isn't created. From looking at the screenshot the Stop Price is roughly the same as the price you got in at, not 28.11. That would get you almost immediately. *Ignore this quote, forum software won't let me remove it on mobile. *Ignore this quote, forum software won't let me remove it on mobile. *Ignore this quote, forum software won't let me remove it on mobile. That's a bug with the DAS DEMO Broker for when a stock has an SSR status - it won't happen with a real broker.
  12. The open order circled is a Buy order, not a sell. I'd caution using them for such a stock with a stop only .02 cents away from the entry, it's enough to slip you out immediately via the spread. Also, if you're not with Interactive Brokers you need to change all the SMRTL; to Limit; and SMRTM; to Market; As for the order colors on the chart flags, those are user configurable and differ for Long or Short positions. Mine are Green/Red and Blue/Orange.
  13. Yes, that's the latest production version. I think the last time I checked these values (and noticed they were inverted) was in ... that maybe the reason that replaced so quickly (it was like a few days). In my, it does calculate as it shows for you. Doesn't solve the actual issue of the hotkeys not having access to a BPLong and BPShort value (which I requested). Hopefully they add those.
  14. I'm not at my desk, but what version of DAS are you using? I'd have to check my version, but I remember last time I checked this is how it was. It's why I have a TestBP hot button now, it seems to break every other release.
  15. I think the problem is there's a disconnect between the MargRate you see in the symbol status popup and how the BP functions calculate. It could be true that on the broker side, 25%/25% is the normal. But if you have the montage calculate what the value will be for the hotkey, you'll notice it's not like that. 25% MargRate will return 25% of the accounts available Buying Power. 100% will return 100% of the Buying Power (includes the leverage given). You can test this by setting a Hotbutton to this: Price=1.00; SShare=BP; (price=1.00 sets the function to return dollars) The Display box will show what the BP function would return in number of dollars. If I pull up a symbol with 25% in my SIM account, it returns 25000. If I pull up a symbol with 100%, it pulls up 100000. A few versions back a bug existed that always returned 1/4 of your BP .. so this isn't exactly surprising that it maybe broke elsewhere. Now that doesn't mean you may not get the order through on the broker side. I'm just saying what is happening within the script that is throwing things off. A stock that shows 25% may very well let you buy worth the full account + leverage if you don't use the BP function.
  • 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.