Skip to content

Commit

Permalink
cleanup example
Browse files Browse the repository at this point in the history
  • Loading branch information
Wil Boayue committed Nov 4, 2024
1 parent aa2720e commit d96d8df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/option_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ fn main() {

let subscription = client
.option_chain(symbol, exchange, security_type, contract_id)
.expect("exercise options request failed!");
.expect("request option chain failed!");

for chain in &subscription {
println!("{chain:?}")
for option_chain in &subscription {
println!("{option_chain:?}")
}
}

0 comments on commit d96d8df

Please sign in to comment.