Skip to content

Commit

Permalink
enable c++ build
Browse files Browse the repository at this point in the history
  • Loading branch information
ghill2 committed Sep 18, 2024
1 parent e87e505 commit a3620d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nautilus_trader/model/book.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cdef class OrderBook(Data):
cpdef void reset(self)
cpdef void add(self, BookOrder order, uint64_t ts_event, uint8_t flags=*, uint64_t sequence=*)
cpdef void update(self, BookOrder order, uint64_t ts_event, uint8_t flags=*, uint64_t sequence=*)
cpdef void delete(self, BookOrder order, uint64_t ts_event, uint8_t flags=*, uint64_t sequence=*)
cpdef void remove(self, BookOrder order, uint64_t ts_event, uint8_t flags=*, uint64_t sequence=*)
cpdef void clear(self, uint64_t ts_event, uint64_t sequence=*)
cpdef void clear_bids(self, uint64_t ts_event, uint64_t sequence=*)
cpdef void clear_asks(self, uint64_t ts_event, uint64_t sequence=*)
Expand Down
2 changes: 1 addition & 1 deletion nautilus_trader/model/book.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ cdef class OrderBook(Data):

orderbook_update(&self._mem, order._mem, flags, sequence, ts_event)

cpdef void delete(self, BookOrder order, uint64_t ts_event, uint8_t flags=0, uint64_t sequence=0):
cpdef void remove(self, BookOrder order, uint64_t ts_event, uint8_t flags=0, uint64_t sequence=0):
"""
Cancel the given order in the book.
Expand Down

0 comments on commit a3620d2

Please sign in to comment.