ibapi
ibapi copied to clipboard
Interactive Brokers API - GoLang Implement
Hi, It seems there's a problem with InitOrderCondition, the condition is not being passed upon OrderCondition, so the value is always 0. I tried initializing it with a TimeCondition and...
Client gets stuck in an infinite loop when there are connection issues. The easiest way to reproduce this is by connecting to the api with the same connection id. ```...
Hi, I'm insterested in work with interactive broker with go and I'd like to know the status of this API and what is missing?...do you think that I can use...
I'm a bit confused on this one and can't seem to get a working example. I create a historical data request for the SPY ticker, 1 day's worth of the...
Waiting for a set amount of seconds is a bit of a naive approach to waiting for data to come back from TWS. Is there a better way to wait/block...
I am trying to migrate from the interactive brokers python api to Golang. However, to request market data for `Option` security type, we use the `lastTradeDateOrContractMonth` property of the `Contract`...
contract := new(ibapi.Contract) contract.Symbol = "MSFT" contract.Exchange = "SMART" contract.Currency = "USD" lmt := ibapi.NewLimitOrder("BUY", 244.26, 100) ic.PlaceOrder(newOrderId(), contract, lmt) The order doesn't show on TWS nor get a openorder...
See https://interactivebrokers.github.io/tws-api/tick_data.html for more information.
I'm getting the error: `Error 110. The price does not conform to the minimum price variation for this contract`. On IBKR page, I found out that this information is stored...
Code: ```go func marketData(c *cli.Context) error { var err error ibwrapper := &Wrapper{} ctx, _ := context.WithTimeout(context.Background(), time.Second*30) ic := NewIbClient(ibwrapper) ic.SetContext(ctx) err = ic.Connect(c.String("api_host"), c.Int("api_port"), 0) if err !=...