What's your favorite programming platform?

Discussions about custom-built testing platforms written in C, C++, or Java.
Post Reply
jklatt
Roundtable Fellow
Roundtable Fellow
Posts: 79
Joined: Sat Feb 17, 2007 11:51 am

What's your favorite programming platform?

Post by jklatt » Fri Jan 15, 2010 1:59 pm

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?

Asamat
Roundtable Knight
Roundtable Knight
Posts: 175
Joined: Fri Jun 03, 2005 7:50 am
Location: Walldorf, Germany

Post by Asamat » Fri Jan 15, 2010 4:57 pm

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.

Jez Liberty
Roundtable Knight
Roundtable Knight
Posts: 123
Joined: Tue Nov 03, 2009 8:49 am
Location: London
Contact:

Post by Jez Liberty » Fri Jan 15, 2010 5:18 pm

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)

sluggo
Roundtable Knight
Roundtable Knight
Posts: 2986
Joined: Fri Jun 11, 2004 2:50 pm

Post by sluggo » Fri Jan 15, 2010 10:54 pm

Please define "platform" as used in

favorite programming "platform"

jklatt
Roundtable Fellow
Roundtable Fellow
Posts: 79
Joined: Sat Feb 17, 2007 11:51 am

Post by jklatt » Sat Jan 16, 2010 12:04 am

"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?

sluggo
Roundtable Knight
Roundtable Knight
Posts: 2986
Joined: Fri Jun 11, 2004 2:50 pm

Post by sluggo » Sat Jan 16, 2010 11:13 am

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

nonpareil
Roundtable Fellow
Roundtable Fellow
Posts: 62
Joined: Fri Nov 06, 2009 11:39 am

Post by nonpareil » Tue Mar 02, 2010 11:40 pm

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.
Last edited by nonpareil on Wed Mar 03, 2010 8:40 am, edited 1 time in total.

sluggo
Roundtable Knight
Roundtable Knight
Posts: 2986
Joined: Fri Jun 11, 2004 2:50 pm

Post by sluggo » Wed Mar 03, 2010 8:04 am

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.

techtrade89
Senior Member
Senior Member
Posts: 28
Joined: Tue Dec 30, 2008 5:36 pm

Security during travel

Post by techtrade89 » Sat Mar 06, 2010 9:30 am

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!

techtrade89
Senior Member
Senior Member
Posts: 28
Joined: Tue Dec 30, 2008 5:36 pm

correction

Post by techtrade89 » Sat Mar 06, 2010 9:42 am

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 . . . )

Thanks!

FuturesTrend
Contributor
Contributor
Posts: 2
Joined: Mon Nov 01, 2010 12:12 am

Post by FuturesTrend » Fri Nov 12, 2010 8:04 am

Sluggo,
Can you share your Perl libraries?

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

Cheers,

kianti
Roundtable Knight
Roundtable Knight
Posts: 335
Joined: Fri May 02, 2003 6:10 am
Location: Florence - Italy

Post by kianti » Fri Nov 12, 2010 9:12 am

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

LeviF
Roundtable Knight
Roundtable Knight
Posts: 1428
Joined: Mon Dec 22, 2003 12:24 pm
Location: Des Moines, IA
Contact:

Post by LeviF » Fri Nov 12, 2010 9:29 am

When I am traveling I log into my home computer to download data and run orders. I use logmein.com 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.

kianti
Roundtable Knight
Roundtable Knight
Posts: 335
Joined: Fri May 02, 2003 6:10 am
Location: Florence - Italy

Post by kianti » Fri Nov 12, 2010 11:33 am

LeviF wrote:I use logmein.com 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.

LeviF
Roundtable Knight
Roundtable Knight
Posts: 1428
Joined: Mon Dec 22, 2003 12:24 pm
Location: Des Moines, IA
Contact:

Post by LeviF » Fri Nov 12, 2010 11:46 am

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!

kianti
Roundtable Knight
Roundtable Knight
Posts: 335
Joined: Fri May 02, 2003 6:10 am
Location: Florence - Italy

Post by kianti » Fri Nov 12, 2010 11:53 am

LeviF wrote:I couldnt do it from the computer lab on my last cruise...
:shock: :D :lol: :shock: :lol: :D

Post Reply