Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 08/06/2020 in all areas

  1. 1 point
    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: 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. 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.). 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. 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). Change the background of the simulator install (for better visual recognition). [optional] Add A Sound Alert for the Simulator version when a LIVE account trade is made in it [auditory recognition]. [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. 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. Unzip the downloaded file to a directory. 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. 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 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. Launch DAS using the shortcut created on the desktop as "DasTrader - SIM Account" --> Under ... Blue w/ S is the SIM account. Yellow w/ L is the Live account. 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. Open the "LIVE" version of DAS (the yellow icon). Login and on the top menu bar select "Setup" -> "Order Templates" On the "Account" box, select your LIVE account (for IB users it's likely something like U#######). Hit "Apply This Setting To All Exchanges." [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. Close DAS. Open the "SIM" version of DAS (the blue icon). Login and on the top menu bar select "Setup" -> "Order Templates" On the "Account" box, select your SIM account (for IB users it's likely something like TRIBT####). Hit "Apply This Setting To All Exchanges." 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. 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
  2. 1 point
    Can you post a visual example of this please.
  3. 1 point
    It's located in the first post under "Instructions for Configuration" section, there's a link at item #1. I know the first post is rather dense, so it can be hard to see. And yes, everything is in that file. I would recommend changing the first route from "ROUTE=MARKET;" to "ROUTE=LIMIT;" (not the one in the TriggerOrder portion). Also, are you in Replay Mode or Live Mode? TriggerOrders don't work in ReplayMode, so they won't show up. Setting it manually without a Trigger is only available in the beta versions of DAS as it was recently added. So in ReplayMode you won't get a Stop Order like you would trading live. If this is occurring while you're trading live in SIM, let me know.
×
×
  • 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.