Page 1 of 1

What's your favorite programming platform?

Posted: Fri Jan 15, 2010 1:59 pm
by jklatt
I just upgrade my Windows machine to 64 bit Windows 7 and when trying to reinstall my version of Matlab (it's OLD -- from the early 2000s), it no longer works.

I've been thinking of switching platforms for a while now and I think this might be a good time to look into doing so.

I have some experience with Pascal (hah!) and C++ from my college days but I wouldn't mind taking the time to learn something entirely new if I felt like the benefits were worth it.

What am I looking for in the software?

1) GUI functionality
2) Flexible and fast database and file management
3) Internet / Web Server functionality -- being able to generate relatively simple internet pages to display spread sheet type information and being able to pull data from a web server rather than having everything stored on a local machine.

Maybe there's a lot of other features that would be helpful that I'm not thinking of?

Anyway... what's your favorite platform to service your trading needs?

Posted: Fri Jan 15, 2010 4:57 pm
by Asamat
My package of solutions for some of your points include:
- Eclipse as IDE (unsurpassed in my opinion)
- java as language
- Open Office calc as spreadsheet
- mySQL + Squirrel as DB

You get all that on the web, no license costs. For a new language to learn either java or C# are the only candidates, IMHO.

To display information per web page initially I generated xml files, which I displayed in the browser using xslt transformations. After spending a lot of time formatting webpages that way, I realized that the best program to display speadsheet type information is an actual spread sheet program. :-) Now I call Open Office calc per API from java.

Posted: Fri Jan 15, 2010 5:18 pm
by Jez Liberty
I personally use C# and it is probably as good as java:
it has built-in libraries to easily connect to the internet, manipulate files, access DBs, and develop GUIs
I think between java and C# is probably personal choice more than anything else... I use C# every day at work and for some reason I tried to learn java at home - only to switch back to C# later - i am just much more efficient with it...
The M$ Visual Studio Express IDE does the job - and is free

As a DB I use MySQL also (with TOAD for MySQL)

Posted: Fri Jan 15, 2010 10:54 pm
by sluggo
Please define "platform" as used in

favorite programming "platform"

Posted: Sat Jan 16, 2010 12:04 am
by jklatt
"Please define "platform" as used in "

Programming language -- I should have used the word language, not platform.

I have yet to trade a suite of systems on a well diversified basket of foreign and domestic futures interests let alone doing so on a daily basis, but it seems that some independent traders use software other than Trading Blox to handle some of the automated workload associated with the daily routine of executing the trading. So what programming language(s) or software packages do some of you use other than Trading Blox and what do you use them to do?

Posted: Sat Jan 16, 2010 11:13 am
by sluggo
Philosophically, I think that when MOM or OPM is involved, paranoia is the appropriate stance. You can't be too careful.

Therefore it seems a very good idea to keep (your trading environment) and (the World Wide Web) as far apart as possible. The objective is to make it extremely difficult, or impossible, for hackers, phishers, infiltrators, worms, rootkits, keyloggers, exploiters, shellcoders, hijackers, and Naughty People In General, to access your trading computer, or your data files related to trading, or the software you use in trading. If they can't reach you, if they can't touch you, there's less chance they can hurt you.

Embracing this philosophy, I've decided to make my trading software unaware of, and disconnected from, the internet. It runs on physical, not virtual, computers. In my office, not in "the cloud". By the way, here's a sobering little reminder about the cloud: LINK.

After (very costly!) field testing, I decided to (re)design my software so it can be operated by the most incapable bonehead and fatfingered dunce on the planet: me, on vacation, in a distant timezone, where sunny beach activities and turismo restaurants and copious Tropical Beverages are involved. This means: store all data in ASCII, for human readability. When something goes wrong with the software, far from home, at 2:45 in the morning, I want to be able to diagnose and fix the problem with only 1/3rd of my brain working. For me, that means ASCII.

Yes, processing data in ASCII is slower. It's also simpler. When you've got Montezuma's Revenge but still need to generate orders from your cabana in Costa Rica, simpler is better. So the programming environment I use is: The Windows Command Prompt aka "the DOS box". Most of my code is written in Perl and invoked via .BAT scripts. (Recall that perl code and bat scripts are stored in ASCII and so are human readable). Occasionally I'll code up something in C++ when opacity is tolerable; if so, it's compiled as a Console Application without a GUI. And invoked via a .BAT script.

All of the above refers to "Daily Operations", the things necessary to trade real money in a real account on real markets, every day. "Trading Research" is a different story, where MOM or OPM are not quite as immediately involved, and less paranoia might be acceptable.

MOM = My Own Money
OPM = Other People's Money

Posted: Tue Mar 02, 2010 11:40 pm
by nonpareil
ok, I'll bite. Sluggo, how are you accessing your console machine remotely then? Through the Windows remote connection or via other means?

Thanks, was curious.

Posted: Wed Mar 03, 2010 8:04 am
by sluggo
When away from home (e.g. vacationing) I bring a trading computer with me.

To run Blox and Perl: Laptop computer + USB thumbdrive + file encryption + steganography + obscurity. (my answer to: What if computer is lost, stolen, confiscated, or rummaged by customs & immigration?)

To download prices and upload orders: the above (includes LAN, WiFi) + USB 56k modem + loads of adapter/extender cables + accounts on AOL, NetZero, and MaGlobe.

Has worked well in the continental US, Mexico, Hawaii, and the Caribbean. Haven't tried it in Oz, Asia, Europe, Africa, Middle East, or South America.

Security during travel

Posted: Sat Mar 06, 2010 9:30 am
by techtrade89
Sluggo -

When you travel don't you have to hook up to the internet then to get fresh data? Doesn't that impact the idea of keeping the system away from the internet?

Also, any suggestions on good places to look re practical stenography?

Thanks in advance!


Posted: Sat Mar 06, 2010 9:42 am
by techtrade89
correction/addendum to prior post:

1. Are you saying that you bring two laptops, one for data and for trading systems?

2. Any info re "steganography" not "stenography" (you can see I am not all that familiar with this yet . . . although probably "stenography" might be a fascinating topic in its own right . . . )


Posted: Fri Nov 12, 2010 8:04 am
by FuturesTrend
Can you share your Perl libraries?

I saw your post in other thread that you use microemac :-)
I am impressed.


Posted: Fri Nov 12, 2010 9:12 am
by kianti
sluggo wrote:To download prices ....
Let's say I have CSI data and I'm travelling. As far as I know you can only use one PC to download. What would you suggest as a set up to get CSI data while I'm travelling on a laptop?

Best regards, as ever

Posted: Fri Nov 12, 2010 9:29 am
by LeviF
When I am traveling I log into my home computer to download data and run orders. I use and can use any computer on the web to do so. Its free.

If i cant get to a computer, I have an app on my Droid phone that allows me to log into my home computer. Its a bit more tedious to navigate on a tiny screen, but it is manageable if needed.

Posted: Fri Nov 12, 2010 11:33 am
by kianti
LeviF wrote:I use and can use any computer on the web to do so. Its free....
Thanks, just what I'll need.
LogMeIn wrote: Wake on LAN. Wake a remote computer that is sleeping, or turn on one that is off, right from your web browser. Lets you save energy and still service or access your remote computers.

Posted: Fri Nov 12, 2010 11:46 am
by LeviF
I shouldnt say any computer on the web. I couldnt do it from the computer lab on my last cruise. Their security settings wouldnt let me run java or something like that. Good thing nothing notable happened in the markets that week!

Posted: Fri Nov 12, 2010 11:53 am
by kianti
LeviF wrote:I couldnt do it from the computer lab on my last cruise...
:shock: :D :lol: :shock: :lol: :D