Giter Club home page Giter Club logo

ib-csharp's People

Contributors

kraptor23 avatar krs43 avatar shanecastle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ib-csharp's Issues

NoValidId - IBClient::ProcessMessage does not support undefined messages and shuts down

I tried writing some simple code to retrieve the options chain for an underlying. As it stands in git, ib-csharp pulls the first option and shuts down.

While IncomingMessage.cs has an "undefined" message, the IBClient::ProcessMessage method doesn't handle it and the default: does a shutdown.

Add an entry in the switch statement to ignore undefined messages (return true;) and it should work properly.

Thread Abort exception after exactly 2 minutes

Hi,
I request tick price and size for a stock ticker (MSFT), it works properly but after exactly 2 minutes I got a thread abort exception inside the Krs.Ats.IBNet.dll. After it the TWS disconnects from the my client.
Do you have any idea? The exceptions are handled in all subscribed events.
Thanks in advance.
Istvan.

Build error with latest code

Just downloaded zip, expanded and attempted build in VS 2012 and the following error occurs:

Error 72 Property or indexer 'Krs.Ats.IBNet.Contract.ComboLegs' cannot be assigned to -- it is read only D:\ib-csharp-master\Krs.Ats.IBNet\IBClient.cs 4329 33 Krs.Ats.IBNet

There where also numerous warnings. Has anyone checked the code in the zip?

Regards Bruce

Primaryexchange along with exchange

is any method can be called in tick.add or requestmarketdate where we can password primaryexchange along with exchange.

can you provide some example code.
if not support that is any way to make changes on existing dll file so can do that.

Get options chain

Is it possible to get a real time options chain on something like NDX?

TWS returns bad AgentDescription "0" (started 2016-01-07) and throws InvalidCastException

On Thursday 2016-01-07 my Application (usking krs.ats.ib-csharp) suddemly crashed with an InvalidCastException. I trcked this down to happen in IBClient.cs. TWS sends a bad code "0" for AgentDescription.

A possible fix looks like this:
IBClient.cs, line 3770:

                    if (version >= 9)
                    {
                        rstr = ReadStr();
                        AgentDescription ad = AgentDescription.None;
                        if (!string.IsNullOrEmpty(rstr))
                        {
                            try
                            {
                                ad = (AgentDescription)EnumDescConverter.GetEnumValue(typeof(AgentDescription), rstr);
                            }
                            catch (Exception)
                            {

                                ad = AgentDescription.None;
                            }
                        }
                        order.Rule80A = ad;
                        order.PercentOffset = ReadDouble();

historical data is one day old

When i pull Historical data after 8 am EST, i can get till EOD yesterday. If i pull it before 8 AM EST, i get data ie 2 days old. Can anyone duplicate it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.