开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育
Re: TWSAPI: General: Anyone know how to refrence a webpage and read it?
Gernot Wrote: "I hope this comments are of some value – or is this forum just a VB/Excel training camp. In that case I would stop posting." Your posts are totally
By marinindextrader <marinindextrader@...> · #101 ·
Re: DDE Linking Excel Dircectly to Excel across network
GoldSilverMana: This may help... From Dale on another board: I'm not sure this is exactly what you want, but have you considered Synmantec's pcAnywhere product? I use it to remotely view and
By marinindextrader <marinindextrader@...> · #102 ·
Re: TWSAPI: General: Anyone know how to refrence a webpage and read it?
MessageWith VB I'd rather use the winsock control directly. I found some bugs with the INET control. I think this happened in asynchronous mode. Here is a good site on how to use the winsock control
By Louis <louis.o@...> · #103 ·
VB and ActiveX....updateExtended() Method????
Anyone know if the updateExtended() method is still part of the ActiveX/VB? If not, how does one implement the extended order properties such as tif, oca, and transmit? I am new to programming and
By mickjenks <no_reply@...> · #104 ·
Extended order attributes and placeOrder() method
Regarding the question in my previous post regarding the updateExtended() event. To clarify, how does one specify the extended properties such as tif, oca, transmit, etc when placing the order? I
By mickjenks <no_reply@...> · #105 ·
VB: Get Open High Low Close as Project
Re Posted the Get Open High Low Close BAS Module as a project. There was an minor error in the code. Sorry for the double posting. Next time I will take more time to beat on it before I post it.
By marinindextrader <marinindextrader@...> · #106 ·
Re: VB and ActiveX....updateExtended() Method????
I guess updateExtended() method doesn?t exist anymore. BTW: never heard about it. You can set TIF, OCA, Transmit etc. directy. These are the ActiveX properties. I am not a VB programmer, I love
By bee_jay_61 <no_reply@...> · #107 ·
Looking for a complete guide/consultancy on setting up a conditional order
Hi guys, I am a new IB user, a futures daytrader and have no idea on programming. After looking the simple user guide from IB website, I can do nothing with those sample spreadsheets. I post here
By ibwin2k <ibwin2k@...> · #108 ·
Re: VB and ActiveX....updateExtended() Method????
The IB documentation for OCA orders via the TWS API is pretty thin. The only thing I can find is that the string OCA property "identifies an OCA group." Does anyone know how to go about actually
By BrianL_98 <brianl_98@...> · #109 ·
Re: twsapi: Looking for a complete guide/consultancy on setting up a conditional order
Hi there, I have written a program that meets some of your requirements. http://bullhaven.tripod.com/TradeExecutor/TradeExecutor.htm todd --- ibwin2k <ibwin2k@...> wrote:
By Todd Turner <todd_a_turner@...> · #110 ·
Re: twsapi: Re: VB and ActiveX....updateExtended() Method????
As with many features, OCA functionality is parallel in the API and the GUI, so reading the TWS docs on this would be a good idea. The OCA string is an identifier assigned by you to group orders
By Elliot Lee <sopwith@...> · #111 ·
Java API
My program currently is structured as follows: class TWS implements EWrapper { public void requestdata(...) public void tickPrice(...) public void tickSize(...) ... public void wait_trans()
By usernew <no_reply@...> · #112 ·
Re: twsapi: Java API
I am not familiar with Java, but you need some sort of system call Sleep(int timeout_msecs), so that the process blocks until the timeout occurs. This functionality is provided by the OS. ---
By Todd Turner <todd_a_turner@...> · #113 ·
Re: updateExtended(), extended properties, etc, etc
Thanks Elliot, However, I have read the TWS docs and understand the purpose of OCA. That was never the question. The placeOrder() method doesn't include in its declaration a variable for sending an
By mickjenks <no_reply@...> · #114 ·
Re: updateExtended(), extended properties, etc, etc
OCA. include does Once Again. Use the ActiveX properties to set OCA, TIF and Transmit. The ActiveX is written in C++ and uses then WinSocket API. Look at the C++ API for more information.
By bee_jay_61 <no_reply@...> · #115 ·
Re: updateExtended(), extended properties, etc, etc
Mick, I havn't gotten to that point in my work, but perhaps ultimately OCA is not server sided? In other words the TWS manages internally a marker...that ostensibly is sent back and forth, but all
By marinindextrader <marinindextrader@...> · #116 ·
Re: twsapi: Java API
Yeah, I tried that and got exceptions. The problem might be that when you sleep the whole thread is put to sleep, so the event tickprice etc. callbacks can't happen. So, a regular sleep might not
By usernew <no_reply@...> · #117 ·
Re: twsapi: Java API
I believe that the callbacks only occur during a call to requestData(). In my initial testing I used Sleep with no problem. I now have Windows sending a WM_TIMER message to my apps message queue
By Todd Turner <todd_a_turner@...> · #118 ·
Re: twsapi: Java API
btw, Have you been able to call connect, and then call disconnect and then call connect again? The second call to connect always seems to cause an exception inside the API, for me anyway. --- Todd
By Todd Turner <todd_a_turner@...> · #119 ·
Re: twsapi: Java API
So you are saying tickPrice, tickSize etc. are guaranteed to happen by the time requestData() returns ? I thought tickPrice etc. were completely asynchronous.
By usernew <no_reply@...> · #120 ·