IBKR-API-Rust icon indicating copy to clipboard operation
IBKR-API-Rust copied to clipboard

API version upgrade request

Open orbli opened this issue 3 years ago • 4 comments

Hello. When using your library, I receive the following message:

Your API version does not support fractional size rules. Please upgrade to a minimum version 163

I'm subscribing the following:

let contract = {
            let mut c = Contract::default();
            c.symbol = "eth".to_string();
            c.sec_type = "crypto".to_string();
            c.currency = "usd".to_string();
            c.exchange = "paxos".to_string();
            c
};

app.lock().await.req_tick_by_tick_data(req_id, &contract, TickByTickType::AllLast, 0, false)?;

orbli avatar Nov 02 '21 08:11 orbli

https://www.reddit.com/r/interactivebrokers/comments/q2923p/ib_api_weird_error/

Uzaaft avatar Dec 30 '21 23:12 Uzaaft

I created a branch to upgrade to 10.12.01. I don't have a lot of time to work on this much anymore, but will as time allows. Contributors are welcome. The branch is "Version_1012.01_in_progress"

sparkstartconsulting avatar Feb 03 '22 21:02 sparkstartconsulting

question on this @sparkstartconsulting , I am thinking to start wrapping the C++ library itself.. does this code already do that or is it written all in Rust and mimicing the C++ library calls ? I am new to rust but eager to get off of C++ in order to increase safety and development output.. but want to make it as seamless as possible to keep up with whatever IBKR releases/changes in their API

EDIT: also thank you for doing this.. C++ for me has been interesting to try and learn but boy am I slow at it.. and I am eager to build something that can parallelize the calls properly

EMCP avatar Nov 06 '22 11:11 EMCP

@EMCP The code does not use the C++ library. A quick look at the code and the cargo.toml file would've answered your question, next time you might have the question for another crate.

Uzaaft avatar Nov 06 '22 16:11 Uzaaft