Re: Timestamp of reqTickByTickData and timezone in TWS
Editing posts is nearly always a bad idea. It¡¯s much better to send another (as a reply to the original one) one pointing out what you want to say differently, so that the full history of what¡¯s
By
Richard L King
·
#49858
·
|
Re: Timestamp of reqTickByTickData and timezone in TWS
Correct, but Coordinated Universal Time (UTC) is not a time zone, but a reference time standard:
* *Coordinated Universal Time* or *UTC* is the primary time standard by which the world regulates
By
J¨¹rgen Reinold
·
#49857
·
|
Re: Timestamp of reqTickByTickData and timezone in TWS
Sorry, I just want to clarify that my question about different IBGM settings was about time zone settings. It would be great to see how choosing EST time zone would generate different code
By
GreenGreen
·
#49856
·
|
Re: Help for an old coder. API 10.17 Bar class.
Hi Richard,
If I understood I will need to edit the IB ativex API to include that function and then recompile it?
Is that what you mean?
I created and activeX using VB.NET 2010 version put this
By
carlos
·
#49855
·
|
Re: Timestamp of reqTickByTickData and timezone in TWS
Thank you so much, J¨¹rgen!
I was under impression that Epoch Time is number of second counted from UTC datetime.
Do you by any chance have an example of how differente IBGM settings are reflected
By
GreenGreen
·
#49854
·
|
Re: Help for an old coder. API 10.17 Bar class.
I¡¯m not sure whether I understand you correctly. Yes, you could certainly create an ActiveX wrapper around the IB ActiveX API that includes the function, but that would be a lot of work because
By
Richard L King
·
#49853
·
|
Re: Timestamp of reqTickByTickData and timezone in TWS
Time stamps have no time zone. They are relative measures of time (integer values such as 1660847370) often referred to as " Epoch Time ( https://en.wikipedia.org/wiki/Unix_time ) ". And since they
By
J¨¹rgen Reinold
·
#49852
·
|
Timestamp of reqTickByTickData and timezone in TWS
In IB Gateway, I selected timezone: "(UTC-05:00) America/New York", but in my?reqTickByTickData, I am still getting UTC.
Here is my code:
from ibapi.client import EClient
from ibapi.wrapper import
By
GreenGreen
·
#49851
·
|
Re: Help for an old coder. API 10.17 Bar class.
Thank you Richard,
Then the solution could be create an activex in C# or VB.NET with that function that returns this object, then from the VB6 code I call this function?
Do you think that would
By
carlos
·
#49850
·
|
Is it able to auto reconnect?
If the API shows the error messages,is it able to auto reconnect by code?
I used to detect the gap between now and the last data received time and?raise EOFError.
I am seeking new method to do it.Any
By
david03kimo@...
·
#49849
·
|
Re: Help for an old coder. API 10.17 Bar class.
Sorry Carlos, I¡¯ve been through all this before but I¡¯d forgotten how to do this.
IB¡¯s handling of the decimal problem in the ActiveX API is sadly lacking. It has to be supplemented by
By
Richard L King
·
#49848
·
|
Re: Help for an old coder. API 10.17 Bar class.
Hi Richard,
Yesterday after I email here I found this option and try that.
The same error happens
O.totalQuantity = CDec(quantity)
returns
Run-time Error '424'
Object required
Somehow I need to
By
carlos
·
#49847
·
|
Re: Help for an old coder. API 10.17 Bar class.
Try this:
O.totalQuantity = CDec(quantity)
Richard
Sent: 18 August 2022 05:58
To: [email protected]
Subject: Re: [TWS API] Help for an old coder. API 10.17 Bar class.
By
Richard L King
·
#49846
·
|
Re: Help for an old coder. API 10.17 Bar class.
Hello,
Well, here is the problem number 2.
Data coming from the API to VB as a variant works but from VB to the API I got this problem
The IOrder class that I create using the call CreateOrder has a
By
carlos
·
#49845
·
|
Re: Help for an old coder. API 10.17 Bar class.
Thank you very much joanmarcel119 and Richard.
For now the variant type use on histvolume and WAP worked, it did compile and the part that gets real time data and historical data seems to be working
By
carlos
·
#49844
·
|
Re: Help for an old coder. API 10.17 Bar class.
In order to support crypto contracts, IB have changed many ¡®size¡¯ parameters and properties (for example in TickSize and HistoricalData events) from 32-bit integers (ie Long in VB6) to Decimal
By
Richard L King
·
#49843
·
|
Re: Help for an old coder. API 10.17 Bar class.
Carlos, prueba esto, try this:
(ByVal reqId As Long, ByVal histDate As String, ByVal histOpen As Double,
ByVal histHigh As Double, ByVal histLow As Double, ByVal histClose As
Double, ByVal histVolume
By
joanmarcel119
·
#49842
·
|
Help for an old coder. API 10.17 Bar class.
Hello,
This looks odd but I have been using the IB API on Visual Basic 6 forever.
I have an app that collects data, historical and put orders in the market and works great.
I saw this new API 10.17
By
carlos
·
#49841
·
|
Re: Which Java version to use?
Thank you for the recommendations. I'm using Netbeans 8.2 (yes, a very old version). But I fear that Ubuntu somehow changed the Java version when it upgraded from 20.04 to 22.04. Maybe a tool like
By
J G
·
#49840
·
|
Increasing the permitted number of simultaneous tick-by-tick subscriptions
Hi,
I'm currently making use of the Tick-by-tick API in a program I'm working on.
At the moment I believe I'm able to have 5 simultaneous subscriptions. But would like to increase this to 20.
I read
By
3ryancarty@...
·
#49839
·
|