Skip to content

Commit

Permalink
fix quote parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
ghill2 committed Sep 6, 2024
1 parent c8a0226 commit e87e505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nautilus_core/persistence/src/arrow/quote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl DecodeFromRecordBatch for QuoteTick {
let ts_event: UnixNanos = ts_event_values.value(i).into();
let ts_init = ts_init_values.value(i).into();

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.10 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.11 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.12 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.10 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.12 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs

Check warning on line 153 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.11 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs
let instrument_id_ = instrument_id;
let mut instrument_id_ = instrument_id;
if !instrument_id.symbol.as_str().ends_with("IDEALPRO=CASH") {


Expand Down Expand Up @@ -181,7 +181,7 @@ impl DecodeFromRecordBatch for QuoteTick {
sec_type = parts[3]
);

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.10 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.11 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.12 (x64 ubuntu-latest)

Diff in /home/runner/work/nautilus_trader/nautilus_trader/nautilus_core/persistence/src/arrow/quote.rs

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.10 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.12 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs

Check warning on line 183 in nautilus_core/persistence/src/arrow/quote.rs

View workflow job for this annotation

GitHub Actions / build - Python 3.11 (x64 windows-latest)

Diff in \\?\D:\a\nautilus_trader\nautilus_trader\nautilus_core\persistence\src\arrow\quote.rs
let instrument_id_ = InstrumentId::from(instrument_id_str.as_str());
instrument_id_ = InstrumentId::from(instrument_id_str.as_str());
}


Expand Down

0 comments on commit e87e505

Please sign in to comment.