Skip to content

Commit b8ce7ad

Browse files
committed
Fix docstring typos
1 parent 180c5df commit b8ce7ad

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

nautilus_core/model/src/data/quote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use crate::{
3030
types::{fixed::FIXED_PRECISION, price::Price, quantity::Quantity},
3131
};
3232

33-
/// Represents a single quote tick in market.
33+
/// Represents a single quote tick in a market.
3434
#[repr(C)]
3535
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
3636
#[serde(tag = "type")]

nautilus_core/model/src/enums.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ pub enum PositionSide {
873873
Short = 3,
874874
}
875875

876-
/// The type of price for an instrument in market.
876+
/// The type of price for an instrument in a market.
877877
#[repr(C)]
878878
#[derive(
879879
Copy,

nautilus_trader/core/includes/model.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ typedef enum PositionSide {
521521
} PositionSide;
522522

523523
/**
524-
* The type of price for an instrument in market.
524+
* The type of price for an instrument in a market.
525525
*/
526526
typedef enum PriceType {
527527
/**
@@ -888,7 +888,7 @@ typedef struct OrderBookDepth10_t {
888888
} OrderBookDepth10_t;
889889

890890
/**
891-
* Represents a single quote tick in market.
891+
* Represents a single quote tick in a market.
892892
*/
893893
typedef struct QuoteTick_t {
894894
/**

nautilus_trader/core/rust/model.pxd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ cdef extern from "../includes/model.h":
283283
# A short position in the market, typically acquired through one or many SELL orders.
284284
SHORT # = 3,
285285

286-
# The type of price for an instrument in market.
286+
# The type of price for an instrument in a market.
287287
cpdef enum PriceType:
288288
# A quoted order price where a buyer is willing to buy a quantity of an instrument.
289289
BID # = 1,
@@ -491,7 +491,7 @@ cdef extern from "../includes/model.h":
491491
# The UNIX timestamp (nanoseconds) when the struct was initialized.
492492
uint64_t ts_init;
493493

494-
# Represents a single quote tick in market.
494+
# Represents a single quote tick in a market.
495495
cdef struct QuoteTick_t:
496496
# The quotes instrument ID.
497497
InstrumentId_t instrument_id;

0 commit comments

Comments
 (0)