Batch file to start all my trading applications - Tech Support | futures io social day trading
futures io futures trading


Batch file to start all my trading applications
Updated: Views / Replies:908 / 11
Created: by dstrader Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Batch file to start all my trading applications

  #1 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received

Batch file to start all my trading applications

Has someone written a 'batch file' application to start all their trading applications?

I like to shutdown my computer everyday, and restart everything from scratch (some applications would get unstable when I was running for days in a row). I run many applications in my trading computer for different purposes, and styles of trading (Market Delta Charts and Trader, NinjaTrader, TradeStation, StreetSmartEdge, TOS, VectorVest, etc.). It takes me 10-15 minutes just to get everything running properly with all the user ids and pws.

I was wondering if there is a software out there that would do that for me (including entering the user id and pw for each app of course, otherwise I can just put each on the start up folder). If not, I was thinking in building a .bat file (which I have not done in over 15 years), so I'm looking for examples. I'm specially having difficulties with how to transfer the id/pw for each application. My goal would be to start my computer first thing in the morning while I do a couple of other things (take son to school, etc.) let it do all the start up procedure. Once I'm back in my office desk everything would be set to go. Also, may allow me an extra 15 min sleep .

Would appreciate any help. You can attach a file or post the .bat code here, and I will adapt for my needs (of course, clean up your id/pws from the file! ). As I said, would be interested in buying an application possibly more powerful to automate all these tasks.

Many thanks!

Reply With Quote
 
  #2 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,240 since Jun 2009
Thanks: 29,356 given, 83,237 received

More modern examples would use AutoHotKey to launch on start-up, so you can manage the usernames/passwords of the programs, catch exceptions, etc. A DOS batch file won't work in this scenario if you need something more than simply launching an executable, and AutoHotKey is easier than using VB script in a command file.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:
 
  #3 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received


I'm still looking for an example of this (maybe using AutoHotkeys or any other application).

Anybody has created something that they could share or have any other ideas? Maybe there is an application out there that can automate this without too much coding.

I started to play with AutoHotKeys, but it seemed quite time consuming. I want a very simple solution to do this. Maybe is just a business opportunity for someone out there to create an app in which you just enter a list of executables, id/pw, and it would do the rest for you.

Reply With Quote
 
  #4 (permalink)
Trading for Fun
Merida, Yucatan, Mexico
 
Futures Experience: Intermediate
Platform: Sierra Chart, ThinkorSwim
Broker/Data: Inifinity
Favorite Futures: NQ, YM, ES, CL, GC, 6E
 
Posts: 79 since Nov 2010
Thanks: 13 given, 50 received

First of all, they are no longer .bat files. They are now .cmd files, since Windows NT, which all modern windows os'es are based on. Same thing basically.

You can type the path and exe file you want run, one per line. Check the application documentation to see if you can pass command line parameters, like user names and passwords, to them. If you need mouse control, because there is no other way, then AutoHotKey or AutoIT can do that.


Sent from my iPad using futures.io

Reply With Quote
The following user says Thank You to bradhouser for this post:
 
  #5 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received

I got that...

I'm still looking for an example (of course, with removed id/pws).

Just want something to start with to save me time. I'm surprised I'm the first one with this need.

If you don't have an example, please, no need to post.

Anybody?


Last edited by dstrader; November 22nd, 2016 at 06:22 PM.
Reply With Quote
 
  #6 (permalink)
Trading for Fun
Merida, Yucatan, Mexico
 
Futures Experience: Intermediate
Platform: Sierra Chart, ThinkorSwim
Broker/Data: Inifinity
Favorite Futures: NQ, YM, ES, CL, GC, 6E
 
Posts: 79 since Nov 2010
Thanks: 13 given, 50 received

Maybe if you tell us what applications you want to open, you will get a more specific response. I would like to help, but all i can do is point in a general direction.




Sent from my iPad using futures.io

Reply With Quote
 
  #7 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received


bradhouser View Post
Maybe if you tell us what applications you want to open, you will get a more specific response. I would like to help, but all i can do is point in a general direction.

It's on my first post.

I need to open:
- Tradestation
- Investor R/T
- NinjaTrader
- ThinkorSwim
- StreetSmart Edge (Schwab)
- Vectorvest
- WinTV (no password required - this is just an app to watch TV/CNBC via my tv tuner card). This is optional.

I also need to login into Dough.com inside a browser (which may be complicated), but just being able to do the above would save me a lot of time every morning.

Any example with 3 or 4 of the above would help me to put the remaining together. I'm just looking for some example that works to start...

Reply With Quote
 
  #8 (permalink)
Trading for Fun
Merida, Yucatan, Mexico
 
Futures Experience: Intermediate
Platform: Sierra Chart, ThinkorSwim
Broker/Data: Inifinity
Favorite Futures: NQ, YM, ES, CL, GC, 6E
 
Posts: 79 since Nov 2010
Thanks: 13 given, 50 received

This should answer your question


dstrader View Post
It's on my first post.

I need to open:
- Tradestation
- Investor R/T
- NinjaTrader
- ThinkorSwim
- StreetSmart Edge (Schwab)
- Vectorvest
- WinTV (no password required - this is just an app to watch TV/CNBC via my tv tuner card). This is optional.

I also need to login into Dough.com inside a browser (which may be complicated), but just being able to do the above would save me a lot of time every morning.

Any example with 3 or 4 of the above would help me to put the remaining together. I'm just looking for some example that works to start...

OK. You have a couple options.
1. A keystroke/mouse recorder: www.mouserecorder.com This will let you record any number of mouse movements, clicks, and text for later playback. This may be a simpler choice than using AutoHotkey.

2. Instead of shutting down your system at night, leave all your apps running and use Hibernate instead of Shutdown. This saves a copy of everything in memory to disk before shutting down. When you wake up the system, it restores everything back to RAM without rebooting or restarting your apps.
Hibernate is not the same as Sleep, as Sleep keeps the RAM powered up, which if you are on battery, can eventually drain and everything in memory is lost. If continuous power is not an issue, Sleep is also an option. Plus it is faster waking up than Hibernate.

If Hibernate does not appear on your Power menu, you enable it in Control Panel>Power Options. (Laptops usually have it enabled, desktops may not.) Note that you need enough free disk space on your boot disk for the amount of RAM you have.

I suggest doing both: Sleep or Hibernate for every day, and Mouse Recorder for when reboots are needed.

Hope this helps.


Reply With Quote
The following 3 users say Thank You to bradhouser for this post:
 
  #9 (permalink)
Elite Member
Chicago, USA
 
Futures Experience: Advanced
Platform: TradeStation, NinjaTrader, Market Delta, TOS, StreetSmartEdge, OptionXpress
Favorite Futures: ES, currency futures, options, stocks
 
Posts: 183 since Dec 2010
Thanks: 283 given, 248 received

@bradhouser

Thanks! I have some comments:

1- This looks good and easy to implement. I will give it a try and report here (probably over the weekend)

2- I don't recommend using Hibernate/Sleep on a trading workstation. I had a misbehaved trade once caused by memory issues with Tradestation few years ago when I used to do that (Sleep). This issue actually cost me money. Tradestation specifically told me to disable Sleep and Hibernate on the trading workstation.
After looking closely over the years on the behavior of some trading applications I believe it's better actually to shutdown all apps and the workstation and recycle everything and have a fresh start every day. For example, I noticed that TOS and Investor RT are known for constantly increasing memory usage.

Thanks again!

Reply With Quote
The following 2 users say Thank You to dstrader for this post:
 
  #10 (permalink)
Market Wizard
London UK
 
Futures Experience: Beginner
Platform: CQG
Favorite Futures: Futures
 
xplorer's Avatar
 
Posts: 3,059 since Sep 2015
Thanks: 6,584 given, 4,839 received
Forum Reputation: Legendary



dstrader View Post
@bradhouser

2- I don't recommend using Hibernate/Sleep on a trading workstation. I had a misbehaved trade once caused by memory issues with Tradestation few years ago when I used to do that (Sleep). This issue actually cost me money. Tradestation specifically told me to disable Sleep and Hibernate on the trading workstation.
After looking closely over the years on the behavior of some trading applications I believe it's better actually to shutdown all apps and the workstation and recycle everything and have a fresh start every day. For example, I noticed that TOS and Investor RT are known for constantly increasing memory usage.

I would second that.

Reply With Quote

Reply



futures io > > > > Batch file to start all my trading applications

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applications of Trading Psychology Cornix Psychology and Money Management 1 October 6th, 2014 12:51 AM
Game theory applications in trading treydog999 Traders Hideout 2 June 12th, 2013 03:08 AM
New to trading ? Start with forex. MetalTrade Currency Futures 25 February 3rd, 2012 10:09 PM
SMA with Discretionary Start Time and Start Date for MC tradernovice EasyLanguage Programming 4 July 29th, 2011 07:50 PM
How to start a trading business? Jaime Oreffa Beginners and Introductions 4 April 17th, 2011 09:20 PM


All times are GMT -4. The time now is 03:23 AM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-18 in 0.14 seconds with 19 queries on phoenix via your IP 54.163.209.109