ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: twsapi: QCharts

Scott
 

YOU end up getting scalped.

Try this utility to automatically manage your server selection: It helps.

QFAI InstallReadMe.txt

You need to be a Qcharts Yahoo board member to download.



Do You Yahoo!?
- Get free new car price quotes


QCharts

Christian Czirnich
 

Dan,
I'm trading from Germany, so this might be part of the problem, but I'm experiencingalmost daily Ticker delays of upto 30sec with QCharts in comparison to IB and ESignal. It just might be the path to their serverfarms, but it's a little bit difficult to scalp the futures, when you have lagging charts.
Croc
* REPLY SEPARATOR *

On 07/17/2002 at 12:29 Daniel Rosen wrote:
What kind of problem are you having with QCharts? I just signed up.
... Dan
-----Original Message-----
From: Christian Czirnich [mailto:crocodile_1964@...]
Sent: Wednesday, July 17, 2002 10:25 AM
To: twsapi@...
Subject: twsapi: Order Entry System using IB (TWS) and ESignal (WinRos)

Hi members.
Due to the timelag the QCharts Datafeed experiences especially the first and last 30 minutes of trading, I'm considering using the ESignal Datafeed for my Order Entry System.
The ESignal Datafeed can be accessed through a DDE-call to Winros.exe (The Datamanger from ESignal).
Due to my only modest programming skills and since I've used 'till today only Active-X applications I'm at
a loss how to program the VB DDE-call to Winros, to get streaming realtime data for select Futures.
I don't need the exact calls to Winros, the general description of a DDE call from VB would be sufficient.
In Excel the call would be: =winros|key!symbol
with key = Last, High, Low, Volume ...
Perhaps someone could help.
Thanks.

croc

------------------------------------------------------------------------------------
CZIRNICH , WOLF und Kollegen
Rechtsanwaelte

Rechtsanwalt Christian Czirnich
Taetigkeitsbereich EDV- und Onlinerecht
Fachjournalist f�r Rechtsthemen

Noerdliche Auffahrtsallee 65
80638 M�nchen
Tel.: +49-89-17862-112
Tel.: 0700-CZIRNICH
Fax: 49-89-17862-120

E-Mail: christian.czirnich@...
URL: www.onlinekanzlei.de


To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


Re: Error code

marinindextrader
 

Bruce,

You need to trap the Error Message EVENT.

Private Sub Tws1_errMsg(ByVal str As String)
Text1.Text = str
End Sub

The event ostensibly is generated by TWS in response to client (you)
events or perhaps a server sided event.

The error messages are fed back to you and can be captured and
diseminated if you put some code in the errMsg EVENT.

If you are on your main form code window(the one that has the Active-
X on it), you can expose all of the events of the TWS control by
setting your cursor in a an Event that is present on your form, and
then browsing the right hand drop down combo box at the top right of
your code form.

For instance set your editor cursor inside of the tickPrice event.
Drop the combo down and click on the errMsg event.

The event is dropped on the code editor. Inside of that just trap the
string by setting a string type variable = to the str Message.

Then what you do with it is your own making.

Scott

--- In twsapi@y..., "Bruce Hawkins" <hawkinsk001@h...> wrote:
Hi,

I have been working (struggling) with a VB based standalone prog.
to enter orders to TWS. I had it at a
point where after my initial order was filled my stop would be sent
out. Anyway at some point I lost my price data.

I have been over the code seems to match a previous version that I
would get price data with.

On to my question is there a way to get the various errors that
can be generated (already connected, duplicate ID, etc,)
into my program. I have tried using the code for the Excel
spreadsheet but I am not doing it right.

Thanks for your response,

Bruce


Re: Openorder2 Event

 

So thats strange that openorders are only sent one time at
connect?
How about during the session when you create new orders...Don't we
You get the status of new orders via the orderstatus callbacks.
There can be a signficant time delay between sending the order, and
getting it's status back to let you know it's actually been
accepted. If you modify the order during this period (ie a trailing
stop), you will generate errors.


Re: Openorder2 Event

m_c_a98
 

Thanks for the replies.

So thats strange that openorders are only sent one time at connect?
How about during the session when you create new orders...Don't we
need to make sure that TWS has the correct stop prices? they should
fix this.

Also, before this past weekend I had never used visual basic before
(I'm not a programmer at all) and I've already got a functioning app
that I prefer over TWS. I just am now trying to work out my
automated stops.

Scott, can you post an example for autostops in the file section?

I already know the logic I'm going to use, I just need work on my
coding syntax, etc.









--- In twsapi@y..., "grozzie2" <grozzie2@y...> wrote:
--- In twsapi@y..., "m_c_a98" <mmcfadd@s...> wrote:
Does the openorder2 event work by calling the reqopenorder( )
method?

I enter a stop order then call reqopenorder( ) and then I want to
retrieve the open stop orders' AUXPRICE from the openorder2 event.

this doesn't work for me? any ideas?

All I want is to get my current stop price of the working order.

thanks

To do that, you have to remember the price of the order when you
sent
it in. None of the reqOrder stuff works, except to give you the
list
of orders already open when it starts up. After that, you are on
your own, remember what you send, cuz TWS isn't gonna tell you.


Error code

 

Hi,
I have been working (struggling) with a VB based standalone prog. to enter orders to TWS. I had it at a
point where after my initial order was filled my stop would be sent out. Anyway at some point I lost my price data.
I have been over the code seems to match a previous version that I would get price data with.
On to my question is there a way to get the various errors that can be generated (already connected, duplicate ID, etc,)
into my program. I have tried using the code for the Excel spreadsheet butI am not doing it right.
Thanks for your response,
Bruce


Re: Openorder2 Event

 

--- In twsapi@y..., "m_c_a98" <mmcfadd@s...> wrote:
Does the openorder2 event work by calling the reqopenorder( )
method?

I enter a stop order then call reqopenorder( ) and then I want to
retrieve the open stop orders' AUXPRICE from the openorder2 event.

this doesn't work for me? any ideas?

All I want is to get my current stop price of the working order.

thanks

To do that, you have to remember the price of the order when you sent
it in. None of the reqOrder stuff works, except to give you the list
of orders already open when it starts up. After that, you are on
your own, remember what you send, cuz TWS isn't gonna tell you.


Re: twsapi: is "cdemo" not working these days?

 

--- In twsapi@y..., "marinindextrader" <marinindextrader@y...> wrote:
Again, yesterday and today, No Problem With CDEMO or EDEMO. I dont
know if its the socket port I am using (doubt it). I use 7497 for
CDEMO and 7496 for EDEMO...
It's been totally non functional here from about 8:30 pacific time
(11:30 est) till about half an hour after the market opens, for the
last couple of days.


Re: Openorder2 Event

jaba_z
 

It works only once after you connect to tws. Every subsequent requests
are disregarded.

J

--- In twsapi@y..., "m_c_a98" <mmcfadd@s...> wrote:
Does the openorder2 event work by calling the reqopenorder( ) method?

I enter a stop order then call reqopenorder( ) and then I want to
retrieve the open stop orders' AUXPRICE from the openorder2 event.

this doesn't work for me? any ideas?

All I want is to get my current stop price of the working order.

thanks


Openorder2 Event

m_c_a98
 

Does the openorder2 event work by calling the reqopenorder( ) method?

I enter a stop order then call reqopenorder( ) and then I want to
retrieve the open stop orders' AUXPRICE from the openorder2 event.

this doesn't work for me? any ideas?

All I want is to get my current stop price of the working order.

thanks


commission how much ?

usernew
 

How should I compute commission for a trade ?

On IB website this is what I saw:
U.S. Markets
(All transaction fees and order types included)
Stocks: $0.01/Share <=500
$0.005/Share >500 (Incremental)
$0.02/VWAP Share
Options: $1.00/Contract
Futures: $2.40/Contract
$2.95/NYMEX Contract

I am doing MKT, STK trading. So, this means, if I buy 100 shares of
something and lets say MKT price is $1/share and my account balance
is $200, the total commission will be $1 and the account balance
should be $99 after the purchase ?

Thanks.


Re: twsapi: Order Entry System using IB (TWS) and ESignal (WinRos)

Daniel Rosen
 

What kind of problem are you having with QCharts? I just signed up.
... Dan

-----Original Message-----
From: Christian Czirnich [mailto:crocodile_1964@...]
Sent: Wednesday, July 17, 2002 10:25 AM
To: twsapi@...
Subject: twsapi: Order Entry System using IB (TWS) and ESignal (WinRos)

Hi members.
Due to the timelag the QCharts Datafeed experiences especially the first and last 30 minutes of trading, I'm considering using the ESignal Datafeed for my Order Entry System.
The ESignal Datafeed can be accessed through a DDE-call to Winros.exe (The Datamanger from ESignal).
Due to my only modest programming skills and since I've used 'till today only Active-X applications I'm at
a loss how to program the VB DDE-call to Winros, to get streaming realtime data for select Futures.
I don't need the exact calls to Winros, the general description of a DDE call from VB would be sufficient.
In Excel the call would be: =winros|key!symbol
with key = Last, High, Low, Volume ...
Perhaps someone could help.
Thanks.

croc

------------------------------------------------------------------------------------
CZIRNICH , WOLF und Kollegen
Rechtsanwaelte

Rechtsanwalt Christian Czirnich
Taetigkeitsbereich EDV- und Onlinerecht
Fachjournalist für Rechtsthemen

Noerdliche Auffahrtsallee 65
80638 München
Tel.: +49-89-17862-112
Tel.: 0700-CZIRNICH
Fax: 49-89-17862-120

E-Mail: christian.czirnich@...
URL: www.onlinekanzlei.de


To unsubscribe from this group, send an email to:
twsapi-unsubscribe@...



Your use of Yahoo! Groups is subject to the .


Financial Theme ICO files....

marinindextrader
 

Bit off subject but....

Does anyone have a collection of Financial Theme ICO files they have
collected over time they might be willing to share for use in toolbar
controls?

Candelstick Chart MSH ICO would be killer.

Scott


Re: twsapi: is "cdemo" not working these days?

marinindextrader
 

Again, yesterday and today, No Problem With CDEMO or EDEMO. I dont
know if its the socket port I am using (doubt it). I use 7497 for
CDEMO and 7496 for EDEMO...

Have you tried a re-install? of a prior version?
I have declined any recent upgrade attempts.

Scott

--- In twsapi@y..., manish gupta <manish_a1tech@y...> wrote:
hi

From last day , tws demo is not showing any price.
Is this problem is with every one?

If somebody nkows about it, please tell it



--- fmoslehi <fmoslehi@h...> wrote:
I don't see any prices in cdemo! what's up?



__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes


Re: cdemo account

marinindextrader
 

No.

Anyone may log on to cdemo (commodities demo) or edemo (equities
demo) using the passwrod "demouser"

Scott
--- In twsapi@y..., "Kent Rollins" <kentr@m...> wrote:
Does TWS require that I open an account with IB to write a test app
against
the cdemo account?

Kent


cdemo account

 

Does TWS require that I open an account with IB to write a test app against
the cdemo account?

Kent


Order Entry System using IB (TWS) and ESignal (WinRos)

Christian Czirnich
 

Hi members.
Due to the timelag the QCharts Datafeed experiences especially the first and last 30 minutes of trading, I'm considering using the ESignal Datafeed for my Order Entry System.
The ESignal Datafeed can be accessed through a DDE-call to Winros.exe (The Datamanger from ESignal).
Due to my only modest programming skills and since I've used 'till today only Active-X applications I'm at
a loss how to program the VB DDE-call to Winros, to get streaming realtime data for select Futures.
I don't need the exact calls to Winros, the general description of a DDE call from VB would be sufficient.
In Excel the call would be: =winros|key!symbol
with key = Last, High, Low, Volume ...
Perhaps someone could help.
Thanks.

croc

------------------------------------------------------------------------------------
CZIRNICH , WOLF und Kollegen
Rechtsanwaelte

Rechtsanwalt Christian Czirnich
Taetigkeitsbereich EDV- und Onlinerecht
Fachjournalist fr Rechtsthemen

Noerdliche Auffahrtsallee 65
80638 Mnchen
Tel.: +49-89-17862-112
Tel.: 0700-CZIRNICH
Fax: 49-89-17862-120

E-Mail: christian.czirnich@...
URL: www.onlinekanzlei.de


Re: twsapi: Re: Normal Distribution in Vbasic

Nick
 

That's a step in the right direction, but is there no built in
function in VB? It seems ridiculous that it would be left out.
If you don't see it in the help file it probably doesn't exist. Keep in mind VB is a general programming language not a financial or mathematical tool.

Try searching msdn.microsoft.com for more info.


Re: Normal Distribution in Vbasic

 

That's a step in the right direction, but is there no built in
function in VB? It seems ridiculous that it would be left out.

Unfortunately, looking at this document it seems that the magnitude
of error is inversely correlated to the distance from the mean.
Which is the exact opposite of the error in Black Scholes (my
intended purpose) which means the two errors would be enormous when
put together.

Does anyone else know? Has anyone ever built an option calculator
in VB before?

Thanks.


--- In twsapi@y..., cyberbri_2000 <no_reply@y...> wrote:
Does this help?



The computation of the area under the normal curve requires a
numerical solution of the error function and can represent hundreds
of lines of computer code. To facilitate the computation of this
area
for probability determinations when a computer or tabulated values
are not available, the following approximation can be used with
very
good results to calculate the area from a z-score of zero to the
absolute value of the desired z-score z:

Area = K * sqrt[1 - e^(-(z^2)/2)]

where

K = 0.5 + [1/sqrt(Pi) - 0.5] * [e^(-(z^2)/sqrt(2*Pi))]



Re: twsapi: is "cdemo" not working these days?

manish gupta
 

hi

From last day , tws demo is not showing any price.
Is this problem is with every one?

If somebody nkows about it, please tell it



--- fmoslehi <fmoslehi@...> wrote:
I don't see any prices in cdemo! what's up?



__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes