Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Twsapi
- Messages
Search
Re: The following jar files is missing from the classpath: hsqldb.jar
btw12342001
Can you start TWS normally without using IBController? I don't use that so am not sure how it works. The command I use to start TWS is the default from the installation script.
toggle quoted message
Show quoted text
C:\WINDOWS\system32\javaw.exe -cp jts.jar;hsqldb.jar;jcommon-1.0.12.jar;jfreechart-1.0.9.jar;jhall.jar;other.jar;rss.jar -Dsun.java2d.noddraw=true -Xmx512M -XX:MaxPermSize=128M jclient/LoginFrame C:\jts --- In TWSAPI@..., "DavidP" <af402469@...> wrote:
|
Re: The following jar files is missing from the classpath: hsqldb.jar
Thanks for the reply, yes the file is in C:\jts. The file I am using is hsqldb-1.7.3.3 I also have the folder hsqldb-2.3.0 with its contents as downloaded off the web. I run sampleIBControllerStart and then it brings up the error message.
toggle quoted message
Show quoted text
--- In TWSAPI@..., "btw12342001" <newguy@...> wrote:
|
Re: The following jar files is missing from the classpath: hsqldb.jar
vanx23_alias
Hi David,
I do format one of the computer's partitions and re-install everything from scratch every 6 months. I stumble into this error each time. At first, I was puzzled with this and was wondering what I was doing wrong. I couldn't pinpoint the root cause of this, but I found out that running another web based java application will miraculously make the web based TWS find everything it needs. This bug is easy to reproduce: 1) Format partition 2) Install OS and all required updates (In my case: Windows Server 2008 R2-x64) 3) Install latest Java Virtual machine (In my case: Java x86) 4) Make sure the Java plugging is working fine, by using the "Java Version Verifier" on the Java web site. 5) Finally, try lauching TWS from the InteractiveBrokers web site. Result: Boom! The missing jar's components will appears. After running the TMX's QuoteStream java web application, from QuoteMedia, everything will work fine for TWS. This is NOT something new. As far as I remember, I've been having this error for at least 2 years now. I've always wanted to report this bug to IB. Then, having the burden to prove IB the bug is on their side, kept my procrastinating to report it. As far as I have a work around, I keep procrastinating. I'm surprised that not much people have come across this bug. On the other hand, I guess not much people run TWS, as the first Java application, right of the bat, after having re-install and setup the OS. I know it's not a solution per say. But it may help you to stop searching for something wrong in your installation, which I'm sure is perfectly fine. As a side note: Although I've been silently monitoring this forum for more than a year now, I would like to take the opportunity of this first post/reply to salute all the contributors. Comments on this forum are always constructive, which is much appreciated. Regards, Mike --- In TWSAPI@..., "DavidP" <af402469@...> wrote:
|
Re: The following jar files is missing from the classpath: hsqldb.jar
btw12342001
You don't mention if you actually have the file. The default location in in the \jts directory.
toggle quoted message
Show quoted text
--- In TWSAPI@..., "DavidP" <af402469@...> wrote:
|
Re: Need Information Regarding FIll Or Kill Order
What you are stating is not quite clear.
On 7/11/13 3:36 AM, "narasingarao_kavali" <no_reply@...> wrote: Dear Friends,Do you mean you are placing an order via the API? You are specifying "FOK" in timeinforce? butWhat do you mean by showing? The Order echoed back to you by order callbacks does not match the Order you passed to placeOrder? The only think I can think of is maybe TWS requires that you enable the order feature in order to use it via the API. Have you tried placing the same order via TWS? -Kurt as limit order (LMT) with DAY as Time in Force instead of |
The following jar files is missing from the classpath: hsqldb.jar
Hi,
I'm just setting up on a new PC and I'm encountering the following error message. Fatal Error: one of the following jar files is missing from the classpath: hsqldb.jar Please make sure you run the application from the shortcut that was installed on your desktop or on the Start menu when you upgraded. I've not come across these before but I also got some regarding jfreechart and jcommon which I seemed to overcome by downloading and pasting into the appropriate folder. I cant seem to get this one sorted though. Any ideas? Thanks David |
Re: problem with contract details
rwk2095
I ran an app to retrieve the option chain for one expiry (201309 for CL), and it seems to work okay with edemo.
toggle quoted message
Show quoted text
I tried client3.exe, and I get error 200: no contract, but it does not crash. This again was with edemo. The sample program is so hard to use, it may not be possible to get futures options info with it. [rwk] --- dairen62 <no_reply@...> wrote: Yes, when i try to take the options chain every call to reContractDetailsEx (with strike set to zero) lasts 1 minute instead the normal 6 seconds. I also notice that the demo program of the API (client3.exe) crash when you use "reqContractData". Can you try if you have the same problem? |
Re: Intraday to Overnight Margin Requirements
rwk2095
Futures margin (formally known as performance bond) is mandated by the regulators. Brokers are free to require more for their own protection, but they may not require less. The trader's exact margin requirement varies continually under SPAN and is very hard to estimate.
toggle quoted message
Show quoted text
I don't know if IB has preferred customers, but I wouldn't be surprised if very small accounts are disfavored in some way. IB does automated enforcement of it's rules, so violators get no warning. My own experience has been that at much over 50% margin utilization, the account is so hot that proper risk management becomes unworkable. [rwk] --- "Patrick Connell" <patrickoberconnell@...> wrote: I transferred to IB about a month ago for the commissions. I trade futures and am disappointed with the Margin Requirement increase from Intraday to Overnight at 12:45 Pacific Time on the E-Mini's. But also on any commodities 15 minutes before the pit closes. I got slammed my first day trading because I wasn't prepared for it, but regardless it's frustrating considering how much volume and volatility there is the last 15 minutes before the bell. I didn't run into this issue with TD/Think or Swim, I also gave Trade Station a call and they don't increase the Margin Requirement's until 1:15 on the E-Mini's. IB doesn't have anything in writing on their website in regards to what time exactly they change the Margin Requirements from Intraday to Overnight, I was wondering if possibly they provide preferential treatment to certain customers... Anybody have any input? |
Re: problem with contract details
dairen62
Yes, when i try to take the options chain every call to reContractDetailsEx (with strike set to zero) lasts 1 minute instead the normal 6 seconds. I also notice that the demo program of the API (client3.exe) crash when you use "reqContractData". Can you try if you have the same problem?
toggle quoted message
Show quoted text
thanks --- In TWSAPI@..., "rwk2095" <r@...> wrote:
|
Need information regarding Order Modification
narasingarao_kavali
hi Friends,
I am developing IB Setup by using ActiveX plugin which was provided by IB. by i am able to retrieve Market data and able to place order and can modify the order as well as cancel the order from my application. If user modifies the order in IB TWS then how will my application will get the modified information. i.e if i place an order for "ABC" from my application with quantity as 10 then i can modify this order from my application as 15 but user has changed this order at IB TWS. then how can i modify in my application value (From 10 to 15) ? Please help me here. |
Re: TWS API child order questions
raysalem619
Your first question is very interesting and i am in the same boat (read all responses, looks there was no clear answer)
toggle quoted message
Show quoted text
I need to emphasize order speed over slippage, and have noticed limits are much slower then market order, (EUR.USD, tested in a demo account) So basically i want to place a market order(entry), with a trailing order (protection), as a bracket order. and must use the market order, limit seems to be to slow (i have seen it take minutes on the demo account, not sure if this is a demo issue), but dont want to test it with real money i cant understand the rationale now for not supporting this. -Ray --- In TWSAPI@..., ustcbbc <no_reply@...> wrote:
|
Re: problem with contract details
rwk2095
Is this still a problem? I just ran a program at 8:25 EST on 11 JUL, and everything appears normal on Globex (E6).
toggle quoted message
Show quoted text
[rwk] --- dairen62 <no_reply@...> wrote:
|
Need Information Regarding FIll Or Kill Order
narasingarao_kavali
Dear Friends,
I am placing an order with Fillorkill as timeinforce which gives 'FOK'. but if i place an FOK order for any Stock (Which they specified in help) that order is showing as limit order (LMT) with DAY as Time in Force instead of Fillorkill (FOK). please provide me any scrip available to test FOK Order for testing. |
Intraday to Overnight Margin Requirements
Patrick Connell
I transferred to IB about a month ago for the commissions. I trade futures and am disappointed with the Margin Requirement increase from Intraday to Overnight at 12:45 Pacific Time on the E-Mini's. But also on any commodities 15 minutes before the pit closes. I got slammed my first day trading because I wasn't prepared for it, but regardless it's frustrating considering how much volume and volatility there is the last 15 minutes before the bell. I didn't run into this issue with TD/Think or Swim, I also gave Trade Station a call and they don't increase the Margin Requirement's until 1:15 on the E-Mini's. IB doesn't have anything in writing on their website in regards to what time exactly they change the Margin Requirements from Intraday to Overnight, I was wondering if possibly they provide preferential treatment to certain customers... Anybody have any input?
Thanks. |
Re: problem with contract details
My app, whenever it launches, requests contract details for a certain saved
toggle quoted message
Show quoted text
set of contracts (not a chain). Some of them are obsolete and I have not cleaned them up and for these I get the error 200 "No security definition ...". I am using the app for other things so did not pay attention to all the details, but what shows up on my log are the error 200's and they are now coming much slower than before. It appeared earlier that when launching my app it took several minutes for it to finish all the error 200's and I did not look into it further. It appeared at one point that a historical data requests did not get a result back until the last contract details request finished, but I am not sure about that. So it did make me wonder whether IB started throttling contract details requests but I have not looked into it since things I need are working for me at the moment. -Kurt On 7/11/13 1:07 AM, "dairen62" <no_reply@...> wrote:
hi everybody, i've a little program that that takes the chain of the options |
problem with contract details
dairen62
hi everybody, i've a little program that that takes the chain of the options using the method reqContractDetailsEx (ActiveX). It worked fine till yesterday: every call to reqContractDetailsEx lasts 1 minute versus the 6 seconds of before yesterday. In this way the program is dramaticaly slow. Anyone experienced the same?
thanks Enrico |
Re: IB's definition of Timezones
Hi souqMate,
toggle quoted message
Show quoted text
I am using version 968 from the begining I am using the API and I never did an update so I guess the change appeared only in this version. I think IB change the timestamp on the 22 of June and for sure it was before the 1st of July, when I found out about this. Thanks for the answer regarding GLOBEX, never though of that. Pierre --- In TWSAPI@..., "Carlos" <ctalmeida@...> wrote:
|
Re: Getting error for SI contract specification
I set the multiplier.
________________________________ From: Davqe <drosen@...> To: TWSAPI@... Sent: Wednesday, July 10, 2013 8:18 PM Subject: [TWS API] Re: Getting error for SI contract specification ? This is exactly what happened. They added a mini-Silver future with the same underlying and expiration date. I was able to correct it by specifying the localSymbol member of the Contract object. --- In TWSAPI@..., Kurt Bigler <kkb@...> wrote:
[Non-text portions of this message have been removed] |
Re: Getting error for SI contract specification
Davqe
This is exactly what happened. They added a mini-Silver future with the same underlying and expiration date. I was able to correct it by specifying the localSymbol member of the Contract object.
toggle quoted message
Show quoted text
--- In TWSAPI@..., Kurt Bigler <kkb@...> wrote:
|
Re: Getting error for SI contract specification
Did they add a new multiplier today?
toggle quoted message
Show quoted text
The same thing happenned with stock options when mini options were introduced for higher-priced stocks several months ago. -Kurt On 7/10/13 5:42 AM, "Davqe" <drosen@...> wrote:
This morning I received the error that my contract specification for Silver |
to navigate to use esc to dismiss