Quote from Shreddog:
I have no idea, it might be something specific to the basket trader itself, which I've never used. I haven't seen the example you are referring to either. But really, you should at least understand what the different datatypes are in VB. Your question would have had an obvious answer if you understood this, and this is extremely basic. I mean like "Day 1" basic.
So what are you going to do after things work on the demo platform? You still will have lots of coding to do in the future and you still won't have the basics to fall back on. How will you progress from those very very limited examples Sterling provides? IMO you don't even know enough to ask the right questions on this thread.
I should also mention another friend that took down all of his firm's execution servers for half a day with a coding error. This happened last week. It was a 5 figure error. He also is an experienced coder. I'd put a good deal of the blame on the firm for having such a fragile environment, but still, things get out of control very quickly when automated. I also had a 66K error a couple years ago that wasn't due to a coding error, but could have been caught with better error checking in my code.
You aren't using Easylanguage or some other broker specific language. There is no safety net with these languages.
I don't mean to rag on you, but I think I'm doing you an honest favor by encouraging you to step back and learn at least the basics. 2 weeks of intensive study with a "Learn VB" book will at least teach you enough to ask the right questions and maybe help you better understand the risks you are taking.