Skip to content

Commit

Permalink
Replaced check for new short positions
Browse files Browse the repository at this point in the history
  • Loading branch information
felipet committed Feb 13, 2025
1 parent 9ebf468 commit d3ff483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feeders/ibex_short_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ impl<'a> IbexShortFeeder<'a> {
.map_err(Box::new)?;

// If we got some short position
if new_positions.total > 0.0 {
if !new_positions.positions.is_empty() {
debug!(
"The company {} has the following open short positions: {:?}",
company.ticker(),
Expand Down

0 comments on commit d3ff483

Please sign in to comment.