☰
Login
Signup
Home
›
General
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
15K
All Categories
0
Incidents
178
Node JS client
52
Go client
847
.Net API client
397
Kite Publisher
554
.Net / VBA / Excel (3rd party)
491
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
409
PHP client
4.3K
Python client
357
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
General
Kite LTP sometimes giving NULL response
Varunreddy0
December 2024
in
General
This is the rust code I have been using since 12 months
let wait_time = time::Duration::from_secs(5);
loop {
sleep(wait_time);
let call_symbol = option_map["call_symbol"].to_string();
let put_symbol = option_map["put_symbol"].to_string();
let ltp_list = vec![format!("NFO:{}", &call_symbol), format!("NFO:{}", &put_symbol)];
let ltp_list : Vec<&str> = ltp_list.iter().map(AsRef::as_ref).collect();
let ltp_json = kite.ltp(<p_list, 10);
}
As you can see I am well within the rate limits for ltp api.
Can anyone suggest how to handle this?
Sign In
or
Register
to comment.