Alright I'll bite.....
I'm very familiar with the VBBasket Example as I built a few bots starting with that code.....
lvStocks.ListItems(intOrderCount).SubItems(1)
is a row/column in the listview lvStocks... eg. it's an object in their program, the grid that you see... Unless you have replicated it in your program and named it lvStocks then I'm surprised your program will even run/compile without errors...
Anyways, listen to these guys, you need to be very careful. A 500$ stop loss by your firm will NOT cap your losses @ 500$, you could easily lose 100X that if a few things go wrong.
btw, check out this:
http://sterlingfinancialsystems.com/documents/Documentation/Special_Test_Guide.pdf
it's a guide for the demo mode, as different symbols will give you different behaviour. fill, partial, pending etc...
- mnx
I'm very familiar with the VBBasket Example as I built a few bots starting with that code.....
lvStocks.ListItems(intOrderCount).SubItems(1)
is a row/column in the listview lvStocks... eg. it's an object in their program, the grid that you see... Unless you have replicated it in your program and named it lvStocks then I'm surprised your program will even run/compile without errors...
Anyways, listen to these guys, you need to be very careful. A 500$ stop loss by your firm will NOT cap your losses @ 500$, you could easily lose 100X that if a few things go wrong.
btw, check out this:
http://sterlingfinancialsystems.com/documents/Documentation/Special_Test_Guide.pdf
it's a guide for the demo mode, as different symbols will give you different behaviour. fill, partial, pending etc...
- mnx
Quote from Sandybestdog:
Yes I noticed that when I put âorder.LmtPrice = 5.00â it executes fine at 5.00. So if a number is required, what is âorder.LmtPrice = lvStocks.ListItems(intOrderCount).SubItems(1) ' Bidâ ? I am assuming that they are referencing something, but I canât find what. Sterling gives no examples of using limit orders, this was taken from the basket example code.