diff --git a/nightly/.doctrees/api_reference/accounting.doctree b/nightly/.doctrees/api_reference/accounting.doctree index 45d0fd2206ca..bcde03fa666e 100644 Binary files a/nightly/.doctrees/api_reference/accounting.doctree and b/nightly/.doctrees/api_reference/accounting.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/betfair.doctree b/nightly/.doctrees/api_reference/adapters/betfair.doctree index b516d52852b2..7068ada87aac 100644 Binary files a/nightly/.doctrees/api_reference/adapters/betfair.doctree and b/nightly/.doctrees/api_reference/adapters/betfair.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/binance.doctree b/nightly/.doctrees/api_reference/adapters/binance.doctree index 5e40ce8ae65a..0efe9c2dce92 100644 Binary files a/nightly/.doctrees/api_reference/adapters/binance.doctree and b/nightly/.doctrees/api_reference/adapters/binance.doctree differ diff --git a/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree b/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree index 1431a06f4c3b..4f404ba1134d 100644 Binary files a/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree and b/nightly/.doctrees/api_reference/adapters/interactive_brokers.doctree differ diff --git a/nightly/.doctrees/api_reference/analysis.doctree b/nightly/.doctrees/api_reference/analysis.doctree index 147425234bd6..c1f717cc13ec 100644 Binary files a/nightly/.doctrees/api_reference/analysis.doctree and b/nightly/.doctrees/api_reference/analysis.doctree differ diff --git a/nightly/.doctrees/api_reference/backtest.doctree b/nightly/.doctrees/api_reference/backtest.doctree index 3604306260ab..18faabaec7a6 100644 Binary files a/nightly/.doctrees/api_reference/backtest.doctree and b/nightly/.doctrees/api_reference/backtest.doctree differ diff --git a/nightly/.doctrees/api_reference/cache.doctree b/nightly/.doctrees/api_reference/cache.doctree index 05db1cdb5e03..eb7e174f6018 100644 Binary files a/nightly/.doctrees/api_reference/cache.doctree and b/nightly/.doctrees/api_reference/cache.doctree differ diff --git a/nightly/.doctrees/api_reference/common.doctree b/nightly/.doctrees/api_reference/common.doctree index 1f8727b49427..bf3699519193 100644 Binary files a/nightly/.doctrees/api_reference/common.doctree and b/nightly/.doctrees/api_reference/common.doctree differ diff --git a/nightly/.doctrees/api_reference/core.doctree b/nightly/.doctrees/api_reference/core.doctree index e66ffce65030..b79b4fb9ed1f 100644 Binary files a/nightly/.doctrees/api_reference/core.doctree and b/nightly/.doctrees/api_reference/core.doctree differ diff --git a/nightly/.doctrees/api_reference/data.doctree b/nightly/.doctrees/api_reference/data.doctree index b4ca9a1418dd..1e767c870bdf 100644 Binary files a/nightly/.doctrees/api_reference/data.doctree and b/nightly/.doctrees/api_reference/data.doctree differ diff --git a/nightly/.doctrees/api_reference/execution.doctree b/nightly/.doctrees/api_reference/execution.doctree index d8c40e43451c..fd5271b397f1 100644 Binary files a/nightly/.doctrees/api_reference/execution.doctree and b/nightly/.doctrees/api_reference/execution.doctree differ diff --git a/nightly/.doctrees/api_reference/indicators.doctree b/nightly/.doctrees/api_reference/indicators.doctree index 177a79fef49c..c2a1331aa29e 100644 Binary files a/nightly/.doctrees/api_reference/indicators.doctree and b/nightly/.doctrees/api_reference/indicators.doctree differ diff --git a/nightly/.doctrees/api_reference/live.doctree b/nightly/.doctrees/api_reference/live.doctree index 38e0eb42c478..b5dd37ef20f7 100644 Binary files a/nightly/.doctrees/api_reference/live.doctree and b/nightly/.doctrees/api_reference/live.doctree differ diff --git a/nightly/.doctrees/api_reference/model/book.doctree b/nightly/.doctrees/api_reference/model/book.doctree index ce9348629461..c40c5fcf3aaa 100644 Binary files a/nightly/.doctrees/api_reference/model/book.doctree and b/nightly/.doctrees/api_reference/model/book.doctree differ diff --git a/nightly/.doctrees/api_reference/model/data.doctree b/nightly/.doctrees/api_reference/model/data.doctree index 8dd05d36ff4a..5638d94f9c21 100644 Binary files a/nightly/.doctrees/api_reference/model/data.doctree and b/nightly/.doctrees/api_reference/model/data.doctree differ diff --git a/nightly/.doctrees/api_reference/model/events.doctree b/nightly/.doctrees/api_reference/model/events.doctree index 02f8435472e9..345d9e1a60a1 100644 Binary files a/nightly/.doctrees/api_reference/model/events.doctree and b/nightly/.doctrees/api_reference/model/events.doctree differ diff --git a/nightly/.doctrees/api_reference/model/identifiers.doctree b/nightly/.doctrees/api_reference/model/identifiers.doctree index d4b01c002712..3609a1330809 100644 Binary files a/nightly/.doctrees/api_reference/model/identifiers.doctree and b/nightly/.doctrees/api_reference/model/identifiers.doctree differ diff --git a/nightly/.doctrees/api_reference/model/instruments.doctree b/nightly/.doctrees/api_reference/model/instruments.doctree index 614c5b5427cf..bc2bf19ff54d 100644 Binary files a/nightly/.doctrees/api_reference/model/instruments.doctree and b/nightly/.doctrees/api_reference/model/instruments.doctree differ diff --git a/nightly/.doctrees/api_reference/model/objects.doctree b/nightly/.doctrees/api_reference/model/objects.doctree index 109119c21a3b..657c24c4d748 100644 Binary files a/nightly/.doctrees/api_reference/model/objects.doctree and b/nightly/.doctrees/api_reference/model/objects.doctree differ diff --git a/nightly/.doctrees/api_reference/model/orders.doctree b/nightly/.doctrees/api_reference/model/orders.doctree index 67dad7445220..d8accd9dfca4 100644 Binary files a/nightly/.doctrees/api_reference/model/orders.doctree and b/nightly/.doctrees/api_reference/model/orders.doctree differ diff --git a/nightly/.doctrees/api_reference/model/position.doctree b/nightly/.doctrees/api_reference/model/position.doctree index 76cf9390442d..682e4a01f463 100644 Binary files a/nightly/.doctrees/api_reference/model/position.doctree and b/nightly/.doctrees/api_reference/model/position.doctree differ diff --git a/nightly/.doctrees/api_reference/model/tick_scheme.doctree b/nightly/.doctrees/api_reference/model/tick_scheme.doctree index c2a99f4e0fc9..fff82b092a84 100644 Binary files a/nightly/.doctrees/api_reference/model/tick_scheme.doctree and b/nightly/.doctrees/api_reference/model/tick_scheme.doctree differ diff --git a/nightly/.doctrees/api_reference/persistence.doctree b/nightly/.doctrees/api_reference/persistence.doctree index a3fbd99325db..bde1fcadf2ec 100644 Binary files a/nightly/.doctrees/api_reference/persistence.doctree and b/nightly/.doctrees/api_reference/persistence.doctree differ diff --git a/nightly/.doctrees/api_reference/portfolio.doctree b/nightly/.doctrees/api_reference/portfolio.doctree index 143e8eb1b72d..ecd9d179ca9d 100644 Binary files a/nightly/.doctrees/api_reference/portfolio.doctree and b/nightly/.doctrees/api_reference/portfolio.doctree differ diff --git a/nightly/.doctrees/api_reference/risk.doctree b/nightly/.doctrees/api_reference/risk.doctree index ef7cf3f25ddf..42383fcbda95 100644 Binary files a/nightly/.doctrees/api_reference/risk.doctree and b/nightly/.doctrees/api_reference/risk.doctree differ diff --git a/nightly/.doctrees/api_reference/serialization.doctree b/nightly/.doctrees/api_reference/serialization.doctree index fbcfce145df0..be93ac20fc35 100644 Binary files a/nightly/.doctrees/api_reference/serialization.doctree and b/nightly/.doctrees/api_reference/serialization.doctree differ diff --git a/nightly/.doctrees/api_reference/system.doctree b/nightly/.doctrees/api_reference/system.doctree index b59364544cd4..50752d25f55c 100644 Binary files a/nightly/.doctrees/api_reference/system.doctree and b/nightly/.doctrees/api_reference/system.doctree differ diff --git a/nightly/.doctrees/api_reference/trading.doctree b/nightly/.doctrees/api_reference/trading.doctree index f31fbf98edb9..ed48939b0bc1 100644 Binary files a/nightly/.doctrees/api_reference/trading.doctree and b/nightly/.doctrees/api_reference/trading.doctree differ diff --git a/nightly/.doctrees/environment.pickle b/nightly/.doctrees/environment.pickle index 0eb3d41eed13..0b8271721031 100644 Binary files a/nightly/.doctrees/environment.pickle and b/nightly/.doctrees/environment.pickle differ diff --git a/nightly/api_reference/adapters/interactive_brokers.html b/nightly/api_reference/adapters/interactive_brokers.html index ce95c0456c65..69277b3c46c3 100644 --- a/nightly/api_reference/adapters/interactive_brokers.html +++ b/nightly/api_reference/adapters/interactive_brokers.html @@ -12085,7 +12085,7 @@

at - 0x7efd5c998050> + 0x7f47ddcba2d0> = diff --git a/nightly/api_reference/backtest.html b/nightly/api_reference/backtest.html index f94b865db2a3..bfb0ccb8eff5 100644 --- a/nightly/api_reference/backtest.html +++ b/nightly/api_reference/backtest.html @@ -32311,6 +32311,17 @@

+ , + + + + bool + + + managed=True + + + ) @@ -32445,6 +32456,24 @@

then will be inferred from the venue in the instrument ID.

+
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -32533,6 +32562,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -32643,7 +32683,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -32691,6 +32731,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -32722,7 +32780,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -32733,7 +32791,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    @@ -43689,6 +43747,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -43823,6 +43892,24 @@

    then will be inferred from the venue in the instrument ID.

    +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -43911,6 +43998,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -44021,7 +44119,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -44069,6 +44167,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -44100,7 +44216,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -44111,7 +44227,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    diff --git a/nightly/api_reference/common.html b/nightly/api_reference/common.html index 1c4b2716c292..fad3553ab814 100644 --- a/nightly/api_reference/common.html +++ b/nightly/api_reference/common.html @@ -2277,120 +2277,6 @@ -
  • - - - - LiveTimer - - - - - - - - -
  • @@ -2460,120 +2346,6 @@
  • -
  • - - - - LoopTimer - - - - - - - - -
  • @@ -3007,10 +2779,10 @@
  • - + - ThreadTimer + Throttler @@ -3020,100 +2792,91 @@
  • - + - Throttler + TimeEvent @@ -3134,175 +2897,70 @@ +
  • +
  • + + + + TimeEventHandler + + + + + + + + -
  • -
  • - - - - TimeEvent - - - - - - - - -
  • -
  • - - - - TimeEventHandler - - - - - - - - @@ -13493,6 +13189,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -13603,7 +13310,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -13651,6 +13358,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -13682,7 +13407,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -13693,7 +13418,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    @@ -18917,57 +18642,6 @@

    LiveClock - - ( - - - - - loop - - - - - : - - - - - - - asyncio.AbstractEventLoop - - - - - - | - - - - - - None - - - - - - - = - - - - - - - None - - - - - ) - @@ -20292,7 +19966,7 @@

    -
    +
    class @@ -20302,57 +19976,26 @@

    - LiveTimer + Logger ( - - unicode - - - name, - - - callback: - - - Callable[[TimeEvent], - - - None], - - - uint64_t - - - interval_ns, - - - uint64_t - - - ts_now, - - - uint64_t - - - start_time_ns, - - - uint64_t - - - stop_time_ns=0 + + + unicode + + + name + ) - +

    @@ -20366,7 +20009,7 @@

    - The base class for all live timers. + Provides a logger adapter into the logging system.

    @@ -20376,178 +20019,23 @@

    -
      -
    • -

      - - name - - ( - - str - - ) – The name for the timer. -

      -
    • -
    • -

      - - callback - - ( - - Callable - - - [ - - - [ - - - - TimeEvent - - - - ] - - - , - - - None - - - ] - - ) – The delegate to call at the next time. -

      -
    • -
    • -

      - - interval_ns - - ( - - uint64_t - - ) – The time interval for the timer. -

      -
    • -
    • -

      - - ts_now - - ( - - uint64_t - - ) – The current UNIX time (nanoseconds). -

      -
    • -
    • -

      - - start_time_ns - - ( - - uint64_t - - ) – The start datetime for the timer (UTC). -

      -
    • -
    • -

      - - stop_time_ns - - ( - - uint64_t - - - , - - - optional - - ) – The stop datetime for the timer (UTC) (if None then timer repeats). -

      -
    • -
    -
    -
    - Raises - - : - -
    -

    - TypeError + name - – If - - callback - - is not of type - - Callable - - . -

    -
    -
    -
    -

    - Warning -

    -

    - This class should not be used directly, but through a concrete subclass. -

    -
    -
    -
    - - - callback - - - - ¶ - -
    -
    -

    - The timers callback function. + ( + + str + + ) – The name of the logger. This will appear within each log line.

    -
    -
    - Returns - - : - -
    -
    -

    - - object - -

    -
    -
    -
    +
    - cancel + debug @@ -20560,107 +20048,14 @@

    - - ) - - - - → - - - - void - - - - - ¶ - -

    -
    -

    - Cancels the timer (the timer will not generate an event). -

    -
    -
    -
    -
    - - - interval_ns - - - - ¶ - -
    -
    -

    - The timers set interval. -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - - is_expired - - - - ¶ - -
    -
    -

    - If the timer is expired. -

    -
    -
    - Returns - - : - -
    -
    -

    - - bool - -

    -
    -
    -
    -
    -
    -
    - - - iterate_next_time - - - - ( - + , - self + unicode + + + message @@ -20668,10 +20063,10 @@

    - uint64_t + LogColor - ts_now + color=LogColor.NORMAL @@ -20688,13 +20083,13 @@

    - +

    - Iterates the timers next time and checks if the timer is now expired. + Log the given debug level message.

    @@ -20704,89 +20099,151 @@

    -

    - - ts_now - - ( - - uint64_t - - ) – The current UNIX time (nanoseconds). -

    +
      +
    • +

      + + message + + ( + + str + + ) – The log message text (valid UTF-8). +

      +
    • +
    • +

      + + color + + ( + + LogColor + + + , + + + optional + + ) – The log message color. +

      +
    • +
    -
    -
    +
    +
    - name + error - - ¶ - -
    -
    -

    - The timers name using for hashing. -

    -
    -
    - Returns - - : + + ( + + + + + self + + + + , + + + + unicode + + + message + + + + , + + + + LogColor + + + color=LogColor.RED + + + + + ) + + + + → + + + + void -
    -
    -

    - - str - -

    -
    -
    -
    -
    -
    -
    - - - next_time_ns - +

    - The timers next alert timestamp. + Log the given error level message.

    - Returns + Parameters :
    -

    - - uint64_t - -

    +
      +
    • +

      + + message + + ( + + str + + ) – The log message text (valid UTF-8). +

      +
    • +
    • +

      + + color + + ( + + LogColor + + + , + + + optional + + ) – The log message color. +

      +
    • +
    -
    +
    - pop_event + exception @@ -20803,10 +20260,10 @@

    - UUID4 + unicode - event_id + message @@ -20814,10 +20271,7 @@

    - uint64_t - - - ts_init + ex @@ -20829,20 +20283,18 @@

    - - - TimeEvent - - + + void + - +

    - Return a generated time event with the given ID. + Log the given exception including stack trace information.

    @@ -20856,52 +20308,37 @@

  • - event_id + message ( - - - UUID4 - - - ) – The ID for the time event. + + str + + ) – The log message text (valid UTF-8).

  • - ts_init + ex ( - uint64_t + Exception - ) – The UNIX timestamp (nanoseconds) when the object was initialized. + ) – The exception to log.

  • -
    - Returns - - : - -
    -
    -

    - - TimeEvent - -

    -
    -
    +
    - repeat + info @@ -20918,10 +20355,21 @@

    - uint64_t + unicode + + + message + + + + , + + + + LogColor - ts_now + color=LogColor.NORMAL @@ -20938,13 +20386,13 @@

    - +

    - Continue the timer. + Log the given information level message.

    @@ -20954,34 +20402,59 @@

    -

    - - ts_now - - ( - - uint64_t - - ) – The current time to continue timing from. -

    +
      +
    • +

      + + message + + ( + + str + + ) – The log message text (valid UTF-8). +

      +
    • +
    • +

      + + color + + ( + + LogColor + + + , + + + optional + + ) – The log message color. +

      +
    • +
    -
    +
    - start_time_ns + name - +

    - The timers set start time. + str +

    +

    + Return the name of the logger.

    @@ -20992,119 +20465,30 @@

    - - uint64_t - + + str +

    -
    -
    -
    -
    -
    - - - stop_time_ns - - - - ¶ - -
    -
    -

    - The timers set stop time (if set). -

    -
    -
    - Returns +
    + Type :
    -
    +

    - - uint64_t - + Logger.name

    - -

    -
    -
    - - - class - - - - - - - Logger - - - - ( - - - - - unicode - - - name - - - - - ) - - - ¶ - -
    -
    -

    - Bases: - - - object - - -

    -

    - Provides a logger adapter into the logging system. -

    -
    -
    - Parameters - - : - -
    -
    -

    - - name - - ( - - str - - ) – The name of the logger. This will appear within each log line. -

    -
    -
    -
    +
    - debug + warning @@ -21135,7 +20519,7 @@

    LogColor - color=LogColor.NORMAL + color=LogColor.YELLOW @@ -21152,13 +20536,13 @@

    - +

    - Log the given debug level message. + Log the given warning level message.

    @@ -21204,1958 +20588,298 @@

    -
    -
    - - - error - - - - ( - - - - - self - - - - , - - - - unicode - - - message - - - - , - - - - LogColor - - - color=LogColor.RED - - - - - ) +
    +
    +
    +
    + + + class + + + + + + + MessageBus + + + + ( + + + + + TraderId - - - → - - - - void - - + + trader_id - - ¶ - -
    -
    -

    - Log the given error level message. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - message - - ( - - str - - ) – The log message text (valid UTF-8). -

      -
    • -
    • -

      - - color - - ( - - LogColor - - - , - - - optional - - ) – The log message color. -

      -
    • -
    -
    -
    -
    -
    -
    -
    - - - exception - + + + , + + + + Clock - - ( + + clock - - - - self - - - - , - - - - unicode - - - message - - - - , - - - - ex - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Log the given exception including stack trace information. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - message - - ( - - str - - ) – The log message text (valid UTF-8). -

      -
    • -
    • -

      - - ex - - ( - - Exception - - ) – The exception to log. -

      -
    • -
    -
    -
    -
    -
    -
    -
    - - - info - - - - ( - - - - - self - - - - , - - - - unicode - - - message - - - - , - - - - LogColor - - - color=LogColor.NORMAL - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Log the given information level message. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - message - - ( - - str - - ) – The log message text (valid UTF-8). -

      -
    • -
    • -

      - - color - - ( - - LogColor - - - , - - - optional - - ) – The log message color. -

      -
    • -
    -
    -
    -
    -
    -
    -
    - - - name - - - - ¶ - -
    -
    -

    - str -

    -

    - Return the name of the logger. -

    -
    -
    - Returns - - : - -
    -
    -

    - - str - -

    -
    -
    - Type - - : - -
    -
    -

    - Logger.name -

    -
    -
    -
    -
    -
    -
    - - - warning - - - - ( - - - - - self - - - - , - - - - unicode - - - message - - - - , - - - - LogColor - - - color=LogColor.YELLOW - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Log the given warning level message. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - message - - ( - - str - - ) – The log message text (valid UTF-8). -

      -
    • -
    • -

      - - color - - ( - - LogColor - - - , - - - optional - - ) – The log message color. -

      -
    • -
    -
    -
    -
    -
    - - -
    -
    - - - class - - - - - - - LoopTimer - - - - ( - - - - loop, - - - unicode - - - name, - - - callback: - - - Callable[[TimeEvent], - - - None], - - - uint64_t - - - interval_ns, - - - uint64_t - - - ts_now, - - - uint64_t - - - start_time_ns, - - - uint64_t - - - stop_time_ns=0 - - - - ) - - - ¶ - -
    -
    -

    - Bases: - - - - LiveTimer - - - -

    -

    - Provides an event loop based timer for live trading. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - loop - - ( - - asyncio.AbstractEventLoop - - ) – The event loop to run the timer on. -

      -
    • -
    • -

      - - name - - ( - - str - - ) – The name for the timer. -

      -
    • -
    • -

      - - callback - - ( - - Callable - - - [ - - - [ - - - - TimeEvent - - - - ] - - - , - - - None - - - ] - - ) – The delegate to call at the next time. -

      -
    • -
    • -

      - - interval_ns - - ( - - uint64_t - - ) – The time interval for the timer (nanoseconds). -

      -
    • -
    • -

      - - ts_now - - ( - - uint64_t - - ) – The current UNIX epoch (nanoseconds). -

      -
    • -
    • -

      - - start_time_ns - - ( - - uint64_t - - ) – The start datetime for the timer (UTC). -

      -
    • -
    • -

      - - stop_time_ns - - ( - - uint64_t - - - , - - - optional - - ) – The stop datetime for the timer (UTC) (if None then timer repeats). -

      -
    • -
    -
    -
    - Raises - - : - -
    -
    -

    - - TypeError - - – If - - callback - - is not of type - - Callable - - . -

    -
    -
    -
    -
    - - - callback - - - - ¶ - -
    -
    -

    - The timers callback function. -

    -
    -
    - Returns - - : - -
    -
    -

    - - object - -

    -
    -
    -
    -
    -
    -
    - - - cancel - - - - ( - - - - - self - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Cancels the timer (the timer will not generate an event). -

    -
    -
    -
    -
    - - - interval_ns - - - - ¶ - -
    -
    -

    - The timers set interval. -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - - is_expired - - - - ¶ - -
    -
    -

    - If the timer is expired. -

    -
    -
    - Returns - - : - -
    -
    -

    - - bool - -

    -
    -
    -
    -
    -
    -
    - - - iterate_next_time - - - - ( - - - - - self - - - - , - - - - uint64_t - - - ts_now - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Iterates the timers next time and checks if the timer is now expired. -

    -
    -
    - Parameters - - : - -
    -
    -

    - - ts_now - - ( - - uint64_t - - ) – The current UNIX time (nanoseconds). -

    -
    -
    -
    -
    -
    -
    - - - name - - - - ¶ - -
    -
    -

    - The timers name using for hashing. -

    -
    -
    - Returns - - : - -
    -
    -

    - - str - -

    -
    -
    -
    -
    -
    -
    - - - next_time_ns - - - - ¶ - -
    -
    -

    - The timers next alert timestamp. -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - - pop_event - - - - ( - - - - - self - - - - , - - - - UUID4 - - - event_id - - - - , - - - - uint64_t - - - ts_init - - - - - ) - - - - → - - - - - TimeEvent - - - - - - ¶ - -
    -
    -

    - Return a generated time event with the given ID. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - event_id - - ( - - - UUID4 - - - ) – The ID for the time event. -

      -
    • -
    • -

      - - ts_init - - ( - - uint64_t - - ) – The UNIX timestamp (nanoseconds) when the object was initialized. -

      -
    • -
    -
    -
    - Returns - - : - -
    -
    -

    - - TimeEvent - -

    -
    -
    -
    -
    -
    -
    - - - repeat - - - - ( - - - - - self - - - - , - - - - uint64_t - - - ts_now - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Continue the timer. -

    -
    -
    - Parameters - - : - -
    -
    -

    - - ts_now - - ( - - uint64_t - - ) – The current time to continue timing from. -

    -
    -
    -
    -
    -
    -
    - - - start_time_ns - - - - ¶ - -
    -
    -

    - The timers set start time. -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - - stop_time_ns - - - - ¶ - -
    -
    -

    - The timers set stop time (if set). -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    -
    -
    - - - class - - - - - - - MessageBus - - - - ( - - - - - TraderId - - - trader_id - - - - , - - - - Clock - - - clock - - - - , - - - - UUID4 - - - instance_id=None - - - - , - - - - unicode - - - name=None - - - - , - - - - Serializer - - - serializer=None - - - - , - - - - bool - - - snapshot_orders: - - - bool - - - = - - - False - - - - , - - - - bool - - - snapshot_positions: - - - bool - - - = - - - False - - - - , - - - - config: - - - Any - - - | - - - None - - - = - - - None - - - - - ) - - - ¶ - -
    -
    -

    - Bases: - - - object - - -

    -

    - Provides a generic message bus to facilitate various messaging patterns. -

    -

    - The bus provides both a producer and consumer API for Pub/Sub, Req/Rep, as -well as direct point-to-point messaging to registered endpoints. -

    -
    -
    - Pub/Sub wildcard patterns for hierarchical topics are possible: -
    -
    -
      -
    • -

      - - * - - asterisk represents one or more characters in a pattern. -

      -
    • -
    • -

      - - ? - - question mark represents a single character in a pattern. -

      -
    • -
    -
    -
    -

    - Given a topic and pattern potentially containing wildcard characters, i.e. - - * - - and - - ? - - , where - - ? - - can match any single character in the topic, and - - * - - can match any number of characters including zero characters. -

    -

    - The asterisk in a wildcard matches any character zero or more times. For -example, - - comp* - - matches anything beginning with - - comp - - which means - - comp - - , - - complete - - , and - - computer - - are all matched. -

    -

    - A question mark matches a single character once. For example, - - c?mp - - matches - - camp - - and - - comp - - . The question mark can also be used more than once. -For example, - - c??p - - would match both of the above examples and - - coop - - . -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - trader_id - - ( - - - TraderId - - - ) – The trader ID associated with the message bus. -

      -
    • -
    • -

      - - clock - - ( - - - Clock - - - ) – The clock for the message bus. -

      -
    • -
    • -

      - - name - - ( - - str - - - , - - - optional - - ) – The custom name for the message bus. -

      -
    • -
    • -

      - - serializer - - ( - - - Serializer - - - - , - - - optional - - ) – The serializer for database operations. -

      -
    • -
    • -

      - - snapshot_orders - - ( - - bool - - - , - - - default False - - ) – If order state snapshots should be published externally. -

      -
    • -
    • -

      - - snapshot_positions - - ( - - bool - - - , - - - default False - - ) – If position state snapshots should be published externally. -

      -
    • -
    • -

      - - config - - ( - - MessageBusConfig - - - , - - - optional - - ) – The configuration for the message bus. -

      -
    • -
    -
    -
    - Raises - - : - -
    -
    -

    - - ValueError - - – If - - name - - is not - - - None - - - and not a valid string. -

    -
    -
    -
    -

    - Warning -

    -

    - This message bus is not thread-safe and must be called from the same thread -as the event loop. -

    -
    -
    -
    - - - deregister - - - - ( - - - - self, - - - unicode - - - endpoint, - - - handler: - - - Callable[[Any], - - - None] - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Deregister the given - - handler - - from the - - endpoint - - address. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - endpoint - - ( - - str - - ) – The endpoint address to deregister. -

      -
    • -
    • -

      - - handler - - ( - - Callable - - - [ - - - [ - - - Any - - - ] - - - , - - - None - - - ] - - ) – The handler to deregister. -

      -
    • -
    -
    -
    - Raises - - : - -
    -
    -
      -
    • -

      - - ValueError - - – If - - endpoint - - is not a valid string. -

      -
    • -
    • -

      - - ValueError - - – If - - handler - - is not of type - - Callable - - . -

      -
    • -
    • -

      - - KeyError - - – If - - endpoint - - is not registered. -

      -
    • -
    • -

      - - ValueError - - – If - - handler - - is not registered at the endpoint. -

      -
    • -
    -
    -
    -
    -
    -
    -
    - - - endpoints - + + + , + + + + UUID4 - - ( + + instance_id=None - - - - self - - - - - ) + + + , + + + + unicode - - - → - - - - list - - + + name=None - - ¶ - + + + , + + + + Serializer + + + serializer=None + + + + , + + + + bool + + + snapshot_orders: + + + bool + + + = + + + False + + + + , + + + + bool + + + snapshot_positions: + + + bool + + + = + + + False + + + + , + + + + config: + + + Any + + + | + + + None + + + = + + + None + + + + + ) + + + ¶ + +
    +
    +

    + Bases: + + + object + + +

    +

    + Provides a generic message bus to facilitate various messaging patterns. +

    +

    + The bus provides both a producer and consumer API for Pub/Sub, Req/Rep, as +well as direct point-to-point messaging to registered endpoints. +

    +
    +
    + Pub/Sub wildcard patterns for hierarchical topics are possible:
    -

    - Return all endpoint addresses registered with the message bus. -

    -
    -
    - Returns - - : - -
    -
    +
      +
    • - - list[str] - + + * + + asterisk represents one or more characters in a pattern.

      -
    -
    + +
  • +

    + + ? + + question mark represents a single character in a pattern. +

    +
  • +
    -
    -
    - - - has_backing - +

    + Given a topic and pattern potentially containing wildcard characters, i.e. + + * + + and + + ? + + , where + + ? + + can match any single character in the topic, and + + * + + can match any number of characters including zero characters. +

    +

    + The asterisk in a wildcard matches any character zero or more times. For +example, + + comp* + + matches anything beginning with + + comp + + which means + + comp + + , + + complete + + , and + + computer + + are all matched. +

    +

    + A question mark matches a single character once. For example, + + c?mp + + matches + + camp + + and + + comp + + . The question mark can also be used more than once. +For example, + + c??p + + would match both of the above examples and + + coop + + . +

    +
    +
    + Parameters + + : - - ¶ -
    -
    -

    - If the message bus has a database backing. -

    -
    -
    - Returns - - : - -
    -
    +
    +
      +
    • - - bool - + + trader_id + + ( + + + TraderId + + + ) – The trader ID associated with the message bus.

      -
    -
    -
    -
    -
    -
    - - - has_subscribers - - - - ( - - - - - self - - - - , - - - - unicode - - - pattern=None - - - - - ) - - - - → - - - - bool - - - - - ¶ - -
    -
    -

    - If the message bus has subscribers for the give topic - - pattern - - . -

    -
    -
    - Parameters - - : - -
    -
    + +
  • - pattern + clock + + ( + + + Clock + + + ) – The clock for the message bus. +

    +
  • +
  • +

    + + name ( @@ -23167,407 +20891,124 @@

    optional - ) – The topic filter. May include wildcard characters - - * - - and - - ? - - . -If - - - None - - - then query is for - - all - - topics. -

    -

  • -
    - Returns - - : - -
    -
    -

    - - bool - + ) – The custom name for the message bus.

    -
    -
    -
    -
    -
    -
    - - - is_pending_request - - - - ( - - - - - self - - - - , - - - - UUID4 - - - request_id - - - - - ) - - - - → - - - - bool - - - - - ¶ - -
    -
    -

    - Return if the given - - request_id - - is still pending a response. -

    -
    -
    - Parameters - - : - -
    -
    + +
  • - request_id + serializer ( - + - UUID4 + Serializer - ) – The request ID to check (to match the correlation_id). -

    -
  • -
    - Returns - - : - -
    -
    + + , + + + optional + + ) – The serializer for database operations. +

    + +
  • + + snapshot_orders + + ( bool + + , + + + default False + + ) – If order state snapshots should be published externally.

    -
  • -
    -
    -
    -
    -
    - - - is_subscribed - - - - ( - - - - self, - - - unicode - - - topic, - - - handler: - - - Callable[[Any], - - - None] - - - - ) - - - - → - - - - bool - - - - - ¶ - -
    -
    -

    - Return if topic and handler is subscribed to the message bus. -

    -

    - Does not consider any previous - - priority - - . -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - topic - - ( - - str - - ) – The topic of the subscription. -

      -
    • -
    • -

      - - handler - - ( - - Callable - - - [ - - - [ - - - Any - - - ] - - - , - - - None - - - ] - - ) – The handler of the subscription. -

      -
    • -
    -
    -
    - Returns - - : - -
    -
    + +
  • + + snapshot_positions + + ( bool + + , + + + default False + + ) – If position state snapshots should be published externally.

    -
  • -
    -
    -
    -
    -
    - - - pub_count - - - - ¶ - -
    -
    -

    - The count of messages published by the bus. -

    -
    -
    - Returns - - : - -
    -
    + +
  • - - int - + + config + + ( + + MessageBusConfig + + + , + + + optional + + ) – The configuration for the message bus.

    -
  • -
    + +
    -
    -
    -
    - - - publish - - - - ( - - - - - self - - - - , - - - - unicode - - - topic - - - - , - - - - msg: - - - Any - - - - - ) - - - - → - - - - void - - +
    + Raises + + : - - ¶ -
    -
    +

    - Publish the given message for the given + + ValueError + + – If - topic + name - . -

    -

    - Subscription handlers will receive the message in priority order -(highest first). -

    -
    -
    - Parameters - - : + is not + + + None -
    -
    -
      -
    • -

      - - topic - - ( - - str - - ) – The topic to publish on. -

      -
    • -
    • -

      - - msg - - ( - - object - - ) – The message to publish. -

      -
    • -
    -
    -
    + + and not a valid string. +

    +
    +

    + Warning +

    +

    + This message bus is not thread-safe and must be called from the same thread +as the event loop. +

    +
    -
    +
    - register + deregister @@ -23606,17 +21047,17 @@

    - +

    - Register the given + Deregister the given handler - to receive messages at the + from the endpoint @@ -23640,7 +21081,7 @@

    str - ) – The endpoint address to register. + ) – The endpoint address to deregister.

  • @@ -23673,7 +21114,7 @@

    ] - ) – The handler for the registration. + ) – The handler to deregister.

  • @@ -23723,7 +21164,19 @@

    endpoint - already registered. + is not registered. +

    + +
  • +

    + + ValueError + + – If + + handler + + is not registered at the endpoint.

  • @@ -23731,20 +21184,75 @@

    +
    +
    + + + endpoints + + + + ( + + + + + self + + + + + ) + + + + → + + + + list + + + + + ¶ + +
    +
    +

    + Return all endpoint addresses registered with the message bus. +

    +
    +
    + Returns + + : + +
    +
    +

    + + list[str] + +

    +
    +
    +
    +
    -
    +
    - req_count + has_backing - +

    - The count of requests processed by the bus. + If the message bus has a database backing.

    @@ -23756,7 +21264,7 @@

    - int + bool

    @@ -23764,10 +21272,10 @@

    -
    +
    - request + has_subscribers @@ -23787,18 +21295,7 @@

    unicode - endpoint - - - - , - - - - Request - - - request + pattern=None @@ -23811,25 +21308,22 @@

    - void + bool - +

    - Handle the given + If the message bus has subscribers for the give topic - request + pattern .

    -

    - Will log an error if the correlation ID already exists. -

    Parameters @@ -23838,75 +21332,63 @@

    -
      -
    • -

      - - endpoint - - ( - - str - - ) – The endpoint address to send the request to. -

      -
    • -
    • -

      - - request - - ( - - - Request - - - ) – The request to handle. -

      -
    • -
    +

    + + pattern + + ( + + str + + + , + + + optional + + ) – The topic filter. May include wildcard characters + + * + + and + + ? + + . +If + + + None + + + then query is for + + all + + topics. +

    -
    -
    -
    -
    -
    - - - res_count - - - - ¶ - -
    -
    -

    - The count of responses processed by the bus. -

    -
    -
    +
    Returns :
    -
    +

    - - int - + + bool +

    -
    +
    - response + is_pending_request @@ -23923,10 +21405,10 @@

    - Response + UUID4 - response + request_id @@ -23939,24 +21421,21 @@

    - void + bool - +

    - Handle the given + Return if the given - response + request_id - . -

    -

    - Will log an error if the correlation ID is not found. + is still pending a response.

    @@ -23968,57 +21447,61 @@

    - response + request_id ( - + - Response + UUID4 - ) – The response to handle + ) – The request ID to check (to match the correlation_id). +

    +
    +
    + Returns + + : + +
    +
    +

    + + bool +

    -
    +
    - send + is_subscribed ( - - - self - + + self, - - , - - - - unicode - - - endpoint - + + unicode - - , - - - - msg: - - - Any - + + topic, + + + handler: + + + Callable[[Any], + + + None] @@ -24030,21 +21513,24 @@

    - void + bool - +

    - Send the given message to the given + Return if topic and handler is subscribed to the message bus. +

    +

    + Does not consider any previous - endpoint + priority - address. + .

    @@ -24058,78 +21544,80 @@

  • - endpoint + topic ( str - ) – The endpoint address to send the message to. + ) – The topic of the subscription.

  • - msg + handler ( - object + Callable - ) – The message to send. + + [ + + + [ + + + Any + + + ] + + + , + + + None + + + ] + + ) – The handler of the subscription.

  • -
    -
    -
    -
    -
    - - - sent_count - - - - ¶ - -
    -
    -

    - The count of messages sent through the bus. -

    -
    -
    +
    Returns :
    -
    +

    - - int - + + bool +

    -
    +
    - serializer + pub_count - +

    - The serializer for the bus. + The count of messages published by the bus.

    @@ -24141,82 +21629,124 @@

    - Serializer + int

    -
    -
    +
    +
    - snapshot_orders + publish - - ¶ - -
    -
    -

    - If order state snapshots should be published externally. -

    -
    -
    - Returns - - : + + ( + + + + + self + + + + , + + + + unicode + + + topic + + + + , + + + + msg: + + + Any + + + + + ) + + + + → + + + + void -
    -
    -

    - - bool - -

    -
    -
    -
    -
    -
    -
    - - - snapshot_positions - +

    - If position state snapshots should be published externally. + Publish the given message for the given + + topic + + . +

    +

    + Subscription handlers will receive the message in priority order +(highest first).

    - Returns + Parameters :
    -

    - - bool - -

    +
      +
    • +

      + + topic + + ( + + str + + ) – The topic to publish on. +

      +
    • +
    • +

      + + msg + + ( + + object + + ) – The message to publish. +

      +
    • +
    -
    +
    - subscribe + register @@ -24230,7 +21760,7 @@

    unicode - topic, + endpoint, handler: @@ -24239,13 +21769,7 @@

    Callable[[Any], - None], - - - int - - - priority=0 + None] @@ -24261,21 +21785,21 @@

    - +

    - Subscribe to the given message + Register the given - topic + handler - with the given callback + to receive messages at the - handler + endpoint - . + address.

    @@ -24289,21 +21813,13 @@

  • - topic + endpoint ( str - ) – The topic for the subscription. May include wildcard characters - - * - - and - - ? - - . + ) – The endpoint address to register.

  • @@ -24336,27 +21852,7 @@

    ] - ) – The handler for the subscription. -

    -

  • -
  • -

    - - priority - - ( - - int - - - , - - - optional - - ) – The priority for the subscription. Determines the ordering of -handlers receiving messages being processed, higher priority -handlers will receive messages prior to lower priority handlers. + ) – The handler for the registration.

  • @@ -24376,7 +21872,7 @@

    – If - topic + endpoint is not a valid string.

    @@ -24397,150 +21893,60 @@

    .

    +
  • +

    + + KeyError + + – If + + endpoint + + already registered. +

    +
  • -
    -

    - Warning -

    -

    - Assigning priority handling is an advanced feature which - - shouldn’t -normally be needed by most users - - . - - Only assign a higher priority to the -subscription if you are certain of what you’re doing - - . If an inappropriate -priority is assigned then the handler may receive messages before core -system components have been able to process necessary calculations and -produce potential side effects for logically sound behavior. -

    -
    -
    -
    +
    +
    - subscriptions - - - - ( - - - - - self - - - - , - - - - unicode - - - pattern=None - - - - - ) - - - - → - - - - list - - - - - ¶ - -
    -
    -

    - Return all subscriptions matching the given topic - - pattern - - . -

    -
    -
    - Parameters - - : - -
    -
    -

    - - pattern - - ( - - str - - - , - - - optional - - ) – The topic pattern filter. May include wildcard characters - - * - - and - - ? - - . -If - - - None - - - then query is for - - all - - topics. -

    -
    -
    + req_count + + + + ¶ + +
    +
    +

    + The count of requests processed by the bus. +

    +
    +
    Returns :
    -
    +

    - - list[Subscription] - + + int +

    -
    +
    - topics + request @@ -24553,6 +21959,28 @@

    + , + + + + unicode + + + endpoint + + + + , + + + + Request + + + request + + + ) @@ -24562,49 +21990,79 @@

    - list + void - +

    - Return all topics with active subscribers. + Handle the given + + request + + . +

    +

    + Will log an error if the correlation ID already exists.

    - Returns + Parameters :
    -

    - - list[str] - -

    +
      +
    • +

      + + endpoint + + ( + + str + + ) – The endpoint address to send the request to. +

      +
    • +
    • +

      + + request + + ( + + + Request + + + ) – The request to handle. +

      +
    • +
    -
    +
    - trader_id + res_count - +

    - The trader ID associated with the bus. + The count of responses processed by the bus.

    @@ -24616,7 +22074,7 @@

    - TraderId + int

    @@ -24624,33 +22082,31 @@

    -
    +
    - unsubscribe + response ( - - self, - - - unicode - - - topic, - - - handler: - - - Callable[[Any], + + + self + - - None] + + , + + + + Response + + + response + @@ -24666,22 +22122,21 @@

    - +

    - Unsubscribe the given callback - - handler - - from the given message + Handle the given - topic + response .

    +

    + Will log an error if the correlation ID is not found. +

    Parameters @@ -24690,322 +22145,170 @@

    -
      -
    • -

      - - topic - - ( - - str - - - , - - - optional - - ) – The topic to unsubscribe from. May include wildcard characters - - * - - and - - ? - - . -

      -
    • -
    • -

      - - handler - - ( - - Callable - - - [ - - - [ - - - Any - - - ] - - - , - - - None - - - ] - - ) – The handler for the subscription. -

      -
    • -
    +

    + + response + + ( + + + Response + + + ) – The response to handle +

    -
    - Raises +
    +
    +
    +
    +
    + + + send + + + + ( + + + + + self + + + + , + + + + unicode + + + endpoint + + + + , + + + + msg: + + + Any + + + + + ) + + + + → + + + + void + + + + + ¶ + +
    +
    +

    + Send the given message to the given + + endpoint + + address. +

    +
    +
    + Parameters :
    -
    +
    • - ValueError + endpoint - – If - - topic - - is not a valid string. + ( + + str + + ) – The endpoint address to send the message to.

    • - ValueError + msg - – If - - handler - - is not of type - - Callable - - . -

      -
    • -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - class - - - - - - - Subscription - - - - ( - - - - unicode - - - topic, - - - handler: - - - Callable[[Any], - - - None], - - - int - - - priority=0 - - - - ) - - - ¶ - -
    -
    -

    - Bases: - - - object - - -

    -

    - Represents a subscription to a particular topic. -

    -

    - This is an internal class intended to be used by the message bus to organize -topics and their subscribers. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - topic - - ( - - str - - ) – The topic for the subscription. May include wildcard characters - - * - - and - - ? - - . -

      -
    • -
    • -

      - - handler - - ( - - Callable - - - [ - - - [ - - - Message - - - ] - - - , - - - None - - - ] - - ) – The handler for the subscription. -

      -
    • -
    • -

      - - priority - - ( - - int - - ) – The priority for the subscription. -

      -
    • -
    -
    -
    - Raises - - : - -
    -
    -
      -
    • -

      - - ValueError - - – If - - topic - - is not a valid string. -

      -
    • -
    • -

      - - ValueError - - – If - - handler - - is not of type - - Callable - - . -

      -
    • -
    • + ( + + object + + ) – The message to send. +

      +
    • +
    +
    +
    +
    +
    +
    +
    + + + sent_count + + + + ¶ + +
    +
    +

    + The count of messages sent through the bus. +

    +
    +
    + Returns + + : + +
    +

    - - ValueError - - – If - priority + int - is negative (< 0).

    - - +
    +
    -

    - Notes -

    -

    - The subscription equality is determined by the topic and handler, -priority is not considered (and could change). -

    -
    +
    - handler + serializer - +

    - The handler for the subscription. + The serializer for the bus.

    @@ -25017,7 +22320,7 @@

    - Callable + Serializer

    @@ -25025,19 +22328,19 @@

    -
    +
    - priority + snapshot_orders - +

    - The priority for the subscription. + If order state snapshots should be published externally.

    @@ -25049,7 +22352,7 @@

    - int + bool

    @@ -25057,19 +22360,19 @@

    -
    +
    - topic + snapshot_positions - +

    - The topic for the subscription. + If position state snapshots should be published externally.

    @@ -25081,84 +22384,47 @@

    - str + bool

    - -
    -
    -
    - - - class - - - - - - - TestClock - - - - ¶ - -
    -
    -

    - Bases: - - - - Clock - - - -

    -

    - Provides a monotonic clock for backtesting and unit testing. -

    -
    +
    - advance_time + subscribe ( - - - self - + + self, - - , - - - - uint64_t - - - to_time_ns - + + unicode - - , - - - - bool - - - set_time=True - + + topic, + + + handler: + + + Callable[[Any], + + + None], + + + int + + + priority=0 @@ -25170,19 +22436,23 @@

    - list + void - +

    - Advance the clocks time to the given + Subscribe to the given message - to_time_ns + topic + + with the given callback + + handler .

    @@ -25198,73 +22468,145 @@

  • - to_time_ns + topic + + ( + + str + + ) – The topic for the subscription. May include wildcard characters + + * + + and + + ? + + . +

    +
  • +
  • +

    + + handler + + ( + + Callable + + + [ + + + [ + + + Any + + + ] + + + , + + + None + + + ] + + ) – The handler for the subscription. +

    +
  • +
  • +

    + + priority + + ( + + int + + + , + + + optional + + ) – The priority for the subscription. Determines the ordering of +handlers receiving messages being processed, higher priority +handlers will receive messages prior to lower priority handlers. +

    +
  • + +

    +
    + Raises + + : + +
    +
    +
      +
    • +

      + + ValueError - ( - - uint64_t - - ) – The UNIX time (nanoseconds) to advance the clock to. + – If + + topic + + is not a valid string.

    • - set_time + ValueError - ( - - bool - - ) – If the clock should also be set to the given + – If - to_time_ns + handler + + is not of type + + Callable .

    -
    - Returns - - : - -
    -
    -

    - - list[TimeEventHandler] - - – Sorted chronologically. -

    -
    -
    - Raises - - : - -
    -
    -

    - - ValueError - - – If - - to_time_ns - - is < the clocks current time. -

    -
    +
    +

    + Warning +

    +

    + Assigning priority handling is an advanced feature which + + shouldn’t +normally be needed by most users + + . + + Only assign a higher priority to the +subscription if you are certain of what you’re doing + + . If an inappropriate +priority is assigned then the handler may receive messages before core +system components have been able to process necessary calculations and +produce potential side effects for logically sound behavior. +

    +
    -
    +
    - cancel_timer + subscriptions @@ -25284,7 +22626,7 @@

    unicode - name + pattern=None @@ -25297,59 +22639,87 @@

    - void + list - +

    -
    -
    -
    -
    - - - cancel_timers - - - - ( - - - - - self +

    + Return all subscriptions matching the given topic + + pattern + + . +

    +
    +
    + Parameters + + : - - - - ) - - - - → - - - - void +
    +
    +

    + + pattern + + ( + + str + + + , + + + optional + + ) – The topic pattern filter. May include wildcard characters + + * + + and + + ? + + . +If + + + None + + + then query is for + + all + + topics. +

    +
    +
    + Returns + + : - - - - ¶ - -
    -
    +
    +
    +

    + + list[Subscription] + +

    +
    +
    -
    +
    - local_now + topics @@ -25362,17 +22732,6 @@

    - , - - - - tzinfo - - - tz=None - - - ) @@ -25382,87 +22741,95 @@

    - datetime + list - +

    - Return the current datetime of the clock in the given local timezone. + Return all topics with active subscribers.

    - Parameters + Returns :

    - - tz - - ( - - tzinfo - - - , - - optional + list[str] - ) – The local timezone (if None the system local timezone is assumed for -the target timezone).

    -
    +
    +
    +
    +
    +
    + + + trader_id + + + + ¶ + +
    +
    +

    + The trader ID associated with the bus. +

    +
    +
    Returns :
    -
    +

    - - datetime - - – tz-aware in local timezone. + + TraderId +

    -
    +
    - next_time_ns + unsubscribe ( - - - self - + + self, - - , - - - - unicode - - - name - + + unicode + + + topic, + + + handler: + + + Callable[[Any], + + + None] @@ -25474,547 +22841,503 @@

    - uint64_t + void - +

    -
    -
    -
    -
    - - - register_default_handler - - - - ( - - - - - self - - - - , - - - - callback - - - - +

    + Unsubscribe the given callback + + handler + + from the given message + + topic + + . +

    +
    +
    + Parameters + : - - - - - - Callable +
    +
    +
      +
    • +

      + + topic + + ( + + str + + + , + + + optional + + ) – The topic to unsubscribe from. May include wildcard characters + + * + + and + + ? + + . +

      +
    • +
    • +

      + + handler + + ( + + Callable + + + [ + + + [ + + + Any + + + ] + + + , + + + None + + + ] + + ) – The handler for the subscription. +

      +
    • +
    +
    +
    + Raises + + : - - +
    +
    +
      +
    • +

      + + ValueError + + – If + + topic + + is not a valid string. +

      +
    • +
    • +

      + + ValueError + + – If + + handler + + is not of type + + Callable + + . +

      +
    • +
    +
    +
    + +
    + + +
    +
    + + + class + + + + + + + Subscription + + + + ( + + + + unicode + + + topic, + + + handler: + + + Callable[[Any], + + + None], + + + int + + + priority=0 + + + + ) + + + ¶ + +
    +
    +

    + Bases: + + + object + + +

    +

    + Represents a subscription to a particular topic. +

    +

    + This is an internal class intended to be used by the message bus to organize +topics and their subscribers. +

    +
    +
    + Parameters + + : + +
    +
    +
      +
    • +

      + + topic + + ( + + str + + ) – The topic for the subscription. May include wildcard characters + + * + + and + + ? + + . +

      +
    • +
    • +

      + + handler + + ( + + Callable + + [ - - - - + + [ - - - - - TimeEvent - - - - + + + Message + + ] - - - - + + , - - - - - - None - - - + + + None + + ] - - - - - - ) - - - - → - - - - void - - - - - ¶ - -

    -
    -
    - -
    -
    - - - set_time - - - - ( - - - - - self - - - - , - - - - uint64_t - - - to_time_ns - - - - - ) - - - - → - - - - void - - - - - ¶ - -
    -
    -

    - Set the clocks datetime to the given time (UTC). -

    -
    -
    - Parameters - - : - -
    -
    + + ) – The handler for the subscription. +

    + +
  • - to_time_ns + priority ( - uint64_t + int - ) – The UNIX time (nanoseconds) to set. + ) – The priority for the subscription.

    -
  • -
    + +
    -
    -
    -
    - - - set_time_alert - - - - ( +
    + Raises + + : - - - self, - - - unicode - - - name, - - - datetime - - - alert_time, - - - callback: - - - Callable[[TimeEvent], - - - None] - - - = - +
    +
    +
      +
    • +

      + + ValueError + + – If + + topic + + is not a valid string. +

      +
    • +
    • +

      + + ValueError + + – If + + handler + + is not of type + + Callable + + . +

      +
    • +
    • +

      + + ValueError + + – If + + priority + + is negative (< 0). +

      +
    • +
    +
    +
    +

    + Notes +

    +

    + The subscription equality is determined by the topic and handler, +priority is not considered (and could change). +

    +
    +
    + - None - - - - ) - - - - → - - - - void - + handler - +

    - Set a time alert for the given time. -

    -

    - When the time is reached the handler will be passed the - - TimeEvent - - containing the timers unique name. If no handler is passed then the -default handler (if registered) will receive the - - TimeEvent - - . + The handler for the subscription.

    - Parameters - - : - -
    -
    -
      -
    • -

      - - name - - ( - - str - - ) – The name for the alert (must be unique for this clock). -

      -
    • -
    • -

      - - alert_time - - ( - - datetime - - ) – The time for the alert. -

      -
    • -
    • -

      - - callback - - ( - - Callable - - - [ - - - [ - - - - TimeEvent - - - - ] - - - , - - - None - - - ] - - - , - - - optional - - ) – The callback to receive time events. -

      -
    • -
    -
    -
    - Raises - - : - -
    -
    -
      -
    • -

      - - ValueError - - – If - - name - - is not a valid string. -

      -
    • -
    • -

      - - KeyError - - – If - - name - - is not unique for this clock. -

      -
    • -
    • -

      - - TypeError - - – If - - handler - - is not of type - - Callable - - or - - - None - - - . -

      -
    • -
    • -

      - - ValueError - - – If - - handler - - is - - - None - - - and no default handler is registered. -

      -
    • -
    -
    -
    -
    -

    - Warning -

    -

    - If - - alert_time - - is in the past or at current time, then an immediate -time event will be generated (rather than being invalid and failing a condition check). -

    -
    -
    -
    -
    -
    - - - set_time_alert_ns - - - - ( - - - - self, - - - unicode - - - name, - - - uint64_t - - - alert_time_ns, - - - callback: - - - Callable[[TimeEvent], - - - None] - - - | - - - None - - - = - + Returns + + : + +
    +
    +

    + + Callable + +

    +
    +
    + + +
    +
    + - None + priority - - - ) - - - → - - - - void + + ¶ + +
    +
    +

    + The priority for the subscription. +

    +
    +
    + Returns + + : +
    +
    +

    + + int + +

    +
    +
    +
    +
    +
    +
    + + + topic - +
    +

    + The topic for the subscription. +

    +
    +
    + Returns + + : + +
    +
    +

    + + str + +

    +
    +
    + + +
    +
    + + + class + + + + + + + TestClock + + + + ¶ + +
    +
    +

    + Bases: + + + + Clock + + + +

    +

    + Provides a monotonic clock for backtesting and unit testing. +

    -
    +
    - set_timer + advance_time ( - - self, - - - unicode - - - name, - - - timedelta - - - interval, - - - datetime - - - start_time=None, - - - datetime - - - stop_time=None, - - - callback: - - - Callable[[TimeEvent], - - - None] - - - | - - - None + + + self + - - = + + , + + + + uint64_t + + + to_time_ns + - - None + + , + + + + bool + + + set_time=True + @@ -26026,342 +23349,159 @@

    - void + list - +

    - Set a timer to run. -

    -

    - The timer will run from the start time (optionally until the stop time). -When the intervals are reached the handlers will be passed the - - TimeEvent - - containing the timers unique name. If no handler is passed -then the default handler (if registered) will receive the + Advance the clocks time to the given - TimeEvent + to_time_ns - . -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - name - - ( - - str - - ) – The name for the timer (must be unique for this clock). -

      -
    • -
    • -

      - - interval - - ( - - timedelta - - ) – The time interval for the timer. -

      -
    • -
    • -

      - - start_time - - ( - - datetime - - - , - - - optional - - ) – The start time for the timer (if None then starts immediately). -

      -
    • + . +

      +
      +
      + Parameters + + : + +
      +
      +
      • - stop_time + to_time_ns ( - datetime - - - , - - - optional + uint64_t - ) – The stop time for the timer (if None then repeats indefinitely). + ) – The UNIX time (nanoseconds) to advance the clock to.

      • - callback + set_time ( - Callable - - - [ - - - [ - - - - TimeEvent - - - - ] - - - , - - - None - - - ] - - - , - - - optional + bool - ) – The callback to receive time events. + ) – If the clock should also be set to the given + + to_time_ns + + .

      - Raises + Returns :
      -
        -
      • -

        - - ValueError - - – If - - name - - is not a valid string. -

        -
      • -
      • -

        - - KeyError - - – If - - name - - is not unique for this clock. -

        -
      • -
      • -

        - - ValueError - - – If - - interval - - is not positive (> 0). -

        -
      • -
      • -

        - - ValueError - - – If - - stop_time - - is not - - - None - - - and - - stop_time - - < time now. -

        -
      • -
      • -

        - - ValueError - - – If - - stop_time - - is not - - - None - - - and - - start_time - - + - - interval - - > - - stop_time - - . -

        -
      • -
      • -

        - - TypeError - - – If - - handler - - is not of type - - Callable - - or - - - None - - - . -

        -
      • -
      • -

        - - ValueError - - – If - - handler - - is - - - None - - - and no default handler is registered. -

        -
      • -
      +

      + + list[TimeEventHandler] + + – Sorted chronologically. +

      +
      +
      + Raises + + : + +
      +
      +

      + + ValueError + + – If + + to_time_ns + + is < the clocks current time. +

    -
    +
    + + + cancel_timer + + + + ( + + + + + self + + + + , + + + + unicode + + + name + + + + + ) + + + + → + + + + void + + + + + ¶ + +
    +
    +
    +
    +
    +
    - set_timer_ns + cancel_timers ( - - self, - - - unicode - - - name, - - - uint64_t - - - interval_ns, - - - uint64_t - - - start_time_ns, - - - uint64_t - - - stop_time_ns, - - - callback: - - - Callable[[TimeEvent], - - - None] - - - | - - - None - - - = - - - None + + + self + @@ -26377,78 +23517,158 @@

    - +

    -
    -
    +
    +
    - timer_count + local_now - + + ( + + + + + self + + + + , + + + + tzinfo + + + tz=None + + + + + ) + + + + → + + + + datetime + + + +

    - int + Return the current datetime of the clock in the given local timezone.

    - Type + Parameters :

    - TestClock.timer_count + + tz + + ( + + tzinfo + + + , + + + optional + + ) – The local timezone (if None the system local timezone is assumed for +the target timezone). +

    +
    +
    + Returns + + : + +
    +
    +

    + + datetime + + – tz-aware in local timezone.

    -
    -
    +
    +
    - timer_names + next_time_ns - + + ( + + + + + self + + + + , + + + + unicode + + + name + + + + + ) + + + + → + + + + uint64_t + + + +
    -

    - list[str] -

    -
    -
    - Type - - : - -
    -
    -

    - TestClock.timer_names -

    -
    -
    -
    +
    - timestamp + register_default_handler @@ -26461,6 +23681,61 @@

    + , + + + + callback + + + + + : + + + + + + + Callable + + + + [ + + + + + [ + + + + + TimeEvent + + + + + ] + + + + + , + + + + + + None + + + + ] + + + + ) @@ -26470,11 +23745,11 @@

    - double + void - +

    @@ -26482,10 +23757,10 @@

    -
    +
    - timestamp_ms + set_time @@ -26498,6 +23773,17 @@

    + , + + + + uint64_t + + + to_time_ns + + + ) @@ -26507,32 +23793,80 @@

    - uint64_t + void - +

    +

    + Set the clocks datetime to the given time (UTC). +

    +
    +
    + Parameters + + : + +
    +
    +

    + + to_time_ns + + ( + + uint64_t + + ) – The UNIX time (nanoseconds) to set. +

    +
    +
    -
    +
    - timestamp_ns + set_time_alert ( - - - self - + + self, + + + unicode + + + name, + + + datetime + + + alert_time, + + + callback: + + + Callable[[TimeEvent], + + + None] + + + = + + + None @@ -26544,32 +23878,242 @@

    - uint64_t + void - +

    +

    + Set a time alert for the given time. +

    +

    + When the time is reached the handler will be passed the + + TimeEvent + + containing the timers unique name. If no handler is passed then the +default handler (if registered) will receive the + + TimeEvent + + . +

    +
    +
    + Parameters + + : + +
    +
    +
      +
    • +

      + + name + + ( + + str + + ) – The name for the alert (must be unique for this clock). +

      +
    • +
    • +

      + + alert_time + + ( + + datetime + + ) – The time for the alert. +

      +
    • +
    • +

      + + callback + + ( + + Callable + + + [ + + + [ + + + + TimeEvent + + + + ] + + + , + + + None + + + ] + + + , + + + optional + + ) – The callback to receive time events. +

      +
    • +
    +
    +
    + Raises + + : + +
    +
    +
      +
    • +

      + + ValueError + + – If + + name + + is not a valid string. +

      +
    • +
    • +

      + + KeyError + + – If + + name + + is not unique for this clock. +

      +
    • +
    • +

      + + TypeError + + – If + + handler + + is not of type + + Callable + + or + + + None + + + . +

      +
    • +
    • +

      + + ValueError + + – If + + handler + + is + + + None + + + and no default handler is registered. +

      +
    • +
    +
    +
    +
    +

    + Warning +

    +

    + If + + alert_time + + is in the past or at current time, then an immediate +time event will be generated (rather than being invalid and failing a condition check). +

    +
    -
    +
    - utc_now + set_time_alert_ns ( - - - self - + + self, + + + unicode + + + name, + + + uint64_t + + + alert_time_ns, + + + callback: + + + Callable[[TimeEvent], + + + None] + + + | + + + None + + + = + + + None @@ -26581,414 +24125,422 @@

    - datetime + void - + ¶ - -

    -
    -

    - Return the current time (UTC). -

    -
    -
    - Returns - - : - -
    -
    -

    - - datetime - - – The current tz-aware UTC time of the clock. -

    -
    -
    -
    -
    -
    -
    -
    -
    - - - class - - - - - - - ThreadTimer - - - - ( - - - - unicode - - - name, - - - callback: - - - Callable[[TimeEvent], - - - None], - - - uint64_t - - - interval_ns, - - - uint64_t - - - ts_now, - - - uint64_t - - - start_time_ns, - - - uint64_t - - - stop_time_ns=0 - - - - ) - - - ¶ - -
    -
    -

    - Bases: - - - - LiveTimer - - - -

    -

    - Provides a thread based timer for live trading. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - name - - ( - - str - - ) – The name for the timer. -

      -
    • -
    • -

      - - callback - - ( - - Callable - - - [ - - - [ - - - - TimeEvent - - - - ] - - - , - - - None - - - ] - - ) – The delegate to call at the next time. -

      -
    • -
    • -

      - - interval_ns - - ( - - uint64_t - - ) – The time interval for the timer. -

      -
    • -
    • -

      - - ts_now - - ( - - uint64_t - - ) – The current UNIX time (nanoseconds). -

      -
    • -
    • -

      - - start_time_ns - - ( - - uint64_t - - ) – The start datetime for the timer (UTC). -

      -
    • -
    • -

      - - stop_time_ns - - ( - - uint64_t - - - , - - - optional - - ) – The stop datetime for the timer (UTC) (if None then timer repeats). -

      -
    • -
    -
    -
    - Raises - - : - +
    -
    -

    - - TypeError - - – If - - callback - - is not of type - - Callable - - . -

    +
    -
    -
    +
    +
    - callback + set_timer + + + + ( + + + + self, + + + unicode + + + name, + + + timedelta + + + interval, + + + datetime + + + start_time=None, + + + datetime + + + stop_time=None, + + + callback: + + + Callable[[TimeEvent], + + + None] + + + | + + + None + + + = + + + None + + + + ) + + + + → + + + + void + - +

    - The timers callback function. + Set a timer to run. +

    +

    + The timer will run from the start time (optionally until the stop time). +When the intervals are reached the handlers will be passed the + + TimeEvent + + containing the timers unique name. If no handler is passed +then the default handler (if registered) will receive the + + TimeEvent + + .

    - Returns + Parameters :
    -

    - - object - -

    +
      +
    • +

      + + name + + ( + + str + + ) – The name for the timer (must be unique for this clock). +

      +
    • +
    • +

      + + interval + + ( + + timedelta + + ) – The time interval for the timer. +

      +
    • +
    • +

      + + start_time + + ( + + datetime + + + , + + + optional + + ) – The start time for the timer (if None then starts immediately). +

      +
    • +
    • +

      + + stop_time + + ( + + datetime + + + , + + + optional + + ) – The stop time for the timer (if None then repeats indefinitely). +

      +
    • +
    • +

      + + callback + + ( + + Callable + + + [ + + + [ + + + + TimeEvent + + + + ] + + + , + + + None + + + ] + + + , + + + optional + + ) – The callback to receive time events. +

      +
    • +
    +
    +
    + Raises + + : + +
    +
    +
      +
    • +

      + + ValueError + + – If + + name + + is not a valid string. +

      +
    • +
    • +

      + + KeyError + + – If + + name + + is not unique for this clock. +

      +
    • +
    • +

      + + ValueError + + – If + + interval + + is not positive (> 0). +

      +
    • +
    • +

      + + ValueError + + – If + + stop_time + + is not + + + None + + + and + + stop_time + + < time now. +

      +
    • +
    • +

      + + ValueError + + – If + + stop_time + + is not + + + None + + + and + + start_time + + + + + interval + + > + + stop_time + + . +

      +
    • +
    • +

      + + TypeError + + – If + + handler + + is not of type + + Callable + + or + + + None + + + . +

      +
    • +
    • +

      + + ValueError + + – If + + handler + + is + + + None + + + and no default handler is registered. +

      +
    • +
    -
    +
    - cancel + set_timer_ns ( - - - self - + + self, - - - ) - - - - → + + unicode - - - void - + + name, - - - ¶ - -
    -
    -

    - Cancels the timer (the timer will not generate an event). -

    -
    -
    -
    -
    - - interval_ns + uint64_t - - - ¶ - -
    -
    -

    - The timers set interval. -

    -
    -
    - Returns - - : - -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - is_expired + interval_ns, - - - ¶ - -
    -
    -

    - If the timer is expired. -

    -
    -
    - Returns - - : - -
    -
    -

    - - bool - -

    -
    -
    -
    -
    -
    -
    - - iterate_next_time + uint64_t - - - ( - - - - - self - + + start_time_ns, - - , - - - - uint64_t - - - ts_now - + + uint64_t + + + stop_time_ns, + + + callback: + + + Callable[[TimeEvent], + + + None] + + + | + + + None + + + = + + + None @@ -26997,112 +24549,85 @@

    → - - - - void - - - - - ¶ - -

    -
    -

    - Iterates the timers next time and checks if the timer is now expired. -

    -
    -
    - Parameters - - : - -
    -
    -

    - - ts_now - - ( - - uint64_t - - ) – The current UNIX time (nanoseconds). -

    -
    -
    + + + + void + + + + + ¶ + +
    +
    -
    +
    - name + timer_count - +

    - The timers name using for hashing. + int

    - Returns + Type :

    - - str - + TestClock.timer_count

    -
    +
    - next_time_ns + timer_names - +

    - The timers next alert timestamp. + list[str]

    - Returns + Type :

    - - uint64_t - + TestClock.timer_names

    -
    +
    - pop_event + timestamp @@ -27115,25 +24640,40 @@

    - , - - - - UUID4 - + + ) + + + + → + + - event_id + double - - , + + + ¶ + +

    +
    +
    +
    +
    +
    + + + timestamp_ms + + + + ( + - uint64_t - - - ts_init + self @@ -27145,79 +24685,23 @@

    - - - TimeEvent - - + + uint64_t + - +

    -

    - Return a generated time event with the given ID. -

    -
    -
    - Parameters - - : - -
    -
    -
      -
    • -

      - - event_id - - ( - - - UUID4 - - - ) – The ID for the time event. -

      -
    • -
    • -

      - - ts_init - - ( - - uint64_t - - ) – The UNIX timestamp (nanoseconds) when the object was initialized. -

      -
    • -
    -
    -
    - Returns - - : - -
    -
    -

    - - TimeEvent - -

    -
    -
    -
    +
    - repeat + timestamp_ns @@ -27230,17 +24714,6 @@

    - , - - - - uint64_t - - - ts_now - - - ) @@ -27250,86 +24723,54 @@

    - void + uint64_t - +

    -

    - Continue the timer. -

    -
    -
    - Parameters - - : - -
    -
    -

    - - ts_now - - ( - - uint64_t - - ) – The current time to continue timing from. -

    -
    -
    -
    -
    +
    +
    - start_time_ns + utc_now - - ¶ - -
    -
    -

    - The timers set start time. -

    -
    -
    - Returns - - : + + ( + + + + + self + + + + + ) + + + + → + + + + datetime -
    -
    -

    - - uint64_t - -

    -
    -
    -
    -
    -
    -
    - - - stop_time_ns - +

    - The timers set stop time (if set). + Return the current time (UTC).

    @@ -27340,9 +24781,10 @@

    - - uint64_t - + + datetime + + – The current tz-aware UTC time of the clock.

    @@ -28696,6 +26138,43 @@

    +
    +
    + + + create_pyo3_conversion_wrapper + + + + ( + + + + + callback + + + + + ) + + + + → + + + + Callable + + + + + ¶ + +
    +
    +
    +
    diff --git a/nightly/api_reference/execution.html b/nightly/api_reference/execution.html index 7412ec4ecf83..68596163bff4 100644 --- a/nightly/api_reference/execution.html +++ b/nightly/api_reference/execution.html @@ -19019,6 +19019,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -19153,6 +19164,24 @@

    then will be inferred from the venue in the instrument ID.

    +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -19241,6 +19270,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -19351,7 +19391,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -19399,6 +19439,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -19430,7 +19488,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -19441,7 +19499,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    @@ -35220,6 +35278,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -35354,6 +35423,24 @@

    then will be inferred from the venue in the instrument ID.

    +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -35442,6 +35529,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -35552,7 +35650,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -35600,6 +35698,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -35631,7 +35747,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -35642,7 +35758,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    diff --git a/nightly/api_reference/trading.html b/nightly/api_reference/trading.html index 4e51ef36b647..20169dc7af15 100644 --- a/nightly/api_reference/trading.html +++ b/nightly/api_reference/trading.html @@ -14004,6 +14004,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -14138,6 +14149,24 @@

    then will be inferred from the venue in the instrument ID.

    +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -14226,6 +14255,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -14336,7 +14376,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -14384,6 +14424,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -14415,7 +14473,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -14426,7 +14484,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    @@ -31490,6 +31548,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -31624,6 +31693,24 @@

    then will be inferred from the venue in the instrument ID.

    +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -31712,6 +31799,17 @@

    + , + + + + bool + + + managed=True + + + ) @@ -31822,7 +31920,7 @@

    int - ) – The order book snapshot interval in milliseconds (not less than 20 milliseconds). + ) – The order book snapshot interval in milliseconds (must be positive).

  • @@ -31870,6 +31968,24 @@

    then will be inferred from the venue in the instrument ID.

  • +
  • +

    + + managed + + ( + + bool + + + , + + + default True + + ) – If an order book should be managed by the data engine based on the subscribed feed. +

    +
  • @@ -31901,7 +32017,7 @@

    interval_ms - is less than the minimum of 20. + is not positive (> 0).

    @@ -31912,7 +32028,7 @@

    Warning

    - Consider subscribing to order book deltas if you need intervals less than 20 milliseconds. + Consider subscribing to order book deltas if you need intervals less than 100 milliseconds.

    diff --git a/nightly/core/drop_db/all.html b/nightly/core/drop_db/all.html index aa1f5bae95cf..2284965cfd8d 100644 --- a/nightly/core/drop_db/all.html +++ b/nightly/core/drop_db/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

    List of all items

    Functions

    \ No newline at end of file diff --git a/nightly/core/drop_db/fn.main.html b/nightly/core/drop_db/fn.main.html index bf549496a764..ebce7d601bf4 100644 --- a/nightly/core/drop_db/fn.main.html +++ b/nightly/core/drop_db/fn.main.html @@ -1,2 +1,2 @@ -main in drop_db - Rust +main in drop_db - Rust

    Function drop_db::main

    source ·
    pub(crate) fn main() -> Result<(), Box<dyn Error>>
    \ No newline at end of file diff --git a/nightly/core/drop_db/index.html b/nightly/core/drop_db/index.html index c40d93450123..9fc46269fb83 100644 --- a/nightly/core/drop_db/index.html +++ b/nightly/core/drop_db/index.html @@ -1,3 +1,3 @@ -drop_db - Rust

    source§

    impl Debug for CashAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for CashAccount

    §

    type Target = BaseAccount

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for CashAccount

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Display for CashAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for CashAccount

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for CashAccount

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for CashAccount

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for CashAccount

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<CashAccount>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<CashAccount> for PyClassImplCollector<CashAccount>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CashAccount

    §

    type Holder = Option<PyRef<'py, CashAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CashAccount

    §

    type Holder = Option<PyRefMut<'py, CashAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<CashAccount> for PyClassImplCollector<CashAccount>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for CashAccount

    §

    type AsRefTarget = PyCell<CashAccount>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "CashAccount"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for CashAccount

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<CashAccount> for PyClassImplCollector<CashAccount>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CashAccount

    §

    type Holder = Option<PyRef<'py, CashAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CashAccount

    §

    type Holder = Option<PyRefMut<'py, CashAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<CashAccount> for PyClassImplCollector<CashAccount>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for CashAccount

    §

    type AsRefTarget = PyCell<CashAccount>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "CashAccount"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for CashAccount

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_accounting/account/index.html b/nightly/core/nautilus_accounting/account/index.html index 6b1b5480df3b..a5451fc4402f 100644 --- a/nightly/core/nautilus_accounting/account/index.html +++ b/nightly/core/nautilus_accounting/account/index.html @@ -1,2 +1,2 @@ -nautilus_accounting::account - Rust +nautilus_accounting::account - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/margin/index.html b/nightly/core/nautilus_accounting/account/margin/index.html index 7fce36a37346..08fa2bb5a3d7 100644 --- a/nightly/core/nautilus_accounting/account/margin/index.html +++ b/nightly/core/nautilus_accounting/account/margin/index.html @@ -1,2 +1,2 @@ -nautilus_accounting::account::margin - Rust +nautilus_accounting::account::margin - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html b/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html index 51a90e2c0dd6..cbc4f854f4f5 100644 --- a/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html +++ b/nightly/core/nautilus_accounting/account/margin/struct.MarginAccount.html @@ -1,87 +1,87 @@ -MarginAccount in nautilus_accounting::account::margin - Rust +MarginAccount in nautilus_accounting::account::margin - Rust
    pub struct MarginAccount {
         pub base: BaseAccount,
    -    pub leverages: HashMap<InstrumentId, f64>,
    -    pub margins: HashMap<InstrumentId, MarginBalance>,
    +    pub leverages: HashMap<InstrumentId, f64>,
    +    pub margins: HashMap<InstrumentId, MarginBalance>,
         pub default_leverage: f64,
    -}

    Fields§

    §base: BaseAccount§leverages: HashMap<InstrumentId, f64>§margins: HashMap<InstrumentId, MarginBalance>§default_leverage: f64

    Implementations§

    source§

    impl MarginAccount

    source

    pub fn new(event: AccountState, calculate_account_state: bool) -> Result<Self>

    source

    pub fn set_default_leverage(&mut self, leverage: f64)

    source

    pub fn set_leverage(&mut self, instrument_id: InstrumentId, leverage: f64)

    source

    pub fn get_leverage(&self, instrument_id: &InstrumentId) -> f64

    source

    pub fn is_unleveraged(&self, instrument_id: InstrumentId) -> bool

    source

    pub fn is_cash_account(&self) -> bool

    source

    pub fn is_margin_account(&self) -> bool

    source

    pub fn initial_margins(&self) -> HashMap<InstrumentId, Money>

    source

    pub fn maintenance_margins(&self) -> HashMap<InstrumentId, Money>

    source

    pub fn update_initial_margin( +}

    Fields§

    §base: BaseAccount§leverages: HashMap<InstrumentId, f64>§margins: HashMap<InstrumentId, MarginBalance>§default_leverage: f64

    Implementations§

    source§

    impl MarginAccount

    source

    pub fn new(event: AccountState, calculate_account_state: bool) -> Result<Self>

    source

    pub fn set_default_leverage(&mut self, leverage: f64)

    source

    pub fn set_leverage(&mut self, instrument_id: InstrumentId, leverage: f64)

    source

    pub fn get_leverage(&self, instrument_id: &InstrumentId) -> f64

    source

    pub fn is_unleveraged(&self, instrument_id: InstrumentId) -> bool

    source

    pub fn is_cash_account(&self) -> bool

    source

    pub fn is_margin_account(&self) -> bool

    source

    pub fn initial_margins(&self) -> HashMap<InstrumentId, Money>

    source

    pub fn maintenance_margins(&self) -> HashMap<InstrumentId, Money>

    source

    pub fn update_initial_margin( &mut self, - instrument_id: InstrumentId, - margin_init: Money -)

    source

    pub fn initial_margin(&self, instrument_id: InstrumentId) -> Money

    source

    pub fn update_maintenance_margin( + instrument_id: InstrumentId, + margin_init: Money +)

    source

    pub fn initial_margin(&self, instrument_id: InstrumentId) -> Money

    source

    pub fn update_maintenance_margin( &mut self, - instrument_id: InstrumentId, - margin_maintenance: Money -)

    source

    pub fn maintenance_margin(&self, instrument_id: InstrumentId) -> Money

    source

    pub fn calculate_initial_margin<T: Instrument>( + instrument_id: InstrumentId, + margin_maintenance: Money +)

    source

    pub fn maintenance_margin(&self, instrument_id: InstrumentId) -> Money

    source

    pub fn calculate_initial_margin<T: Instrument>( &mut self, instrument: T, - quantity: Quantity, - price: Price, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> -) -> Money

    source

    pub fn calculate_maintenance_margin<T: Instrument>( +) -> Money

    source

    pub fn calculate_maintenance_margin<T: Instrument>( &mut self, instrument: T, - quantity: Quantity, - price: Price, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> -) -> Money

    source

    pub fn recalculate_balance(&mut self, currency: Currency)

    source§

    impl MarginAccount

    source§

    impl MarginAccount

    source

    pub fn py_calculate_initial_margin( &mut self, instrument: PyObject, - quantity: Quantity, - price: Price, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool>, py: Python<'_> -) -> PyResult<Money>

    source

    pub fn py_calculate_maintenance_margin( +) -> PyResult<Money>

    source

    pub fn py_calculate_maintenance_margin( &mut self, instrument: PyObject, - quantity: Quantity, - price: Price, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool>, py: Python<'_> -) -> PyResult<Money>

    Methods from Deref<Target = BaseAccount>§

    source

    pub fn base_balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_total(&self) -> HashMap<Currency, Money>

    source

    pub fn base_balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_free(&self) -> HashMap<Currency, Money>

    source

    pub fn base_balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_locked(&self) -> HashMap<Currency, Money>

    source

    pub fn base_last_event(&self) -> Option<AccountState>

    source

    pub fn update_balances(&mut self, balances: Vec<AccountBalance>)

    source

    pub fn base_apply(&mut self, event: AccountState)

    source

    pub fn base_calculate_balance_locked<T: Instrument>( +) -> PyResult<Money>

    Methods from Deref<Target = BaseAccount>§

    source

    pub fn base_balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_total(&self) -> HashMap<Currency, Money>

    source

    pub fn base_balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_free(&self) -> HashMap<Currency, Money>

    source

    pub fn base_balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source

    pub fn base_balances_locked(&self) -> HashMap<Currency, Money>

    source

    pub fn base_last_event(&self) -> Option<AccountState>

    source

    pub fn update_balances(&mut self, balances: Vec<AccountBalance>)

    source

    pub fn base_apply(&mut self, event: AccountState)

    source

    pub fn base_calculate_balance_locked<T: Instrument>( &mut self, instrument: T, - side: OrderSide, - quantity: Quantity, - price: Price, + side: OrderSide, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    source

    pub fn base_calculate_pnls<T: Instrument>( +) -> Result<Money>

    source

    pub fn base_calculate_pnls<T: Instrument>( &self, instrument: T, - fill: OrderFilled, - position: Option<Position> -) -> Result<Vec<Money>>

    source

    pub fn base_calculate_commission<T: Instrument>( + fill: OrderFilled, + position: Option<Position> +) -> Result<Vec<Money>>

    source

    pub fn base_calculate_commission<T: Instrument>( &self, instrument: T, - last_qty: Quantity, - last_px: Price, - liquidity_side: LiquiditySide, + last_qty: Quantity, + last_px: Price, + liquidity_side: LiquiditySide, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    Trait Implementations§

    source§

    impl Account for MarginAccount

    source§

    fn balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_total(&self) -> HashMap<Currency, Money>

    source§

    fn balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_free(&self) -> HashMap<Currency, Money>

    source§

    fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_locked(&self) -> HashMap<Currency, Money>

    source§

    fn last_event(&self) -> Option<AccountState>

    source§

    fn events(&self) -> Vec<AccountState>

    source§

    fn event_count(&self) -> usize

    source§

    fn currencies(&self) -> Vec<Currency>

    source§

    fn starting_balances(&self) -> HashMap<Currency, Money>

    source§

    fn balances(&self) -> HashMap<Currency, AccountBalance>

    source§

    fn apply(&mut self, event: AccountState)

    source§

    fn calculate_balance_locked<T: Instrument>( +) -> Result<Money>

    Trait Implementations§

    source§

    impl Account for MarginAccount

    source§

    fn balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_total(&self) -> HashMap<Currency, Money>

    source§

    fn balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_free(&self) -> HashMap<Currency, Money>

    source§

    fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source§

    fn balances_locked(&self) -> HashMap<Currency, Money>

    source§

    fn last_event(&self) -> Option<AccountState>

    source§

    fn events(&self) -> Vec<AccountState>

    source§

    fn event_count(&self) -> usize

    source§

    fn currencies(&self) -> Vec<Currency>

    source§

    fn starting_balances(&self) -> HashMap<Currency, Money>

    source§

    fn balances(&self) -> HashMap<Currency, AccountBalance>

    source§

    fn apply(&mut self, event: AccountState)

    source§

    fn calculate_balance_locked<T: Instrument>( &mut self, instrument: T, - side: OrderSide, - quantity: Quantity, - price: Price, + side: OrderSide, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    source§

    fn calculate_pnls<T: Instrument>( +) -> Result<Money>

    source§

    fn calculate_pnls<T: Instrument>( &self, instrument: T, - fill: OrderFilled, - position: Option<Position> -) -> Result<Vec<Money>>

    source§

    fn calculate_commission<T: Instrument>( + fill: OrderFilled, + position: Option<Position> +) -> Result<Vec<Money>>

    source§

    fn calculate_commission<T: Instrument>( &self, instrument: T, - last_qty: Quantity, - last_px: Price, - liquidity_side: LiquiditySide, + last_qty: Quantity, + last_px: Price, + liquidity_side: LiquiditySide, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    source§

    impl Debug for MarginAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for MarginAccount

    §

    type Target = BaseAccount

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for MarginAccount

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Display for MarginAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for MarginAccount

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +) -> Result<Money>

    source§

    impl Debug for MarginAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for MarginAccount

    §

    type Target = BaseAccount

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for MarginAccount

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl Display for MarginAccount

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for MarginAccount

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for MarginAccount

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for MarginAccount

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for MarginAccount

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for MarginAccount

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<MarginAccount>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<MarginAccount> for PyClassImplCollector<MarginAccount>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginAccount

    §

    type Holder = Option<PyRef<'py, MarginAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginAccount

    §

    type Holder = Option<PyRefMut<'py, MarginAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<MarginAccount> for PyClassImplCollector<MarginAccount>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for MarginAccount

    §

    type AsRefTarget = PyCell<MarginAccount>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarginAccount"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for MarginAccount

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<MarginAccount> for PyClassImplCollector<MarginAccount>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginAccount

    §

    type Holder = Option<PyRef<'py, MarginAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginAccount

    §

    type Holder = Option<PyRefMut<'py, MarginAccount>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<MarginAccount> for PyClassImplCollector<MarginAccount>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for MarginAccount

    §

    type AsRefTarget = PyCell<MarginAccount>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarginAccount"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for MarginAccount

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_accounting/account/trait.Account.html b/nightly/core/nautilus_accounting/account/trait.Account.html index ba64df31163d..f5ba39edd892 100644 --- a/nightly/core/nautilus_accounting/account/trait.Account.html +++ b/nightly/core/nautilus_accounting/account/trait.Account.html @@ -1,58 +1,58 @@ -Account in nautilus_accounting::account - Rust +Account in nautilus_accounting::account - Rust
    pub trait Account {
     
    Show 16 methods // Required methods - fn balance_total(&self, currency: Option<Currency>) -> Option<Money>; - fn balances_total(&self) -> HashMap<Currency, Money>; - fn balance_free(&self, currency: Option<Currency>) -> Option<Money>; - fn balances_free(&self) -> HashMap<Currency, Money>; - fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>; - fn balances_locked(&self) -> HashMap<Currency, Money>; - fn last_event(&self) -> Option<AccountState>; - fn events(&self) -> Vec<AccountState>; + fn balance_total(&self, currency: Option<Currency>) -> Option<Money>; + fn balances_total(&self) -> HashMap<Currency, Money>; + fn balance_free(&self, currency: Option<Currency>) -> Option<Money>; + fn balances_free(&self) -> HashMap<Currency, Money>; + fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>; + fn balances_locked(&self) -> HashMap<Currency, Money>; + fn last_event(&self) -> Option<AccountState>; + fn events(&self) -> Vec<AccountState>; fn event_count(&self) -> usize; - fn currencies(&self) -> Vec<Currency>; - fn starting_balances(&self) -> HashMap<Currency, Money>; - fn balances(&self) -> HashMap<Currency, AccountBalance>; - fn apply(&mut self, event: AccountState); - fn calculate_balance_locked<T: Instrument>( + fn currencies(&self) -> Vec<Currency>; + fn starting_balances(&self) -> HashMap<Currency, Money>; + fn balances(&self) -> HashMap<Currency, AccountBalance>; + fn apply(&mut self, event: AccountState); + fn calculate_balance_locked<T: Instrument>( &mut self, instrument: T, - side: OrderSide, - quantity: Quantity, - price: Price, + side: OrderSide, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> - ) -> Result<Money>; - fn calculate_pnls<T: Instrument>( + ) -> Result<Money>; + fn calculate_pnls<T: Instrument>( &self, instrument: T, - fill: OrderFilled, - position: Option<Position> - ) -> Result<Vec<Money>>; - fn calculate_commission<T: Instrument>( + fill: OrderFilled, + position: Option<Position> + ) -> Result<Vec<Money>>; + fn calculate_commission<T: Instrument>( &self, instrument: T, - last_qty: Quantity, - last_px: Price, - liquidity_side: LiquiditySide, + last_qty: Quantity, + last_px: Price, + liquidity_side: LiquiditySide, use_quote_for_inverse: Option<bool> - ) -> Result<Money>; -
    }

    Required Methods§

    source

    fn balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_total(&self) -> HashMap<Currency, Money>

    source

    fn balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_free(&self) -> HashMap<Currency, Money>

    source

    fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_locked(&self) -> HashMap<Currency, Money>

    source

    fn last_event(&self) -> Option<AccountState>

    source

    fn events(&self) -> Vec<AccountState>

    source

    fn event_count(&self) -> usize

    source

    fn currencies(&self) -> Vec<Currency>

    source

    fn starting_balances(&self) -> HashMap<Currency, Money>

    source

    fn balances(&self) -> HashMap<Currency, AccountBalance>

    source

    fn apply(&mut self, event: AccountState)

    source

    fn calculate_balance_locked<T: Instrument>( + ) -> Result<Money>; +

    }

    Required Methods§

    source

    fn balance_total(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_total(&self) -> HashMap<Currency, Money>

    source

    fn balance_free(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_free(&self) -> HashMap<Currency, Money>

    source

    fn balance_locked(&self, currency: Option<Currency>) -> Option<Money>

    source

    fn balances_locked(&self) -> HashMap<Currency, Money>

    source

    fn last_event(&self) -> Option<AccountState>

    source

    fn events(&self) -> Vec<AccountState>

    source

    fn event_count(&self) -> usize

    source

    fn currencies(&self) -> Vec<Currency>

    source

    fn starting_balances(&self) -> HashMap<Currency, Money>

    source

    fn balances(&self) -> HashMap<Currency, AccountBalance>

    source

    fn apply(&mut self, event: AccountState)

    source

    fn calculate_balance_locked<T: Instrument>( &mut self, instrument: T, - side: OrderSide, - quantity: Quantity, - price: Price, + side: OrderSide, + quantity: Quantity, + price: Price, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    source

    fn calculate_pnls<T: Instrument>( +) -> Result<Money>

    source

    fn calculate_pnls<T: Instrument>( &self, instrument: T, - fill: OrderFilled, - position: Option<Position> -) -> Result<Vec<Money>>

    source

    fn calculate_commission<T: Instrument>( + fill: OrderFilled, + position: Option<Position> +) -> Result<Vec<Money>>

    source

    fn calculate_commission<T: Instrument>( &self, instrument: T, - last_qty: Quantity, - last_px: Price, - liquidity_side: LiquiditySide, + last_qty: Quantity, + last_px: Price, + liquidity_side: LiquiditySide, use_quote_for_inverse: Option<bool> -) -> Result<Money>

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file +) -> Result<Money>

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_accounting/all.html b/nightly/core/nautilus_accounting/all.html index 7f12177b418d..1e453c827bd9 100644 --- a/nightly/core/nautilus_accounting/all.html +++ b/nightly/core/nautilus_accounting/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate
    \ No newline at end of file diff --git a/nightly/core/nautilus_accounting/index.html b/nightly/core/nautilus_accounting/index.html index 2b38746fb1a4..35b945070719 100644 --- a/nightly/core/nautilus_accounting/index.html +++ b/nightly/core/nautilus_accounting/index.html @@ -1,3 +1,3 @@ -nautilus_accounting - Rust

    Cannot include trades

    source

    pub fn py_load_order_book_deltas_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId>, + instrument_id: Option<InstrumentId>, include_trades: Option<bool> ) -> PyResult<PyObject>

    source

    pub fn py_load_order_book_depth10( &self, path: String, - instrument_id: Option<InstrumentId> -) -> PyResult<Vec<OrderBookDepth10>>

    source

    pub fn py_load_order_book_depth10_as_pycapsule( + instrument_id: Option<InstrumentId> +) -> PyResult<Vec<OrderBookDepth10>>

    source

    pub fn py_load_order_book_depth10_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId> + instrument_id: Option<InstrumentId> ) -> PyResult<PyObject>

    source

    pub fn py_load_quotes( &self, path: String, - instrument_id: Option<InstrumentId>, + instrument_id: Option<InstrumentId>, include_trades: Option<bool> -) -> PyResult<Vec<QuoteTick>>

    source

    pub fn py_load_quotes_as_pycapsule( +) -> PyResult<Vec<QuoteTick>>

    source

    pub fn py_load_quotes_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId>, + instrument_id: Option<InstrumentId>, include_trades: Option<bool> ) -> PyResult<PyObject>

    source

    pub fn py_load_tbbo_trades( &self, path: String, - instrument_id: Option<InstrumentId> -) -> PyResult<Vec<TradeTick>>

    source

    pub fn py_load_tbbo_trades_as_pycapsule( + instrument_id: Option<InstrumentId> +) -> PyResult<Vec<TradeTick>>

    source

    pub fn py_load_tbbo_trades_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId> + instrument_id: Option<InstrumentId> ) -> PyResult<PyObject>

    source

    pub fn py_load_trades( &self, path: String, - instrument_id: Option<InstrumentId> -) -> PyResult<Vec<TradeTick>>

    source

    pub fn py_load_trades_as_pycapsule( + instrument_id: Option<InstrumentId> +) -> PyResult<Vec<TradeTick>>

    source

    pub fn py_load_trades_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId> + instrument_id: Option<InstrumentId> ) -> PyResult<PyObject>

    source

    pub fn py_load_bars( &self, path: String, - instrument_id: Option<InstrumentId> -) -> PyResult<Vec<Bar>>

    source

    pub fn py_load_bars_as_pycapsule( + instrument_id: Option<InstrumentId> +) -> PyResult<Vec<Bar>>

    source

    pub fn py_load_bars_as_pycapsule( &self, py: Python<'_>, path: String, - instrument_id: Option<InstrumentId> + instrument_id: Option<InstrumentId> ) -> PyResult<PyObject>

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for DatabentoDataLoader

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for DatabentoDataLoader

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DatabentoDataLoader

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DatabentoDataLoader>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<DatabentoDataLoader> for PyClassImplCollector<DatabentoDataLoader>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoDataLoader

    §

    type Holder = Option<PyRef<'py, DatabentoDataLoader>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoDataLoader

    §

    type Holder = Option<PyRefMut<'py, DatabentoDataLoader>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DatabentoDataLoader> for PyClassImplCollector<DatabentoDataLoader>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DatabentoDataLoader

    §

    type AsRefTarget = PyCell<DatabentoDataLoader>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoDataLoader"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_equity.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_equity.html index 7e18181b2a8f..b5149cb335f5 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_equity.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_equity.html @@ -1,6 +1,6 @@ -py_decode_equity in nautilus_adapters::databento::python::decode - Rust +py_decode_equity in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_equity(
         record: &InstrumentDefMsgV1,
    -    instrument_id: InstrumentId,
    -    ts_init: UnixNanos
    -) -> PyResult<Equity>
    \ No newline at end of file + instrument_id: InstrumentId, + ts_init: UnixNanos +) -> PyResult<Equity>

    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_futures_contract.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_futures_contract.html index f338f15f1638..589aa07060ac 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_futures_contract.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_futures_contract.html @@ -1,6 +1,6 @@ -py_decode_futures_contract in nautilus_adapters::databento::python::decode - Rust +py_decode_futures_contract in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_futures_contract(
         record: &InstrumentDefMsgV1,
    -    instrument_id: InstrumentId,
    -    ts_init: UnixNanos
    -) -> PyResult<FuturesContract>
    \ No newline at end of file + instrument_id: InstrumentId, + ts_init: UnixNanos +) -> PyResult<FuturesContract> \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbo_msg.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbo_msg.html index daf2fd44c31d..f443e4097137 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbo_msg.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbo_msg.html @@ -1,8 +1,8 @@ -py_decode_mbo_msg in nautilus_adapters::databento::python::decode - Rust +py_decode_mbo_msg in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_mbo_msg(
         py: Python<'_>,
         record: &MboMsg,
    -    instrument_id: InstrumentId,
    +    instrument_id: InstrumentId,
         price_precision: u8,
    -    ts_init: UnixNanos
    +    ts_init: UnixNanos
     ) -> PyResult<PyObject>
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp10_msg.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp10_msg.html index 2dc1e0ca713f..3e58c531efe8 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp10_msg.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp10_msg.html @@ -1,7 +1,7 @@ -py_decode_mbp10_msg in nautilus_adapters::databento::python::decode - Rust +py_decode_mbp10_msg in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_mbp10_msg(
         record: &Mbp10Msg,
    -    instrument_id: InstrumentId,
    +    instrument_id: InstrumentId,
         price_precision: u8,
    -    ts_init: UnixNanos
    -) -> PyResult<OrderBookDepth10>
    \ No newline at end of file + ts_init: UnixNanos +) -> PyResult<OrderBookDepth10> \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp1_msg.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp1_msg.html index 8cd48b5d9640..cde435d7e755 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp1_msg.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_mbp1_msg.html @@ -1,9 +1,9 @@ -py_decode_mbp1_msg in nautilus_adapters::databento::python::decode - Rust +py_decode_mbp1_msg in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_mbp1_msg(
         py: Python<'_>,
         record: &Mbp1Msg,
    -    instrument_id: InstrumentId,
    +    instrument_id: InstrumentId,
         price_precision: u8,
    -    ts_init: UnixNanos,
    +    ts_init: UnixNanos,
         include_trades: bool
     ) -> PyResult<PyObject>
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_options_contract.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_options_contract.html index 2c26c0e6ec5d..6082c4e612d4 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_options_contract.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_options_contract.html @@ -1,6 +1,6 @@ -py_decode_options_contract in nautilus_adapters::databento::python::decode - Rust +py_decode_options_contract in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_options_contract(
         record: &InstrumentDefMsgV1,
    -    instrument_id: InstrumentId,
    -    ts_init: UnixNanos
    -) -> PyResult<OptionsContract>
    \ No newline at end of file + instrument_id: InstrumentId, + ts_init: UnixNanos +) -> PyResult<OptionsContract> \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_trade_msg.html b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_trade_msg.html index 8d1117b6e8a9..c2b74727663e 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_trade_msg.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/fn.py_decode_trade_msg.html @@ -1,7 +1,7 @@ -py_decode_trade_msg in nautilus_adapters::databento::python::decode - Rust +py_decode_trade_msg in nautilus_adapters::databento::python::decode - Rust
    pub fn py_decode_trade_msg(
         record: &TradeMsg,
    -    instrument_id: InstrumentId,
    +    instrument_id: InstrumentId,
         price_precision: u8,
    -    ts_init: UnixNanos
    -) -> PyResult<TradeTick>
    \ No newline at end of file + ts_init: UnixNanos +) -> PyResult<TradeTick> \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/decode/index.html b/nightly/core/nautilus_adapters/databento/python/decode/index.html index f89640c930e6..579023ca4bc0 100644 --- a/nightly/core/nautilus_adapters/databento/python/decode/index.html +++ b/nightly/core/nautilus_adapters/databento/python/decode/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::python::decode - Rust +nautilus_adapters::databento::python::decode - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/fn.databento.html b/nightly/core/nautilus_adapters/databento/python/fn.databento.html index cd53abe0ba3c..5c4628ede8d5 100644 --- a/nightly/core/nautilus_adapters/databento/python/fn.databento.html +++ b/nightly/core/nautilus_adapters/databento/python/fn.databento.html @@ -1,3 +1,3 @@ -databento in nautilus_adapters::databento::python - Rust +databento in nautilus_adapters::databento::python - Rust
    pub fn databento(_: Python<'_>, m: &PyModule) -> PyResult<()>
    Expand description

    Loaded as nautilus_pyo3.databento

    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/historical/index.html b/nightly/core/nautilus_adapters/databento/python/historical/index.html index 8975140191ec..1f6b361f322e 100644 --- a/nightly/core/nautilus_adapters/databento/python/historical/index.html +++ b/nightly/core/nautilus_adapters/databento/python/historical/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::python::historical - Rust +nautilus_adapters::databento::python::historical - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/historical/struct.DatabentoHistoricalClient.html b/nightly/core/nautilus_adapters/databento/python/historical/struct.DatabentoHistoricalClient.html index b80caeedd390..9c0cbf2b5ec3 100644 --- a/nightly/core/nautilus_adapters/databento/python/historical/struct.DatabentoHistoricalClient.html +++ b/nightly/core/nautilus_adapters/databento/python/historical/struct.DatabentoHistoricalClient.html @@ -1,9 +1,9 @@ -DatabentoHistoricalClient in nautilus_adapters::databento::python::historical - Rust +DatabentoHistoricalClient in nautilus_adapters::databento::python::historical - Rust
    pub struct DatabentoHistoricalClient {
         pub key: String,
         /* private fields */
     }

    Fields§

    §key: String

    Implementations§

    source§

    impl DatabentoHistoricalClient

    source

    pub fn py_new(key: String, publishers_path: &str) -> PyResult<Self>

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for DatabentoHistoricalClient

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for DatabentoHistoricalClient

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DatabentoHistoricalClient

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DatabentoHistoricalClient>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<DatabentoHistoricalClient> for PyClassImplCollector<DatabentoHistoricalClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoHistoricalClient

    §

    type Holder = Option<PyRef<'py, DatabentoHistoricalClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoHistoricalClient

    §

    type Holder = Option<PyRefMut<'py, DatabentoHistoricalClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DatabentoHistoricalClient> for PyClassImplCollector<DatabentoHistoricalClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DatabentoHistoricalClient

    §

    type AsRefTarget = PyCell<DatabentoHistoricalClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoHistoricalClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<DatabentoHistoricalClient> for PyClassImplCollector<DatabentoHistoricalClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoHistoricalClient

    §

    type Holder = Option<PyRef<'py, DatabentoHistoricalClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoHistoricalClient

    §

    type Holder = Option<PyRefMut<'py, DatabentoHistoricalClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DatabentoHistoricalClient> for PyClassImplCollector<DatabentoHistoricalClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DatabentoHistoricalClient

    §

    type AsRefTarget = PyCell<DatabentoHistoricalClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoHistoricalClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_adapters/databento/python/index.html b/nightly/core/nautilus_adapters/databento/python/index.html index 948203fa966b..160b00556f97 100644 --- a/nightly/core/nautilus_adapters/databento/python/index.html +++ b/nightly/core/nautilus_adapters/databento/python/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::python - Rust +nautilus_adapters::databento::python - Rust

    Modules§

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/live/index.html b/nightly/core/nautilus_adapters/databento/python/live/index.html index 1e71e4ccce7d..7335c18da468 100644 --- a/nightly/core/nautilus_adapters/databento/python/live/index.html +++ b/nightly/core/nautilus_adapters/databento/python/live/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::python::live - Rust -
    \ No newline at end of file +nautilus_adapters::databento::python::live - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/live/struct.DatabentoLiveClient.html b/nightly/core/nautilus_adapters/databento/python/live/struct.DatabentoLiveClient.html index 57c03ce6e538..324ec8a03d91 100644 --- a/nightly/core/nautilus_adapters/databento/python/live/struct.DatabentoLiveClient.html +++ b/nightly/core/nautilus_adapters/databento/python/live/struct.DatabentoLiveClient.html @@ -1,14 +1,14 @@ -DatabentoLiveClient in nautilus_adapters::databento::python::live - Rust -
    pub struct DatabentoLiveClient {
    +DatabentoLiveClient in nautilus_adapters::databento::python::live - Rust
    +    
    pub struct DatabentoLiveClient {
         pub key: String,
         pub dataset: String,
         /* private fields */
    -}

    Fields§

    §key: String§dataset: String

    Implementations§

    Fields§

    §key: String§dataset: String

    Implementations§

    source§

    impl DatabentoLiveClient

    source

    pub fn py_new( key: String, dataset: String, publishers_path: String -) -> PyResult<Self>

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for DatabentoLiveClient

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for DatabentoLiveClient

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DatabentoLiveClient

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DatabentoLiveClient>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<DatabentoLiveClient> for PyClassImplCollector<DatabentoLiveClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoLiveClient

    §

    type Holder = Option<PyRef<'py, DatabentoLiveClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoLiveClient

    §

    type Holder = Option<PyRefMut<'py, DatabentoLiveClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DatabentoLiveClient> for PyClassImplCollector<DatabentoLiveClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DatabentoLiveClient

    §

    type AsRefTarget = PyCell<DatabentoLiveClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoLiveClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> PyResult<Self>

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for DatabentoLiveClient

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for DatabentoLiveClient

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DatabentoLiveClient

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DatabentoLiveClient>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<DatabentoLiveClient> for PyClassImplCollector<DatabentoLiveClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoLiveClient

    §

    type Holder = Option<PyRef<'py, DatabentoLiveClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoLiveClient

    §

    type Holder = Option<PyRefMut<'py, DatabentoLiveClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DatabentoLiveClient> for PyClassImplCollector<DatabentoLiveClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DatabentoLiveClient

    §

    type AsRefTarget = PyCell<DatabentoLiveClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoLiveClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_adapters/databento/python/loader/fn.convert_instrument_to_pyobject.html b/nightly/core/nautilus_adapters/databento/python/loader/fn.convert_instrument_to_pyobject.html index 783f87aa175a..0c50503ae870 100644 --- a/nightly/core/nautilus_adapters/databento/python/loader/fn.convert_instrument_to_pyobject.html +++ b/nightly/core/nautilus_adapters/databento/python/loader/fn.convert_instrument_to_pyobject.html @@ -1,5 +1,5 @@ -convert_instrument_to_pyobject in nautilus_adapters::databento::python::loader - Rust +convert_instrument_to_pyobject in nautilus_adapters::databento::python::loader - Rust
    pub fn convert_instrument_to_pyobject(
         py: Python<'_>,
    -    instrument: Box<dyn Instrument + 'static>
    +    instrument: Box<dyn Instrument + 'static>
     ) -> PyResult<PyObject>
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/python/loader/index.html b/nightly/core/nautilus_adapters/databento/python/loader/index.html index 82b5df2af211..2c9c6a323c37 100644 --- a/nightly/core/nautilus_adapters/databento/python/loader/index.html +++ b/nightly/core/nautilus_adapters/databento/python/loader/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::python::loader - Rust +nautilus_adapters::databento::python::loader - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/symbology/fn.decode_nautilus_instrument_id.html b/nightly/core/nautilus_adapters/databento/symbology/fn.decode_nautilus_instrument_id.html index 275abb21339e..e40db10f611d 100644 --- a/nightly/core/nautilus_adapters/databento/symbology/fn.decode_nautilus_instrument_id.html +++ b/nightly/core/nautilus_adapters/databento/symbology/fn.decode_nautilus_instrument_id.html @@ -1,6 +1,6 @@ -decode_nautilus_instrument_id in nautilus_adapters::databento::symbology - Rust +decode_nautilus_instrument_id in nautilus_adapters::databento::symbology - Rust
    pub fn decode_nautilus_instrument_id(
         record: &RecordRef<'_>,
         metadata: &Metadata,
    -    venue: Venue
    -) -> Result<InstrumentId>
    \ No newline at end of file + venue: Venue +) -> Result<InstrumentId>
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/symbology/index.html b/nightly/core/nautilus_adapters/databento/symbology/index.html index f557b6528474..a1753c9df04d 100644 --- a/nightly/core/nautilus_adapters/databento/symbology/index.html +++ b/nightly/core/nautilus_adapters/databento/symbology/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::symbology - Rust +nautilus_adapters::databento::symbology - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/types/index.html b/nightly/core/nautilus_adapters/databento/types/index.html index 595101342325..c34a473736d4 100644 --- a/nightly/core/nautilus_adapters/databento/types/index.html +++ b/nightly/core/nautilus_adapters/databento/types/index.html @@ -1,2 +1,2 @@ -nautilus_adapters::databento::types - Rust +nautilus_adapters::databento::types - Rust

    Structs§

    Type Aliases§

    • Represents a Databento dataset code.
    • Represents a Databento publisher ID.
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/types/struct.DatabentoPublisher.html b/nightly/core/nautilus_adapters/databento/types/struct.DatabentoPublisher.html index cb6d122cd833..cc7a826774bb 100644 --- a/nightly/core/nautilus_adapters/databento/types/struct.DatabentoPublisher.html +++ b/nightly/core/nautilus_adapters/databento/types/struct.DatabentoPublisher.html @@ -1,4 +1,4 @@ -DatabentoPublisher in nautilus_adapters::databento::types - Rust +DatabentoPublisher in nautilus_adapters::databento::types - Rust
    pub struct DatabentoPublisher {
         pub publisher_id: PublisherId,
         pub dataset: Dataset,
    @@ -10,7 +10,7 @@
         Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for DatabentoPublisher

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for DatabentoPublisher

    source§

    fn eq(&self, other: &DatabentoPublisher) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for DatabentoPublisher

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DatabentoPublisher

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DatabentoPublisher>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoPublisher

    §

    type Holder = Option<PyRef<'py, DatabentoPublisher>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoPublisher

    §

    type Holder = Option<PyRefMut<'py, DatabentoPublisher>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for DatabentoPublisher

    §

    type AsRefTarget = PyCell<DatabentoPublisher>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoPublisher"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for DatabentoPublisher

    source§

    impl StructuralPartialEq for DatabentoPublisher

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DatabentoPublisher

    §

    type Holder = Option<PyRef<'py, DatabentoPublisher>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DatabentoPublisher

    §

    type Holder = Option<PyRefMut<'py, DatabentoPublisher>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for DatabentoPublisher

    §

    type AsRefTarget = PyCell<DatabentoPublisher>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DatabentoPublisher"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for DatabentoPublisher

    source§

    impl StructuralPartialEq for DatabentoPublisher

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_adapters/databento/types/type.Dataset.html b/nightly/core/nautilus_adapters/databento/types/type.Dataset.html index 65b31c67795d..3aeed18d77fd 100644 --- a/nightly/core/nautilus_adapters/databento/types/type.Dataset.html +++ b/nightly/core/nautilus_adapters/databento/types/type.Dataset.html @@ -1,3 +1,3 @@ -Dataset in nautilus_adapters::databento::types - Rust +Dataset in nautilus_adapters::databento::types - Rust
    pub type Dataset = Ustr;
    Expand description

    Represents a Databento dataset code.

    Aliased Type§

    struct Dataset { /* private fields */ }
    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html b/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html index 9ea1a35e0da5..14527b6c7277 100644 --- a/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html +++ b/nightly/core/nautilus_adapters/databento/types/type.PublisherId.html @@ -1,3 +1,3 @@ -PublisherId in nautilus_adapters::databento::types - Rust +PublisherId in nautilus_adapters::databento::types - Rust
    pub type PublisherId = u16;
    Expand description

    Represents a Databento publisher ID.

    \ No newline at end of file diff --git a/nightly/core/nautilus_adapters/index.html b/nightly/core/nautilus_adapters/index.html index b6296cba02cf..67efce1e4e92 100644 --- a/nightly/core/nautilus_adapters/index.html +++ b/nightly/core/nautilus_adapters/index.html @@ -1,3 +1,3 @@ -nautilus_adapters - Rust

    \ No newline at end of file diff --git a/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_drop.html b/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_drop.html index dfd5d1865269..df90ae570b16 100644 --- a/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_drop.html +++ b/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_drop.html @@ -1,4 +1,4 @@ -time_event_accumulator_drop in nautilus_backtest::engine - Rust +time_event_accumulator_drop in nautilus_backtest::engine - Rust
    #[no_mangle]
     pub extern "C" fn time_event_accumulator_drop(
         accumulator: TimeEventAccumulatorAPI
    diff --git a/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_new.html b/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_new.html
    index 407e95cebab0..6a86da4bc309 100644
    --- a/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_new.html
    +++ b/nightly/core/nautilus_backtest/engine/fn.time_event_accumulator_new.html
    @@ -1,4 +1,4 @@
    -time_event_accumulator_new in nautilus_backtest::engine - Rust
    +time_event_accumulator_new in nautilus_backtest::engine - Rust
         
    #[no_mangle]
     pub extern "C" fn time_event_accumulator_new(
     ) -> TimeEventAccumulatorAPI
    \ No newline at end of file diff --git a/nightly/core/nautilus_backtest/engine/index.html b/nightly/core/nautilus_backtest/engine/index.html index a59fa88e4cb8..8027ebdc1cce 100644 --- a/nightly/core/nautilus_backtest/engine/index.html +++ b/nightly/core/nautilus_backtest/engine/index.html @@ -1,2 +1,2 @@ -nautilus_backtest::engine - Rust -
    \ No newline at end of file +nautilus_backtest::engine - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulator.html b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulator.html index fc846f5c4956..67d67d256a05 100644 --- a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulator.html +++ b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulator.html @@ -1,13 +1,13 @@ -TimeEventAccumulator in nautilus_backtest::engine - Rust +TimeEventAccumulator in nautilus_backtest::engine - Rust
    pub struct TimeEventAccumulator { /* private fields */ }
    Expand description

    Provides a means of accumulating and draining time event handlers.

    Implementations§

    source§

    impl TimeEventAccumulator

    source

    pub fn new() -> Self

    Initializes a new TimeEventAccumulator instance.

    source

    pub fn advance_clock( &mut self, - clock: &mut TestClock, - to_time_ns: UnixNanos, + clock: &mut TestClock, + to_time_ns: UnixNanos, set_time: bool )

    Advance the given clock to the to_time_ns.

    -
    source

    pub fn drain(&mut self) -> Vec<TimeEventHandler>

    Drain the accumulated time event handlers in sorted order (by the events ts_event).

    +
    source

    pub fn drain(&mut self) -> Vec<TimeEventHandler>

    Drain the accumulated time event handlers in sorted order (by the events ts_event).

    Trait Implementations§

    source§

    impl Default for TimeEventAccumulator

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html index 42b127b4f94c..073e101fb9a4 100644 --- a/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html +++ b/nightly/core/nautilus_backtest/engine/struct.TimeEventAccumulatorAPI.html @@ -1,11 +1,11 @@ -TimeEventAccumulatorAPI in nautilus_backtest::engine - Rust +TimeEventAccumulatorAPI in nautilus_backtest::engine - Rust
    #[repr(C)]
    pub struct TimeEventAccumulatorAPI(/* private fields */);

    Methods from Deref<Target = TimeEventAccumulator>§

    source

    pub fn advance_clock( &mut self, - clock: &mut TestClock, - to_time_ns: UnixNanos, + clock: &mut TestClock, + to_time_ns: UnixNanos, set_time: bool )

    Advance the given clock to the to_time_ns.

    -
    source

    pub fn drain(&mut self) -> Vec<TimeEventHandler>

    Drain the accumulated time event handlers in sorted order (by the events ts_event).

    +
    source

    pub fn drain(&mut self) -> Vec<TimeEventHandler>

    Drain the accumulated time event handlers in sorted order (by the events ts_event).

    Trait Implementations§

    source§

    impl Deref for TimeEventAccumulatorAPI

    §

    type Target = TimeEventAccumulator

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for TimeEventAccumulatorAPI

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_backtest/index.html b/nightly/core/nautilus_backtest/index.html index 0e71974e0162..5896be7db6b4 100644 --- a/nightly/core/nautilus_backtest/index.html +++ b/nightly/core/nautilus_backtest/index.html @@ -1,3 +1,3 @@ -nautilus_backtest - Rust

    -

    Trait Implementations§

    source§

    impl Clock for LiveClock

    source§

    fn timer_names(&self) -> Vec<&str>

    Return the names of active timers in the clock.
    source§

    fn timer_count(&self) -> usize

    Return the count of active timers in the clock.
    source§

    fn register_default_handler(&mut self, handler: EventHandler)

    Register a default event handler for the clock. If a Timer -does not have an event handler, then this handler is used.
    source§

    fn set_time_alert_ns( +

    Trait Implementations§

    source§

    impl Clock for LiveClock

    source§

    fn timer_names(&self) -> Vec<&str>

    Return the names of active timers in the clock.
    source§

    fn timer_count(&self) -> usize

    Return the count of active timers in the clock.
    source§

    fn register_default_handler(&mut self, handler: EventHandler)

    Register a default event handler for the clock. If a Timer +does not have an event handler, then this handler is used.
    source§

    fn set_time_alert_ns( &mut self, name: &str, - alert_time_ns: UnixNanos, + alert_time_ns: UnixNanos, callback: Option<EventHandler> )

    Set a Timer to alert at a particular time. Optional -callback gets used to handle generated events.
    source§

    fn set_timer_ns( +callback gets used to handle generated events.

    source§

    fn set_timer_ns( &mut self, name: &str, interval_ns: u64, - start_time_ns: UnixNanos, - stop_time_ns: Option<UnixNanos>, + start_time_ns: UnixNanos, + stop_time_ns: Option<UnixNanos>, callback: Option<EventHandler> )

    Set a Timer to start alerting at every interval between start and stop time. Optional callback gets -used to handle generated event.
    source§

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source§

    fn cancel_timer(&mut self, name: &str)

    source§

    fn cancel_timers(&mut self)

    source§

    impl Default for LiveClock

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for LiveClock

    §

    type Target = AtomicTime

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +used to handle generated event.

    source§

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source§

    fn cancel_timer(&mut self, name: &str)

    source§

    fn cancel_timers(&mut self)

    source§

    impl Default for LiveClock

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for LiveClock

    §

    type Target = AtomicTime

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_common/clock/struct.TestClock.html b/nightly/core/nautilus_common/clock/struct.TestClock.html index 59f57a2b7c23..3bbdff7b2599 100644 --- a/nightly/core/nautilus_common/clock/struct.TestClock.html +++ b/nightly/core/nautilus_common/clock/struct.TestClock.html @@ -1,21 +1,21 @@ -TestClock in nautilus_common::clock - Rust +TestClock in nautilus_common::clock - Rust
    pub struct TestClock { /* private fields */ }

    Implementations§

    source§

    impl TestClock

    source

    pub fn new() -> Self

    source

    pub fn get_timers(&self) -> &HashMap<Ustr, TestTimer>

    source

    pub fn advance_time( &mut self, - to_time_ns: UnixNanos, + to_time_ns: UnixNanos, set_time: bool ) -> Vec<TimeEvent>

    source

    pub fn match_handlers(&self, events: Vec<TimeEvent>) -> Vec<TimeEventHandler>

    Assumes time events are sorted by their ts_event.

    -

    Methods from Deref<Target = AtomicTime>§

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    +

    Methods from Deref<Target = AtomicTime>§

    source

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    • Real-time mode returns current wall clock time since UNIX epoch (unique and monotonic).
    • Static mode returns currently stored time.
    -

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    -

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    -

    pub fn get_time(&self) -> f64

    Get time as seconds.

    -

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    -

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    -

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    -

    pub fn make_realtime(&self)

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    +
    source

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    +
    source

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    +
    source

    pub fn get_time(&self) -> f64

    Get time as seconds.

    +
    source

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    +
    source

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    +
    source

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    +
    source

    pub fn make_realtime(&self)

    source

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    load takes an Ordering argument which describes the memory ordering of this operation. Possible values are SeqCst, Acquire and Relaxed.

    §Panics
    @@ -361,19 +361,19 @@
    §Examples
    source§

    fn set_time_alert_ns( &mut self, name: &str, - alert_time_ns: UnixNanos, + alert_time_ns: UnixNanos, callback: Option<EventHandler> )

    Set a Timer to alert at a particular time. Optional callback gets used to handle generated events.
    source§

    fn set_timer_ns( &mut self, name: &str, interval_ns: u64, - start_time_ns: UnixNanos, - stop_time_ns: Option<UnixNanos>, + start_time_ns: UnixNanos, + stop_time_ns: Option<UnixNanos>, callback: Option<EventHandler> )

    Set a Timer to start alerting at every interval between start and stop time. Optional callback gets -used to handle generated event.
    source§

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source§

    fn cancel_timer(&mut self, name: &str)

    source§

    fn cancel_timers(&mut self)

    source§

    impl Default for TestClock

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for TestClock

    §

    type Target = AtomicTime

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +used to handle generated event.

    source§

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source§

    fn cancel_timer(&mut self, name: &str)

    source§

    fn cancel_timers(&mut self)

    source§

    impl Default for TestClock

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for TestClock

    §

    type Target = AtomicTime

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_common/clock/trait.Clock.html b/nightly/core/nautilus_common/clock/trait.Clock.html index be5501ae0118..c9d5422cf8cc 100644 --- a/nightly/core/nautilus_common/clock/trait.Clock.html +++ b/nightly/core/nautilus_common/clock/trait.Clock.html @@ -1,4 +1,4 @@ -Clock in nautilus_common::clock - Rust +Clock in nautilus_common::clock - Rust
    pub trait Clock {
         // Required methods
         fn timer_names(&self) -> Vec<&str>;
    @@ -7,18 +7,18 @@
         fn set_time_alert_ns(
             &mut self,
             name: &str,
    -        alert_time_ns: UnixNanos,
    +        alert_time_ns: UnixNanos,
             callback: Option<EventHandler>
         );
         fn set_timer_ns(
             &mut self,
             name: &str,
             interval_ns: u64,
    -        start_time_ns: UnixNanos,
    -        stop_time_ns: Option<UnixNanos>,
    +        start_time_ns: UnixNanos,
    +        stop_time_ns: Option<UnixNanos>,
             callback: Option<EventHandler>
         );
    -    fn next_time_ns(&self, name: &str) -> UnixNanos;
    +    fn next_time_ns(&self, name: &str) -> UnixNanos;
         fn cancel_timer(&mut self, name: &str);
         fn cancel_timers(&mut self);
     }
    Expand description

    Represents a type of clock.

    @@ -31,7 +31,7 @@

    §Notes

    source

    fn set_time_alert_ns( &mut self, name: &str, - alert_time_ns: UnixNanos, + alert_time_ns: UnixNanos, callback: Option<EventHandler> )

    Set a Timer to alert at a particular time. Optional callback gets used to handle generated events.

    @@ -39,10 +39,10 @@

    §Notes

    &mut self, name: &str, interval_ns: u64, - start_time_ns: UnixNanos, - stop_time_ns: Option<UnixNanos>, + start_time_ns: UnixNanos, + stop_time_ns: Option<UnixNanos>, callback: Option<EventHandler> )

    Set a Timer to start alerting at every interval between start and stop time. Optional callback gets used to handle generated event.

    -
    source

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source

    fn cancel_timer(&mut self, name: &str)

    source

    fn cancel_timers(&mut self)

    Implementors§

    \ No newline at end of file +
    source

    fn next_time_ns(&self, name: &str) -> UnixNanos

    source

    fn cancel_timer(&mut self, name: &str)

    source

    fn cancel_timers(&mut self)

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_common/enums/enum.ComponentState.html b/nightly/core/nautilus_common/enums/enum.ComponentState.html index 4721bd0fb41f..68149051d60b 100644 --- a/nightly/core/nautilus_common/enums/enum.ComponentState.html +++ b/nightly/core/nautilus_common/enums/enum.ComponentState.html @@ -1,4 +1,4 @@ -ComponentState in nautilus_common::enums - Rust +ComponentState in nautilus_common::enums - Rust
    #[repr(C)]
    pub enum ComponentState {
    Show 14 variants PreInitialized = 0, Ready = 1, @@ -30,8 +30,8 @@
    §

    Faulting = 12

    When a component is executing its actions on fault.

    §

    Faulted = 13

    When a component has successfully shut down due to a detected fault.

    Implementations§

    source§

    impl ComponentState

    source

    pub const fn from_repr(discriminant: usize) -> Option<ComponentState>

    Try to create Self from the raw representation

    -

    Trait Implementations§

    source§

    impl Clone for ComponentState

    source§

    fn clone(&self) -> ComponentState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentState

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for ComponentState

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<ComponentState, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentState

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for ComponentState

    source§

    fn clone(&self) -> ComponentState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentState

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for ComponentState

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<ComponentState, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentState

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for ComponentState

    source§

    impl IntoPy<Py<PyAny>> for ComponentState

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for ComponentState

    source§

    fn cmp(&self, other: &ComponentState) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where diff --git a/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html b/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html index 43e5b46ca35e..a7b8b97568a1 100644 --- a/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html +++ b/nightly/core/nautilus_common/enums/enum.ComponentTrigger.html @@ -1,4 +1,4 @@ -ComponentTrigger in nautilus_common::enums - Rust +ComponentTrigger in nautilus_common::enums - Rust
    #[repr(C)]
    pub enum ComponentTrigger {
    Show 15 variants Initialize = 1, Start = 2, @@ -32,8 +32,8 @@
    §

    Fault = 14

    A trigger for the component to fault.

    §

    FaultCompleted = 15

    A trigger when the component has successfully faulted.

    Implementations§

    source§

    impl ComponentTrigger

    source

    pub const fn from_repr(discriminant: usize) -> Option<ComponentTrigger>

    Try to create Self from the raw representation

    -

    Trait Implementations§

    source§

    impl Clone for ComponentTrigger

    source§

    fn clone(&self) -> ComponentTrigger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentTrigger

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentTrigger

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentTrigger

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for ComponentTrigger

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<ComponentTrigger, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentTrigger

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for ComponentTrigger

    source§

    fn clone(&self) -> ComponentTrigger

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentTrigger

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentTrigger

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentTrigger

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for ComponentTrigger

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<ComponentTrigger, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentTrigger

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for ComponentTrigger

    source§

    impl IntoPy<Py<PyAny>> for ComponentTrigger

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for ComponentTrigger

    source§

    fn cmp(&self, other: &ComponentTrigger) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -43,7 +43,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for ComponentTrigger

    source§

    fn partial_cmp(&self, other: &ComponentTrigger) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for ComponentTrigger

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for ComponentTrigger

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<ComponentTrigger>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentTrigger

    §

    type Holder = Option<PyRef<'py, ComponentTrigger>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentTrigger

    §

    type Holder = Option<PyRefMut<'py, ComponentTrigger>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for ComponentTrigger

    §

    type AsRefTarget = PyCell<ComponentTrigger>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ComponentTrigger"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ComponentTrigger

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentTrigger

    §

    type Holder = Option<PyRef<'py, ComponentTrigger>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentTrigger

    §

    type Holder = Option<PyRefMut<'py, ComponentTrigger>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for ComponentTrigger

    §

    type AsRefTarget = PyCell<ComponentTrigger>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ComponentTrigger"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ComponentTrigger

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for ComponentTrigger

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<ComponentTrigger, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for ComponentTrigger

    source§

    impl Eq for ComponentTrigger

    source§

    impl StructuralPartialEq for ComponentTrigger

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_common/enums/enum.LogColor.html b/nightly/core/nautilus_common/enums/enum.LogColor.html index 07a865b220a4..be829f284b20 100644 --- a/nightly/core/nautilus_common/enums/enum.LogColor.html +++ b/nightly/core/nautilus_common/enums/enum.LogColor.html @@ -1,4 +1,4 @@ -LogColor in nautilus_common::enums - Rust +LogColor in nautilus_common::enums - Rust
    #[repr(C)]
    pub enum LogColor { Normal = 0, Green = 1, @@ -27,7 +27,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for LogColor

    source§

    fn partial_cmp(&self, other: &LogColor) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for LogColor

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for LogColor

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<LogColor>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogColor

    §

    type Holder = Option<PyRef<'py, LogColor>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogColor

    §

    type Holder = Option<PyRefMut<'py, LogColor>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LogColor

    §

    type AsRefTarget = PyCell<LogColor>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LogColor"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for LogColor

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogColor

    §

    type Holder = Option<PyRef<'py, LogColor>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogColor

    §

    type Holder = Option<PyRefMut<'py, LogColor>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LogColor

    §

    type AsRefTarget = PyCell<LogColor>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LogColor"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for LogColor

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for LogColor

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<LogColor, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for LogColor

    source§

    impl Eq for LogColor

    source§

    impl StructuralPartialEq for LogColor

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_common/enums/enum.LogFormat.html b/nightly/core/nautilus_common/enums/enum.LogFormat.html index 9d7e355577a9..97f265858bc9 100644 --- a/nightly/core/nautilus_common/enums/enum.LogFormat.html +++ b/nightly/core/nautilus_common/enums/enum.LogFormat.html @@ -1,4 +1,4 @@ -LogFormat in nautilus_common::enums - Rust +LogFormat in nautilus_common::enums - Rust
    #[repr(C)]
    pub enum LogFormat { Header = 0, Endc = 1, diff --git a/nightly/core/nautilus_common/enums/enum.LogLevel.html b/nightly/core/nautilus_common/enums/enum.LogLevel.html index 02d42e1be98f..4c07748d39c4 100644 --- a/nightly/core/nautilus_common/enums/enum.LogLevel.html +++ b/nightly/core/nautilus_common/enums/enum.LogLevel.html @@ -1,4 +1,4 @@ -LogLevel in nautilus_common::enums - Rust +LogLevel in nautilus_common::enums - Rust
    #[repr(C)]
    pub enum LogLevel { Off = 0, Debug = 10, @@ -12,8 +12,8 @@
    §

    Warning = 30

    The WARNING warning log level.

    §

    Error = 40

    The ERROR error log level.

    Implementations§

    source§

    impl LogLevel

    source

    pub const fn from_repr(discriminant: usize) -> Option<LogLevel>

    Try to create Self from the raw representation

    -

    Trait Implementations§

    source§

    impl Clone for LogLevel

    source§

    fn clone(&self) -> LogLevel

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogLevel

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for LogLevel

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for LogLevel

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for LogLevel

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<LogLevel, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for LogLevel

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for LogLevel

    source§

    fn clone(&self) -> LogLevel

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogLevel

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for LogLevel

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for LogLevel

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for LogLevel

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<LogLevel, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for LogLevel

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for LogLevel

    source§

    impl IntoPy<Py<PyAny>> for LogLevel

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for LogLevel

    source§

    fn cmp(&self, other: &LogLevel) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -23,7 +23,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for LogLevel

    source§

    fn partial_cmp(&self, other: &LogLevel) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for LogLevel

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for LogLevel

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<LogLevel>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogLevel

    §

    type Holder = Option<PyRef<'py, LogLevel>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogLevel

    §

    type Holder = Option<PyRefMut<'py, LogLevel>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LogLevel

    §

    type AsRefTarget = PyCell<LogLevel>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LogLevel"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for LogLevel

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LogLevel

    §

    type Holder = Option<PyRef<'py, LogLevel>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LogLevel

    §

    type Holder = Option<PyRefMut<'py, LogLevel>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LogLevel

    §

    type AsRefTarget = PyCell<LogLevel>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LogLevel"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for LogLevel

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for LogLevel

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<LogLevel, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for LogLevel

    source§

    impl Eq for LogLevel

    source§

    impl StructuralPartialEq for LogLevel

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_common/enums/index.html b/nightly/core/nautilus_common/enums/index.html index 0d55a2a06c49..cb25b4ae609a 100644 --- a/nightly/core/nautilus_common/enums/index.html +++ b/nightly/core/nautilus_common/enums/index.html @@ -1,3 +1,3 @@ -nautilus_common::enums - Rust +nautilus_common::enums - Rust

    Module nautilus_common::enums

    source ·

    Structs§

    Enums§

    • The state of a component within the system.
    • A trigger condition for a component within the system.
    • The log color for log messages.
    • An ANSI log line format specifier. This is used for formatting log messages with ANSI escape codes.
    • The log level for log messages.
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html b/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html index e7a0362cf26f..397c4eb528e3 100644 --- a/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html +++ b/nightly/core/nautilus_common/enums/struct.ComponentStateIter.html @@ -1,4 +1,4 @@ -ComponentStateIter in nautilus_common::enums - Rust +ComponentStateIter in nautilus_common::enums - Rust
    pub struct ComponentStateIter { /* private fields */ }
    Expand description

    An iterator over the variants of ComponentState

    Trait Implementations§

    source§

    impl Clone for ComponentStateIter

    source§

    fn clone(&self) -> ComponentStateIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentStateIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for ComponentStateIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html b/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html index 5e2c16744f63..80ea17811214 100644 --- a/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html +++ b/nightly/core/nautilus_common/enums/struct.ComponentTriggerIter.html @@ -1,4 +1,4 @@ -ComponentTriggerIter in nautilus_common::enums - Rust +ComponentTriggerIter in nautilus_common::enums - Rust
    pub struct ComponentTriggerIter { /* private fields */ }
    Expand description

    An iterator over the variants of ComponentTrigger

    Trait Implementations§

    source§

    impl Clone for ComponentTriggerIter

    source§

    fn clone(&self) -> ComponentTriggerIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentTriggerIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for ComponentTriggerIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_common/enums/struct.LogColorIter.html b/nightly/core/nautilus_common/enums/struct.LogColorIter.html index a1e946ada2c3..01b2bfd44610 100644 --- a/nightly/core/nautilus_common/enums/struct.LogColorIter.html +++ b/nightly/core/nautilus_common/enums/struct.LogColorIter.html @@ -1,4 +1,4 @@ -LogColorIter in nautilus_common::enums - Rust +LogColorIter in nautilus_common::enums - Rust
    pub struct LogColorIter { /* private fields */ }
    Expand description

    An iterator over the variants of LogColor

    Trait Implementations§

    source§

    impl Clone for LogColorIter

    source§

    fn clone(&self) -> LogColorIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogColorIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for LogColorIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_common/enums/struct.LogLevelIter.html b/nightly/core/nautilus_common/enums/struct.LogLevelIter.html index f81097ccd05d..0afbeece4751 100644 --- a/nightly/core/nautilus_common/enums/struct.LogLevelIter.html +++ b/nightly/core/nautilus_common/enums/struct.LogLevelIter.html @@ -1,4 +1,4 @@ -LogLevelIter in nautilus_common::enums - Rust +LogLevelIter in nautilus_common::enums - Rust
    pub struct LogLevelIter { /* private fields */ }
    Expand description

    An iterator over the variants of LogLevel

    Trait Implementations§

    source§

    impl Clone for LogLevelIter

    source§

    fn clone(&self) -> LogLevelIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LogLevelIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for LogLevelIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_common/factories/index.html b/nightly/core/nautilus_common/factories/index.html index 94236b44c453..ae042dc40c0b 100644 --- a/nightly/core/nautilus_common/factories/index.html +++ b/nightly/core/nautilus_common/factories/index.html @@ -1,2 +1,2 @@ -nautilus_common::factories - Rust +nautilus_common::factories - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/factories/struct.OrderFactory.html b/nightly/core/nautilus_common/factories/struct.OrderFactory.html index f057dc503aea..ed859758ae17 100644 --- a/nightly/core/nautilus_common/factories/struct.OrderFactory.html +++ b/nightly/core/nautilus_common/factories/struct.OrderFactory.html @@ -1,22 +1,22 @@ -OrderFactory in nautilus_common::factories - Rust +OrderFactory in nautilus_common::factories - Rust
    #[repr(C)]
    pub struct OrderFactory { /* private fields */ }

    Implementations§

    source§

    impl OrderFactory

    source

    pub fn new( - trader_id: TraderId, - strategy_id: StrategyId, + trader_id: TraderId, + strategy_id: StrategyId, init_order_id_count: Option<usize>, init_order_list_id_count: Option<usize>, - clock: &'static AtomicTime -) -> Self

    source

    pub fn set_client_order_id_count(&mut self, count: usize)

    source

    pub fn set_order_list_id_count(&mut self, count: usize)

    source

    pub fn generate_client_order_id(&mut self) -> ClientOrderId

    source

    pub fn generate_order_list_id(&mut self) -> OrderListId

    source

    pub fn reset_factory(&mut self)

    source

    pub fn market( + clock: &'static AtomicTime +) -> Self

    source

    pub fn set_client_order_id_count(&mut self, count: usize)

    source

    pub fn set_order_list_id_count(&mut self, count: usize)

    source

    pub fn generate_client_order_id(&mut self) -> ClientOrderId

    source

    pub fn generate_order_list_id(&mut self) -> OrderListId

    source

    pub fn reset_factory(&mut self)

    source

    pub fn market( &mut self, - instrument_id: InstrumentId, - order_side: OrderSide, - quantity: Quantity, - time_in_force: Option<TimeInForce>, + instrument_id: InstrumentId, + order_side: OrderSide, + quantity: Quantity, + time_in_force: Option<TimeInForce>, reduce_only: Option<bool>, quote_quantity: Option<bool>, - exec_algorithm_id: Option<ExecAlgorithmId>, + exec_algorithm_id: Option<ExecAlgorithmId>, exec_algorithm_params: Option<HashMap<Ustr, Ustr>>, tags: Option<Ustr> -) -> MarketOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> MarketOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timer.html similarity index 84% rename from nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html rename to nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timer.html index 40ce463bbabb..d4b97eb24f5a 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time_ns.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timer.html @@ -1,9 +1,9 @@ -test_clock_next_time_ns in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    -pub unsafe extern "C" fn test_clock_next_time_ns(
    -    clock: &mut TestClock_API,
    +live_clock_cancel_timer in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
    +pub unsafe extern "C" fn live_clock_cancel_timer(
    +    clock: &mut LiveClock_API,
         name_ptr: *const c_char
    -) -> UnixNanos
    Expand description

    §Safety

    +)
    Expand description

    §Safety

    • Assumes name_ptr is a valid C string pointer.
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timers.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timers.html new file mode 100644 index 000000000000..22ee6c4bc45c --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_cancel_timers.html @@ -0,0 +1,3 @@ +live_clock_cancel_timers in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub extern "C" fn live_clock_cancel_timers(clock: &mut LiveClock_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html index 6f7dc517cc86..d9d4e535dfa2 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_drop.html @@ -1,3 +1,3 @@ -live_clock_drop in nautilus_common::ffi::clock - Rust +live_clock_drop in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn live_clock_drop(clock: LiveClock_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html index 8abfdc371496..90701c82561a 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_new.html @@ -1,3 +1,3 @@ -live_clock_new in nautilus_common::ffi::clock - Rust +live_clock_new in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn live_clock_new() -> LiveClock_API
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_next_time.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_next_time.html new file mode 100644 index 000000000000..5c2b53248f86 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_next_time.html @@ -0,0 +1,10 @@ +live_clock_next_time in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn live_clock_next_time(
    +    clock: &mut LiveClock_API,
    +    name_ptr: *const c_char
    +) -> UnixNanos
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_register_default_handler.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_register_default_handler.html new file mode 100644 index 000000000000..845493a561d3 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_register_default_handler.html @@ -0,0 +1,10 @@ +live_clock_register_default_handler in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn live_clock_register_default_handler(
    +    clock: &mut LiveClock_API,
    +    callback_ptr: *mut PyObject
    +)
    Expand description

    §Safety

    +
      +
    • Assumes callback_ptr is a valid PyCallable pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_time_alert.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_time_alert.html new file mode 100644 index 000000000000..e56bf9180179 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_time_alert.html @@ -0,0 +1,13 @@ +live_clock_set_time_alert in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn live_clock_set_time_alert(
    +    clock: &mut LiveClock_API,
    +    name_ptr: *const c_char,
    +    alert_time_ns: UnixNanos,
    +    callback_ptr: *mut PyObject
    +)
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    • Assumes callback_ptr is a valid PyCallable pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_timer.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_timer.html new file mode 100644 index 000000000000..e53e101e5c9c --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_set_timer.html @@ -0,0 +1,15 @@ +live_clock_set_timer in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn live_clock_set_timer(
    +    clock: &mut LiveClock_API,
    +    name_ptr: *const c_char,
    +    interval_ns: u64,
    +    start_time_ns: UnixNanos,
    +    stop_time_ns: UnixNanos,
    +    callback_ptr: *mut PyObject
    +)
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    • Assumes callback_ptr is a valid PyCallable pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_count.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_count.html new file mode 100644 index 000000000000..02db6cc53194 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_count.html @@ -0,0 +1,5 @@ +live_clock_timer_count in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub extern "C" fn live_clock_timer_count(
    +    clock: &mut LiveClock_API
    +) -> usize
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_names.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_names.html new file mode 100644 index 000000000000..422e4c8d475c --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timer_names.html @@ -0,0 +1,5 @@ +live_clock_timer_names in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub extern "C" fn live_clock_timer_names(
    +    clock: &LiveClock_API
    +) -> *mut PyObject
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html index 35d7bca39d18..17f3451798a7 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp.html @@ -1,5 +1,5 @@ -live_clock_timestamp in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    +live_clock_timestamp in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
     pub extern "C" fn live_clock_timestamp(
         clock: &mut LiveClock_API
     ) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html index 433c292011d9..159905fe58b3 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ms.html @@ -1,5 +1,5 @@ -live_clock_timestamp_ms in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    +live_clock_timestamp_ms in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
     pub extern "C" fn live_clock_timestamp_ms(
         clock: &mut LiveClock_API
     ) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html index fbb375b07e0d..cfae87a135a0 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_ns.html @@ -1,5 +1,5 @@ -live_clock_timestamp_ns in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    +live_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
     pub extern "C" fn live_clock_timestamp_ns(
         clock: &mut LiveClock_API
     ) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html index dba639526091..497604e6683b 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.live_clock_timestamp_us.html @@ -1,5 +1,5 @@ -live_clock_timestamp_us in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    +live_clock_timestamp_us in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
     pub extern "C" fn live_clock_timestamp_us(
         clock: &mut LiveClock_API
     ) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html index 6cf727f76f81..84e976061d84 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_advance_time.html @@ -1,10 +1,10 @@ -test_clock_advance_time in nautilus_common::ffi::clock - Rust +test_clock_advance_time in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub unsafe extern "C" fn test_clock_advance_time(
         clock: &mut TestClock_API,
         to_time_ns: u64,
         set_time: u8
    -) -> CVec
    Expand description

    §Safety

    +) -> CVec
    Expand description

    §Safety

    • Assumes set_time is a correct uint8_t of either 0 or 1.
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html index 556955654ae6..4392e7390feb 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timer.html @@ -1,4 +1,4 @@ -test_clock_cancel_timer in nautilus_common::ffi::clock - Rust +test_clock_cancel_timer in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub unsafe extern "C" fn test_clock_cancel_timer(
         clock: &mut TestClock_API,
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
    index 6c7133729415..05eda96dd798 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_cancel_timers.html
    @@ -1,3 +1,3 @@
    -test_clock_cancel_timers in nautilus_common::ffi::clock - Rust
    +test_clock_cancel_timers in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_cancel_timers(clock: &mut TestClock_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html index f85807204fbc..437af5c25675 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_drop.html @@ -1,3 +1,3 @@ -test_clock_drop in nautilus_common::ffi::clock - Rust +test_clock_drop in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn test_clock_drop(clock: TestClock_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html index 1b0ab10a9138..cc50d4ec9318 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_new.html @@ -1,3 +1,3 @@ -test_clock_new in nautilus_common::ffi::clock - Rust +test_clock_new in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn test_clock_new() -> TestClock_API
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time.html new file mode 100644 index 000000000000..574b79899480 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_next_time.html @@ -0,0 +1,10 @@ +test_clock_next_time in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn test_clock_next_time(
    +    clock: &mut TestClock_API,
    +    name_ptr: *const c_char
    +) -> UnixNanos
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html index 835f920a35d7..19fe8461b9cb 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_register_default_handler.html @@ -1,4 +1,4 @@ -test_clock_register_default_handler in nautilus_common::ffi::clock - Rust +test_clock_register_default_handler in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub unsafe extern "C" fn test_clock_register_default_handler(
         clock: &mut TestClock_API,
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
    index 656cfebc57f9..be1911c7b2ac 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time.html
    @@ -1,4 +1,4 @@
    -test_clock_set_time in nautilus_common::ffi::clock - Rust
    +test_clock_set_time in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_set_time(
         clock: &TestClock_API,
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert.html
    new file mode 100644
    index 000000000000..50db181d9163
    --- /dev/null
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert.html
    @@ -0,0 +1,13 @@
    +test_clock_set_time_alert in nautilus_common::ffi::clock - Rust
    +    
    #[no_mangle]
    +pub unsafe extern "C" fn test_clock_set_time_alert(
    +    clock: &mut TestClock_API,
    +    name_ptr: *const c_char,
    +    alert_time_ns: UnixNanos,
    +    callback_ptr: *mut PyObject
    +)
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    • Assumes callback_ptr is a valid PyCallable pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html deleted file mode 100644 index f628195d5998..000000000000 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_time_alert_ns.html +++ /dev/null @@ -1,13 +0,0 @@ -test_clock_set_time_alert_ns in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    -pub unsafe extern "C" fn test_clock_set_time_alert_ns(
    -    clock: &mut TestClock_API,
    -    name_ptr: *const c_char,
    -    alert_time_ns: UnixNanos,
    -    callback_ptr: *mut PyObject
    -)
    Expand description

    §Safety

    -
      -
    • Assumes name_ptr is a valid C string pointer.
    • -
    • Assumes callback_ptr is a valid PyCallable pointer.
    • -
    -
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer.html new file mode 100644 index 000000000000..4ec69ac83560 --- /dev/null +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer.html @@ -0,0 +1,15 @@ +test_clock_set_timer in nautilus_common::ffi::clock - Rust +
    #[no_mangle]
    +pub unsafe extern "C" fn test_clock_set_timer(
    +    clock: &mut TestClock_API,
    +    name_ptr: *const c_char,
    +    interval_ns: u64,
    +    start_time_ns: UnixNanos,
    +    stop_time_ns: UnixNanos,
    +    callback_ptr: *mut PyObject
    +)
    Expand description

    §Safety

    +
      +
    • Assumes name_ptr is a valid C string pointer.
    • +
    • Assumes callback_ptr is a valid PyCallable pointer.
    • +
    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html deleted file mode 100644 index 6c2bce41056c..000000000000 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_set_timer_ns.html +++ /dev/null @@ -1,15 +0,0 @@ -test_clock_set_timer_ns in nautilus_common::ffi::clock - Rust -
    #[no_mangle]
    -pub unsafe extern "C" fn test_clock_set_timer_ns(
    -    clock: &mut TestClock_API,
    -    name_ptr: *const c_char,
    -    interval_ns: u64,
    -    start_time_ns: UnixNanos,
    -    stop_time_ns: UnixNanos,
    -    callback_ptr: *mut PyObject
    -)
    Expand description

    §Safety

    -
      -
    • Assumes name_ptr is a valid C string pointer.
    • -
    • Assumes callback_ptr is a valid PyCallable pointer.
    • -
    -
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html index 752f7ef58792..5a63c160e031 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_count.html @@ -1,4 +1,4 @@ -test_clock_timer_count in nautilus_common::ffi::clock - Rust +test_clock_timer_count in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn test_clock_timer_count(
         clock: &mut TestClock_API
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
    index b989a36b96eb..60e765120bf1 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timer_names.html
    @@ -1,4 +1,4 @@
    -test_clock_timer_names in nautilus_common::ffi::clock - Rust
    +test_clock_timer_names in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_timer_names(
         clock: &TestClock_API
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
    index 32c0246e8510..9fba3b9193b5 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp.html
    @@ -1,3 +1,3 @@
    -test_clock_timestamp in nautilus_common::ffi::clock - Rust
    +test_clock_timestamp in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_timestamp(clock: &TestClock_API) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html index ecd4c0eb2853..3ef2b29fb5f9 100644 --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ms.html @@ -1,4 +1,4 @@ -test_clock_timestamp_ms in nautilus_common::ffi::clock - Rust +test_clock_timestamp_ms in nautilus_common::ffi::clock - Rust
    #[no_mangle]
     pub extern "C" fn test_clock_timestamp_ms(
         clock: &TestClock_API
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
    index 6e2737a079c3..0c35de67fa20 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_ns.html
    @@ -1,4 +1,4 @@
    -test_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
    +test_clock_timestamp_ns in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_timestamp_ns(
         clock: &TestClock_API
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
    index e4ae0afd4ee5..f329b917e7c5 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.test_clock_timestamp_us.html
    @@ -1,4 +1,4 @@
    -test_clock_timestamp_us in nautilus_common::ffi::clock - Rust
    +test_clock_timestamp_us in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
     pub extern "C" fn test_clock_timestamp_us(
         clock: &TestClock_API
    diff --git a/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html b/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
    index efa4ef9dd0fa..4823418c711c 100644
    --- a/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
    +++ b/nightly/core/nautilus_common/ffi/clock/fn.vec_time_event_handlers_drop.html
    @@ -1,3 +1,3 @@
    -vec_time_event_handlers_drop in nautilus_common::ffi::clock - Rust
    +vec_time_event_handlers_drop in nautilus_common::ffi::clock - Rust
         
    #[no_mangle]
    -pub extern "C" fn vec_time_event_handlers_drop(v: CVec)
    \ No newline at end of file +pub extern "C" fn vec_time_event_handlers_drop(v: CVec)
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/index.html b/nightly/core/nautilus_common/ffi/clock/index.html index 9471a7021e48..d39452bddb60 100644 --- a/nightly/core/nautilus_common/ffi/clock/index.html +++ b/nightly/core/nautilus_common/ffi/clock/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::clock - Rust -
    \ No newline at end of file +nautilus_common::ffi::clock - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/sidebar-items.js b/nightly/core/nautilus_common/ffi/clock/sidebar-items.js index 46bd4bb26558..4875911b63d1 100644 --- a/nightly/core/nautilus_common/ffi/clock/sidebar-items.js +++ b/nightly/core/nautilus_common/ffi/clock/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["live_clock_drop","live_clock_new","live_clock_timestamp","live_clock_timestamp_ms","live_clock_timestamp_ns","live_clock_timestamp_us","test_clock_advance_time","test_clock_cancel_timer","test_clock_cancel_timers","test_clock_drop","test_clock_new","test_clock_next_time_ns","test_clock_register_default_handler","test_clock_set_time","test_clock_set_time_alert_ns","test_clock_set_timer_ns","test_clock_timer_count","test_clock_timer_names","test_clock_timestamp","test_clock_timestamp_ms","test_clock_timestamp_ns","test_clock_timestamp_us","vec_time_event_handlers_drop"],"struct":["LiveClock_API","TestClock_API"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["live_clock_cancel_timer","live_clock_cancel_timers","live_clock_drop","live_clock_new","live_clock_next_time","live_clock_register_default_handler","live_clock_set_time_alert","live_clock_set_timer","live_clock_timer_count","live_clock_timer_names","live_clock_timestamp","live_clock_timestamp_ms","live_clock_timestamp_ns","live_clock_timestamp_us","test_clock_advance_time","test_clock_cancel_timer","test_clock_cancel_timers","test_clock_drop","test_clock_new","test_clock_next_time","test_clock_register_default_handler","test_clock_set_time","test_clock_set_time_alert","test_clock_set_timer","test_clock_timer_count","test_clock_timer_names","test_clock_timestamp","test_clock_timestamp_ms","test_clock_timestamp_ns","test_clock_timestamp_us","vec_time_event_handlers_drop"],"struct":["LiveClock_API","TestClock_API"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html b/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html index c5b961eebc65..4abb015e2f04 100644 --- a/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html +++ b/nightly/core/nautilus_common/ffi/clock/struct.LiveClock_API.html @@ -1,4 +1,4 @@ -LiveClock_API in nautilus_common::ffi::clock - Rust +LiveClock_API in nautilus_common::ffi::clock - Rust
    #[repr(C)]
    pub struct LiveClock_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying LiveClock.

    This struct wraps LiveClock in a way that makes it compatible with C function calls, enabling interaction with LiveClock in a C environment.

    @@ -6,18 +6,18 @@ dereferenced to LiveClock, providing access to LiveClock’s methods without having to manually access the underlying LiveClock instance. This includes both mutable and immutable access.

    -

    Methods from Deref<Target = AtomicTime>§

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    +

    Methods from Deref<Target = LiveClock>§

    source

    pub fn get_timers(&self) -> &HashMap<Ustr, LiveTimer>

    Methods from Deref<Target = AtomicTime>§

    source

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    • Real-time mode returns current wall clock time since UNIX epoch (unique and monotonic).
    • Static mode returns currently stored time.
    -

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    -

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    -

    pub fn get_time(&self) -> f64

    Get time as seconds.

    -

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    -

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    -

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    -

    pub fn make_realtime(&self)

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    +
    source

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    +
    source

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    +
    source

    pub fn get_time(&self) -> f64

    Get time as seconds.

    +
    source

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    +
    source

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    +
    source

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    +
    source

    pub fn make_realtime(&self)

    source

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    load takes an Ordering argument which describes the memory ordering of this operation. Possible values are SeqCst, Acquire and Relaxed.

    §Panics
    diff --git a/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html b/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html index a913d36239e0..afbad9ca6b58 100644 --- a/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html +++ b/nightly/core/nautilus_common/ffi/clock/struct.TestClock_API.html @@ -1,4 +1,4 @@ -TestClock_API in nautilus_common::ffi::clock - Rust +TestClock_API in nautilus_common::ffi::clock - Rust
    #[repr(C)]
    pub struct TestClock_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying TestClock.

    This struct wraps TestClock in a way that makes it compatible with C function calls, enabling interaction with TestClock in a C environment.

    @@ -7,21 +7,21 @@ having to manually access the underlying TestClock instance.

    Methods from Deref<Target = TestClock>§

    source

    pub fn get_timers(&self) -> &HashMap<Ustr, TestTimer>

    source

    pub fn advance_time( &mut self, - to_time_ns: UnixNanos, + to_time_ns: UnixNanos, set_time: bool ) -> Vec<TimeEvent>

    source

    pub fn match_handlers(&self, events: Vec<TimeEvent>) -> Vec<TimeEventHandler>

    Assumes time events are sorted by their ts_event.

    -

    Methods from Deref<Target = AtomicTime>§

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    +

    Methods from Deref<Target = AtomicTime>§

    source

    pub fn get_time_ns(&self) -> u64

    Get time in nanoseconds.

    • Real-time mode returns current wall clock time since UNIX epoch (unique and monotonic).
    • Static mode returns currently stored time.
    -

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    -

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    -

    pub fn get_time(&self) -> f64

    Get time as seconds.

    -

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    -

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    -

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    -

    pub fn make_realtime(&self)

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    +
    source

    pub fn get_time_us(&self) -> u64

    Get time as microseconds.

    +
    source

    pub fn get_time_ms(&self) -> u64

    Get time as milliseconds.

    +
    source

    pub fn get_time(&self) -> f64

    Get time as seconds.

    +
    source

    pub fn set_time(&self, time: u64)

    Sets new time for the clock.

    +
    source

    pub fn increment_time(&self, delta: u64) -> u64

    Increments current time with a delta and returns the updated time.

    +
    source

    pub fn time_since_epoch(&self) -> u64

    Stores and returns current time.

    +
    source

    pub fn make_realtime(&self)

    source

    pub fn make_static(&self)

    Methods from Deref<Target = AtomicU64>§

    1.34.0 · source

    pub fn load(&self, order: Ordering) -> u64

    Loads a value from the atomic integer.

    load takes an Ordering argument which describes the memory ordering of this operation. Possible values are SeqCst, Acquire and Relaxed.

    §Panics
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html index 6c173468a5fd..106078ff488b 100644 --- a/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html +++ b/nightly/core/nautilus_common/ffi/enums/fn.component_state_from_cstr.html @@ -1,4 +1,4 @@ -component_state_from_cstr in nautilus_common::ffi::enums - Rust +component_state_from_cstr in nautilus_common::ffi::enums - Rust
    #[no_mangle]
     pub unsafe extern "C" fn component_state_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
    index dad8aa97ff58..73f372f4d709 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.component_state_to_cstr.html
    @@ -1,4 +1,4 @@
    -component_state_to_cstr in nautilus_common::ffi::enums - Rust
    +component_state_to_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn component_state_to_cstr(
         value: ComponentState
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
    index e44f21b728d6..d8acef2e6e00 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_from_cstr.html
    @@ -1,4 +1,4 @@
    -component_trigger_from_cstr in nautilus_common::ffi::enums - Rust
    +component_trigger_from_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn component_trigger_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
    index 20a3e0d59015..ab5e0ed8983b 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.component_trigger_to_cstr.html
    @@ -1,4 +1,4 @@
    -component_trigger_to_cstr in nautilus_common::ffi::enums - Rust
    +component_trigger_to_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn component_trigger_to_cstr(
         value: ComponentTrigger
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
    index 3ae569d35303..94760e401c94 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.log_color_from_cstr.html
    @@ -1,4 +1,4 @@
    -log_color_from_cstr in nautilus_common::ffi::enums - Rust
    +log_color_from_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn log_color_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
    index 515a33d4f20c..0958b3e519cd 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.log_color_to_cstr.html
    @@ -1,3 +1,3 @@
    -log_color_to_cstr in nautilus_common::ffi::enums - Rust
    +log_color_to_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn log_color_to_cstr(value: LogColor) -> *const c_char
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html index 63e791394946..de0d43851f8e 100644 --- a/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html +++ b/nightly/core/nautilus_common/ffi/enums/fn.log_level_from_cstr.html @@ -1,4 +1,4 @@ -log_level_from_cstr in nautilus_common::ffi::enums - Rust +log_level_from_cstr in nautilus_common::ffi::enums - Rust
    #[no_mangle]
     pub unsafe extern "C" fn log_level_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html b/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
    index 3adb57040f0f..48a8054a5938 100644
    --- a/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
    +++ b/nightly/core/nautilus_common/ffi/enums/fn.log_level_to_cstr.html
    @@ -1,3 +1,3 @@
    -log_level_to_cstr in nautilus_common::ffi::enums - Rust
    +log_level_to_cstr in nautilus_common::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn log_level_to_cstr(value: LogLevel) -> *const c_char
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/enums/index.html b/nightly/core/nautilus_common/ffi/enums/index.html index 26210912cbf7..41b7a3ae3be7 100644 --- a/nightly/core/nautilus_common/ffi/enums/index.html +++ b/nightly/core/nautilus_common/ffi/enums/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::enums - Rust +nautilus_common::ffi::enums - Rust

    Module nautilus_common::ffi::enums

    source ·

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/index.html b/nightly/core/nautilus_common/ffi/index.html index 811f5c59dd12..66bb7e01bc75 100644 --- a/nightly/core/nautilus_common/ffi/index.html +++ b/nightly/core/nautilus_common/ffi/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi - Rust +nautilus_common::ffi - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html b/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html index 9de8813be48e..17086453d7f6 100644 --- a/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html +++ b/nightly/core/nautilus_common/ffi/logging/fn.logger_flush.html @@ -1,4 +1,4 @@ -logger_flush in nautilus_common::ffi::logging - Rust +logger_flush in nautilus_common::ffi::logging - Rust
    #[no_mangle]
     pub extern "C" fn logger_flush()
    Expand description

    Flushes global logger buffers.

    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html b/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html index 367917332ac6..3927e552b58a 100644 --- a/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html +++ b/nightly/core/nautilus_common/ffi/logging/fn.logger_log.html @@ -1,4 +1,4 @@ -logger_log in nautilus_common::ffi::logging - Rust +logger_log in nautilus_common::ffi::logging - Rust
    #[no_mangle]
     pub unsafe extern "C" fn logger_log(
         level: LogLevel,
    diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
    index 23806ebb5878..cc19abe0db82 100644
    --- a/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
    +++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_init.html
    @@ -1,8 +1,8 @@
    -logging_init in nautilus_common::ffi::logging - Rust
    +logging_init in nautilus_common::ffi::logging - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn logging_init(
    -    trader_id: TraderId,
    -    instance_id: UUID4,
    +    trader_id: TraderId,
    +    instance_id: UUID4,
         level_stdout: LogLevel,
         level_file: LogLevel,
         directory_ptr: *const c_char,
    diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
    index 07edd013a80e..21e72607eac9 100644
    --- a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
    +++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_header.html
    @@ -1,9 +1,9 @@
    -logging_log_header in nautilus_common::ffi::logging - Rust
    +logging_log_header in nautilus_common::ffi::logging - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn logging_log_header(
    -    trader_id: TraderId,
    +    trader_id: TraderId,
         machine_id_ptr: *const c_char,
    -    instance_id: UUID4,
    +    instance_id: UUID4,
         component_ptr: *const c_char
     )
    Expand description

    Logs the Nautilus system header.

    §Safety

    diff --git a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html index 06ad7c2fcfb9..2339458c1eb6 100644 --- a/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html +++ b/nightly/core/nautilus_common/ffi/logging/fn.logging_log_sysinfo.html @@ -1,4 +1,4 @@ -logging_log_sysinfo in nautilus_common::ffi::logging - Rust +logging_log_sysinfo in nautilus_common::ffi::logging - Rust
    #[no_mangle]
     pub unsafe extern "C" fn logging_log_sysinfo(
         component_ptr: *const c_char
    diff --git a/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html b/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
    index 2a0ae72e10f7..9541cba9edcf 100644
    --- a/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
    +++ b/nightly/core/nautilus_common/ffi/logging/fn.tracing_init.html
    @@ -1,4 +1,4 @@
    -tracing_init in nautilus_common::ffi::logging - Rust
    +tracing_init in nautilus_common::ffi::logging - Rust
         
    #[no_mangle]
     pub extern "C" fn tracing_init()
    Expand description

    Initializes tracing.

    Tracing is meant to be used to trace/debug async Rust code. It can be diff --git a/nightly/core/nautilus_common/ffi/logging/index.html b/nightly/core/nautilus_common/ffi/logging/index.html index 4a6ac0551dd0..eb16df815791 100644 --- a/nightly/core/nautilus_common/ffi/logging/index.html +++ b/nightly/core/nautilus_common/ffi/logging/index.html @@ -1,2 +1,2 @@ -nautilus_common::ffi::logging - Rust

    +nautilus_common::ffi::logging - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html index 33e93e68dc99..f5ad514f39eb 100644 --- a/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html +++ b/nightly/core/nautilus_common/ffi/msgbus/fn.msgbus_correlation_id_handler.html @@ -1,8 +1,8 @@ -msgbus_correlation_id_handler in nautilus_common::ffi::msgbus - Rust +msgbus_correlation_id_handler in nautilus_common::ffi::msgbus - Rust
    #[no_mangle]
     pub unsafe extern "C" fn msgbus_correlation_id_handler(
         bus: &mut MessageBus_API,
    -    correlation_id: &UUID4
    +    correlation_id: &UUID4
     ) -> *const c_char
    Expand description

    §Safety

    \ No newline at end of file diff --git a/nightly/core/nautilus_common/timer/struct.TimeEvent.html b/nightly/core/nautilus_common/timer/struct.TimeEvent.html index 1ec676b013a5..fca313ffd3d5 100644 --- a/nightly/core/nautilus_common/timer/struct.TimeEvent.html +++ b/nightly/core/nautilus_common/timer/struct.TimeEvent.html @@ -1,23 +1,24 @@ -TimeEvent in nautilus_common::timer - Rust -
    #[repr(C)]
    pub struct TimeEvent { +TimeEvent in nautilus_common::timer - Rust +
    #[repr(C)]
    pub struct TimeEvent { pub name: Ustr, - pub event_id: UUID4, - pub ts_event: UnixNanos, - pub ts_init: UnixNanos, + pub event_id: UUID4, + pub ts_event: UnixNanos, + pub ts_init: UnixNanos, }
    Expand description

    Represents a time event occurring at the event timestamp.

    Fields§

    §name: Ustr

    The event name.

    -
    §event_id: UUID4

    The event ID.

    -
    §ts_event: UnixNanos

    The message category

    -
    §ts_init: UnixNanos

    The UNIX timestamp (nanoseconds) when the object was initialized.

    -

    Implementations§

    source§

    impl TimeEvent

    source

    pub fn new( +

    §event_id: UUID4

    The event ID.

    +
    §ts_event: UnixNanos

    The message category

    +
    §ts_init: UnixNanos

    The UNIX timestamp (nanoseconds) when the object was initialized.

    +

    Implementations§

    source§

    impl TimeEvent

    Assumes name is a valid string.

    +
    source

    pub fn new( name: Ustr, - event_id: UUID4, - ts_event: UnixNanos, - ts_init: UnixNanos -) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for TimeEvent

    source§

    fn clone(&self) -> TimeEvent

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TimeEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for TimeEvent

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for TimeEvent

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + event_id: UUID4, + ts_event: UnixNanos, + ts_init: UnixNanos +) -> Self

    Trait Implementations§

    source§

    impl Clone for TimeEvent

    source§

    fn clone(&self) -> TimeEvent

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for TimeEvent

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for TimeEvent

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for TimeEvent

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for TimeEvent

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TimeEvent

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TimeEvent>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TimeEvent> for PyClassImplCollector<TimeEvent>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeEvent

    §

    type Holder = Option<PyRef<'py, TimeEvent>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeEvent

    §

    type Holder = Option<PyRefMut<'py, TimeEvent>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TimeEvent> for PyClassImplCollector<TimeEvent>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TimeEvent

    §

    type AsRefTarget = PyCell<TimeEvent>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TimeEvent"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl PyClass for TimeEvent

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TimeEvent

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TimeEvent>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TimeEvent> for PyClassImplCollector<TimeEvent>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeEvent

    §

    type Holder = Option<PyRef<'py, TimeEvent>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeEvent

    §

    type Holder = Option<PyRefMut<'py, TimeEvent>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TimeEvent> for PyClassImplCollector<TimeEvent>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TimeEvent

    §

    type AsRefTarget = PyCell<TimeEvent>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TimeEvent"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html b/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html index 74612a826003..de501c90a243 100644 --- a/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html +++ b/nightly/core/nautilus_common/timer/struct.TimeEventHandler.html @@ -1,18 +1,18 @@ -TimeEventHandler in nautilus_common::timer - Rust -
    #[repr(C)]
    pub struct TimeEventHandler { +TimeEventHandler in nautilus_common::timer - Rust +
    #[repr(C)]
    pub struct TimeEventHandler { pub event: TimeEvent, pub callback_ptr: *mut PyObject, }
    Expand description

    Represents a time event and its associated handler.

    Fields§

    §event: TimeEvent

    The event.

    §callback_ptr: *mut PyObject

    The Python callable pointer.

    -

    Trait Implementations§

    source§

    impl Clone for TimeEventHandler

    source§

    fn clone(&self) -> TimeEventHandler

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeEventHandler

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for TimeEventHandler

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Trait Implementations§

    source§

    impl Clone for TimeEventHandler

    source§

    fn clone(&self) -> TimeEventHandler

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeEventHandler

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for TimeEventHandler

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for TimeEventHandler

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for TimeEventHandler

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for TimeEventHandler

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for TimeEventHandler

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Eq for TimeEventHandler

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl Eq for TimeEventHandler

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where diff --git a/nightly/core/nautilus_common/timer/trait.Timer.html b/nightly/core/nautilus_common/timer/trait.Timer.html index 4fd96eac4abd..71939eb62f9b 100644 --- a/nightly/core/nautilus_common/timer/trait.Timer.html +++ b/nightly/core/nautilus_common/timer/trait.Timer.html @@ -1,18 +1,18 @@ -Timer in nautilus_common::timer - Rust -
    pub trait Timer {
    +Timer in nautilus_common::timer - Rust
    +    
    pub trait Timer {
         // Required methods
         fn new(
             name: Ustr,
    -        interval_ns: TimedeltaNanos,
    -        start_time_ns: UnixNanos,
    -        stop_time_ns: Option<UnixNanos>
    +        interval_ns: TimedeltaNanos,
    +        start_time_ns: UnixNanos,
    +        stop_time_ns: Option<UnixNanos>
         ) -> Self;
    -    fn pop_event(&self, event_id: UUID4, ts_init: UnixNanos) -> TimeEvent;
    -    fn iterate_next_time(&mut self, ts_now: UnixNanos);
    +    fn pop_event(&self, event_id: UUID4, ts_init: UnixNanos) -> TimeEvent;
    +    fn iterate_next_time(&mut self, ts_now: UnixNanos);
         fn cancel(&mut self);
    -}

    Required Methods§

    source

    fn new( +}

    Required Methods§

    source

    fn new( name: Ustr, - interval_ns: TimedeltaNanos, - start_time_ns: UnixNanos, - stop_time_ns: Option<UnixNanos> -) -> Self

    source

    fn pop_event(&self, event_id: UUID4, ts_init: UnixNanos) -> TimeEvent

    source

    fn iterate_next_time(&mut self, ts_now: UnixNanos)

    source

    fn cancel(&mut self)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file + interval_ns: TimedeltaNanos, + start_time_ns: UnixNanos, + stop_time_ns: Option<UnixNanos> +) -> Self

    source

    fn pop_event(&self, event_id: UUID4, ts_init: UnixNanos) -> TimeEvent

    source

    fn iterate_next_time(&mut self, ts_now: UnixNanos)

    source

    fn cancel(&mut self)

    Object Safety§

    This trait is not object safe.

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_core/all.html b/nightly/core/nautilus_core/all.html index 72050f87e57d..81eedd26d351 100644 --- a/nightly/core/nautilus_core/all.html +++ b/nightly/core/nautilus_core/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

    List of all items

    Structs

    Enums

    Traits

    Functions

    Type Aliases

    Statics

    Constants

    \ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html index aa51601a9ea2..3d3a70ff2904 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_f64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_f64_in_range_inclusive in nautilus_core::correctness - Rust +check_f64_in_range_inclusive in nautilus_core::correctness - Rust
    pub fn check_f64_in_range_inclusive(
         value: f64,
         l: f64,
    diff --git a/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html b/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
    index 9a11f3f08485..bc6ebcebe0c4 100644
    --- a/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
    +++ b/nightly/core/nautilus_core/correctness/fn.check_f64_non_negative.html
    @@ -1,3 +1,3 @@
    -check_f64_non_negative in nautilus_core::correctness - Rust
    +check_f64_non_negative in nautilus_core::correctness - Rust
         
    pub fn check_f64_non_negative(value: f64, desc: &str) -> Result<()>
    Expand description

    Validates that the f64 value is non-negative.

    \ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html index 146c2f940ff1..eb972067e9ac 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_i64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_i64_in_range_inclusive in nautilus_core::correctness - Rust +check_i64_in_range_inclusive in nautilus_core::correctness - Rust
    pub fn check_i64_in_range_inclusive(
         value: i64,
         l: i64,
    diff --git a/nightly/core/nautilus_core/correctness/fn.check_string_contains.html b/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
    index c0ceb5078994..47eac83c9c07 100644
    --- a/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
    +++ b/nightly/core/nautilus_core/correctness/fn.check_string_contains.html
    @@ -1,3 +1,3 @@
    -check_string_contains in nautilus_core::correctness - Rust
    +check_string_contains in nautilus_core::correctness - Rust
         
    pub fn check_string_contains(s: &str, pat: &str, desc: &str) -> Result<()>
    Expand description

    Validates that the string s contains the pattern pat.

    \ No newline at end of file diff --git a/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html index 9ba6e5b1d569..e258b6af14f3 100644 --- a/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html +++ b/nightly/core/nautilus_core/correctness/fn.check_u64_in_range_inclusive.html @@ -1,4 +1,4 @@ -check_u64_in_range_inclusive in nautilus_core::correctness - Rust +check_u64_in_range_inclusive in nautilus_core::correctness - Rust
    pub fn check_u64_in_range_inclusive(
         value: u64,
         l: u64,
    diff --git a/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html b/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
    index 926c05a665fe..350ef7ca0dd3 100644
    --- a/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
    +++ b/nightly/core/nautilus_core/correctness/fn.check_u8_equal.html
    @@ -1,4 +1,4 @@
    -check_u8_equal in nautilus_core::correctness - Rust
    +check_u8_equal in nautilus_core::correctness - Rust
         
    pub fn check_u8_equal(
         lhs: u8,
         rhs: u8,
    diff --git a/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html b/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
    index db1e7ec02020..d79f3832d2c1 100644
    --- a/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
    +++ b/nightly/core/nautilus_core/correctness/fn.check_u8_in_range_inclusive.html
    @@ -1,4 +1,4 @@
    -check_u8_in_range_inclusive in nautilus_core::correctness - Rust
    +check_u8_in_range_inclusive in nautilus_core::correctness - Rust
         
    pub fn check_u8_in_range_inclusive(
         value: u8,
         l: u8,
    diff --git a/nightly/core/nautilus_core/correctness/fn.check_valid_string.html b/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
    index 0759dc3d3c4e..84b6fe220a7e 100644
    --- a/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
    +++ b/nightly/core/nautilus_core/correctness/fn.check_valid_string.html
    @@ -1,4 +1,4 @@
    -check_valid_string in nautilus_core::correctness - Rust
    +check_valid_string in nautilus_core::correctness - Rust
         
    pub fn check_valid_string(s: &str, desc: &str) -> Result<()>
    Expand description

    Validates the content of a string s.

    §Panics

    Trait Implementations§

    source§

    impl Debug for AdaptiveMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AdaptiveMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for AdaptiveMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for AdaptiveMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for AdaptiveMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for AdaptiveMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AdaptiveMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AdaptiveMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AdaptiveMovingAverage> for PyClassImplCollector<AdaptiveMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AdaptiveMovingAverage

    §

    type Holder = Option<PyRef<'py, AdaptiveMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AdaptiveMovingAverage

    §

    type Holder = Option<PyRefMut<'py, AdaptiveMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AdaptiveMovingAverage> for PyClassImplCollector<AdaptiveMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AdaptiveMovingAverage

    §

    type AsRefTarget = PyCell<AdaptiveMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AdaptiveMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for AdaptiveMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AdaptiveMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for AdaptiveMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for AdaptiveMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for AdaptiveMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for AdaptiveMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AdaptiveMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AdaptiveMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AdaptiveMovingAverage> for PyClassImplCollector<AdaptiveMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AdaptiveMovingAverage

    §

    type Holder = Option<PyRef<'py, AdaptiveMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AdaptiveMovingAverage

    §

    type Holder = Option<PyRefMut<'py, AdaptiveMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AdaptiveMovingAverage> for PyClassImplCollector<AdaptiveMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AdaptiveMovingAverage

    §

    type AsRefTarget = PyCell<AdaptiveMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AdaptiveMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/average/dema/index.html b/nightly/core/nautilus_indicators/average/dema/index.html index 3512504fe859..3ae661f83b6d 100644 --- a/nightly/core/nautilus_indicators/average/dema/index.html +++ b/nightly/core/nautilus_indicators/average/dema/index.html @@ -1,3 +1,3 @@ -nautilus_indicators::average::dema - Rust +nautilus_indicators::average::dema - Rust

    Structs§

    • The Double Exponential Moving Average attempts to a smoother average with less lag than the normal Exponential Moving Average (EMA)
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html b/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html index 31c7970307df..6f19c02c0afe 100644 --- a/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/dema/struct.DoubleExponentialMovingAverage.html @@ -1,4 +1,4 @@ -DoubleExponentialMovingAverage in nautilus_indicators::average::dema - Rust +DoubleExponentialMovingAverage in nautilus_indicators::average::dema - Rust
    #[repr(C)]
    pub struct DoubleExponentialMovingAverage { pub period: usize, pub price_type: PriceType, diff --git a/nightly/core/nautilus_indicators/average/ema/index.html b/nightly/core/nautilus_indicators/average/ema/index.html index 64ad3fefe529..a12722c6227f 100644 --- a/nightly/core/nautilus_indicators/average/ema/index.html +++ b/nightly/core/nautilus_indicators/average/ema/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::ema - Rust +nautilus_indicators::average::ema - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html b/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html index 391654b2f7cd..78bd040d49c4 100644 --- a/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/ema/struct.ExponentialMovingAverage.html @@ -1,4 +1,4 @@ -ExponentialMovingAverage in nautilus_indicators::average::ema - Rust +ExponentialMovingAverage in nautilus_indicators::average::ema - Rust
    #[repr(C)]
    pub struct ExponentialMovingAverage { pub period: usize, pub price_type: PriceType, @@ -8,7 +8,7 @@ pub is_initialized: bool, /* private fields */ }

    Fields§

    §period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl ExponentialMovingAverage

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    Trait Implementations§

    source§

    impl Debug for ExponentialMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for ExponentialMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for ExponentialMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for ExponentialMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for ExponentialMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for ExponentialMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for ExponentialMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<ExponentialMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ExponentialMovingAverage

    §

    type Holder = Option<PyRef<'py, ExponentialMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ExponentialMovingAverage

    §

    type Holder = Option<PyRefMut<'py, ExponentialMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ExponentialMovingAverage

    §

    type AsRefTarget = PyCell<ExponentialMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ExponentialMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ExponentialMovingAverage

    §

    type Holder = Option<PyRef<'py, ExponentialMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ExponentialMovingAverage

    §

    type Holder = Option<PyRefMut<'py, ExponentialMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ExponentialMovingAverage> for PyClassImplCollector<ExponentialMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ExponentialMovingAverage

    §

    type AsRefTarget = PyCell<ExponentialMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ExponentialMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html b/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html index 58c3c2eea31e..35358ca13431 100644 --- a/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html +++ b/nightly/core/nautilus_indicators/average/enum.MovingAverageType.html @@ -1,4 +1,4 @@ -MovingAverageType in nautilus_indicators::average - Rust +MovingAverageType in nautilus_indicators::average - Rust
    #[repr(C)]
    pub enum MovingAverageType { Simple = 0, Exponential = 1, diff --git a/nightly/core/nautilus_indicators/average/hma/index.html b/nightly/core/nautilus_indicators/average/hma/index.html index 32b0e34b1aaa..d708360312b2 100644 --- a/nightly/core/nautilus_indicators/average/hma/index.html +++ b/nightly/core/nautilus_indicators/average/hma/index.html @@ -1,4 +1,4 @@ -nautilus_indicators::average::hma - Rust +nautilus_indicators::average::hma - Rust

    Structs§

    • An indicator which calculates a Hull Moving Average (HMA) across a rolling window. The HMA, developed by Alan Hull, is an extremely fast and smooth moving average.
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html b/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html index 49edacc43b0a..b17fde51daed 100644 --- a/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/hma/struct.HullMovingAverage.html @@ -1,4 +1,4 @@ -HullMovingAverage in nautilus_indicators::average::hma - Rust +HullMovingAverage in nautilus_indicators::average::hma - Rust
    #[repr(C)]
    pub struct HullMovingAverage { pub period: usize, pub price_type: PriceType, @@ -10,7 +10,7 @@ window. The HMA, developed by Alan Hull, is an extremely fast and smooth moving average.

    Fields§

    §period: usize§price_type: PriceType§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl HullMovingAverage

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    Trait Implementations§

    source§

    impl Debug for HullMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for HullMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for HullMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for HullMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for HullMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for HullMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for HullMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<HullMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HullMovingAverage

    §

    type Holder = Option<PyRef<'py, HullMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HullMovingAverage

    §

    type Holder = Option<PyRefMut<'py, HullMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HullMovingAverage

    §

    type AsRefTarget = PyCell<HullMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HullMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HullMovingAverage

    §

    type Holder = Option<PyRef<'py, HullMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HullMovingAverage

    §

    type Holder = Option<PyRefMut<'py, HullMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HullMovingAverage> for PyClassImplCollector<HullMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HullMovingAverage

    §

    type AsRefTarget = PyCell<HullMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HullMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/average/index.html b/nightly/core/nautilus_indicators/average/index.html index 94028a955ae4..fd6c2ef1e508 100644 --- a/nightly/core/nautilus_indicators/average/index.html +++ b/nightly/core/nautilus_indicators/average/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average - Rust +nautilus_indicators::average - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/rma/index.html b/nightly/core/nautilus_indicators/average/rma/index.html index 78fdd77c103d..4c91d330a660 100644 --- a/nightly/core/nautilus_indicators/average/rma/index.html +++ b/nightly/core/nautilus_indicators/average/rma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::rma - Rust +nautilus_indicators::average::rma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html b/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html index 9f511b284b38..ef925a15b15d 100644 --- a/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/rma/struct.WilderMovingAverage.html @@ -1,4 +1,4 @@ -WilderMovingAverage in nautilus_indicators::average::rma - Rust +WilderMovingAverage in nautilus_indicators::average::rma - Rust
    #[repr(C)]
    pub struct WilderMovingAverage { pub period: usize, pub price_type: PriceType, @@ -7,8 +7,8 @@ pub count: usize, pub is_initialized: bool, /* private fields */ -}

    Fields§

    §period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl WilderMovingAverage

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    Trait Implementations§

    source§

    impl Debug for WilderMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for WilderMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for WilderMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for WilderMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for WilderMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for WilderMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for WilderMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<WilderMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WilderMovingAverage

    §

    type Holder = Option<PyRef<'py, WilderMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WilderMovingAverage

    §

    type Holder = Option<PyRefMut<'py, WilderMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for WilderMovingAverage

    §

    type AsRefTarget = PyCell<WilderMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "WilderMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Fields§

    §period: usize§price_type: PriceType§alpha: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl WilderMovingAverage

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    Trait Implementations§

    source§

    impl Debug for WilderMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for WilderMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for WilderMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for WilderMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for WilderMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for WilderMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for WilderMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<WilderMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WilderMovingAverage

    §

    type Holder = Option<PyRef<'py, WilderMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WilderMovingAverage

    §

    type Holder = Option<PyRefMut<'py, WilderMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<WilderMovingAverage> for PyClassImplCollector<WilderMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for WilderMovingAverage

    §

    type AsRefTarget = PyCell<WilderMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "WilderMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/average/sma/index.html b/nightly/core/nautilus_indicators/average/sma/index.html index 13652748d6d2..874aedd7d978 100644 --- a/nightly/core/nautilus_indicators/average/sma/index.html +++ b/nightly/core/nautilus_indicators/average/sma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::sma - Rust +nautilus_indicators::average::sma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html b/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html index 17fd99459de5..606df72dae4e 100644 --- a/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/sma/struct.SimpleMovingAverage.html @@ -1,4 +1,4 @@ -SimpleMovingAverage in nautilus_indicators::average::sma - Rust +SimpleMovingAverage in nautilus_indicators::average::sma - Rust
    #[repr(C)]
    pub struct SimpleMovingAverage { pub period: usize, pub price_type: PriceType, @@ -7,7 +7,7 @@ pub inputs: Vec<f64>, pub is_initialized: bool, }

    Fields§

    §period: usize§price_type: PriceType§value: f64§count: usize§inputs: Vec<f64>§is_initialized: bool

    Implementations§

    source§

    impl SimpleMovingAverage

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    Trait Implementations§

    source§

    impl Debug for SimpleMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for SimpleMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for SimpleMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for SimpleMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for SimpleMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for SimpleMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for SimpleMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<SimpleMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<SimpleMovingAverage> for PyClassImplCollector<SimpleMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SimpleMovingAverage

    §

    type Holder = Option<PyRef<'py, SimpleMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SimpleMovingAverage

    §

    type Holder = Option<PyRefMut<'py, SimpleMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<SimpleMovingAverage> for PyClassImplCollector<SimpleMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for SimpleMovingAverage

    §

    type AsRefTarget = PyCell<SimpleMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "SimpleMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<SimpleMovingAverage> for PyClassImplCollector<SimpleMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SimpleMovingAverage

    §

    type Holder = Option<PyRef<'py, SimpleMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SimpleMovingAverage

    §

    type Holder = Option<PyRefMut<'py, SimpleMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<SimpleMovingAverage> for PyClassImplCollector<SimpleMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for SimpleMovingAverage

    §

    type AsRefTarget = PyCell<SimpleMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "SimpleMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html b/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html index a6d45f55e5b2..6af2089a67cb 100644 --- a/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html +++ b/nightly/core/nautilus_indicators/average/struct.MovingAverageFactory.html @@ -1,4 +1,4 @@ -MovingAverageFactory in nautilus_indicators::average - Rust +MovingAverageFactory in nautilus_indicators::average - Rust
    pub struct MovingAverageFactory;

    Implementations§

    source§

    impl MovingAverageFactory

    source

    pub fn create( moving_average_type: MovingAverageType, period: usize diff --git a/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html b/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html index 751e67e1e4a6..f0e306d9e86a 100644 --- a/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html +++ b/nightly/core/nautilus_indicators/average/struct.MovingAverageTypeIter.html @@ -1,4 +1,4 @@ -MovingAverageTypeIter in nautilus_indicators::average - Rust +MovingAverageTypeIter in nautilus_indicators::average - Rust
    pub struct MovingAverageTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of MovingAverageType

    Trait Implementations§

    source§

    impl Clone for MovingAverageTypeIter

    source§

    fn clone(&self) -> MovingAverageTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MovingAverageTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for MovingAverageTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_indicators/average/wma/index.html b/nightly/core/nautilus_indicators/average/wma/index.html index 12a3b48ba9e9..da2b68728b26 100644 --- a/nightly/core/nautilus_indicators/average/wma/index.html +++ b/nightly/core/nautilus_indicators/average/wma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::average::wma - Rust +nautilus_indicators::average::wma - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html b/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html index ce7021225a59..01e6fb319ad3 100644 --- a/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html +++ b/nightly/core/nautilus_indicators/average/wma/struct.WeightedMovingAverage.html @@ -1,4 +1,4 @@ -WeightedMovingAverage in nautilus_indicators::average::wma - Rust +WeightedMovingAverage in nautilus_indicators::average::wma - Rust
    #[repr(C)]
    pub struct WeightedMovingAverage { pub period: usize, pub weights: Vec<f64>, @@ -22,8 +22,8 @@ period: usize, weights: Vec<f64>, price_type: Option<PriceType> -) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for WeightedMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for WeightedMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for WeightedMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for WeightedMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for WeightedMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for WeightedMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for WeightedMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<WeightedMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WeightedMovingAverage

    §

    type Holder = Option<PyRef<'py, WeightedMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WeightedMovingAverage

    §

    type Holder = Option<PyRefMut<'py, WeightedMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for WeightedMovingAverage

    §

    type AsRefTarget = PyCell<WeightedMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "WeightedMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for WeightedMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for WeightedMovingAverage

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for WeightedMovingAverage

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for WeightedMovingAverage

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl MovingAverage for WeightedMovingAverage

    source§

    fn value(&self) -> f64

    source§

    fn count(&self) -> usize

    source§

    fn update_raw(&mut self, value: f64)

    source§

    impl PyClass for WeightedMovingAverage

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for WeightedMovingAverage

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<WeightedMovingAverage>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a WeightedMovingAverage

    §

    type Holder = Option<PyRef<'py, WeightedMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut WeightedMovingAverage

    §

    type Holder = Option<PyRefMut<'py, WeightedMovingAverage>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<WeightedMovingAverage> for PyClassImplCollector<WeightedMovingAverage>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for WeightedMovingAverage

    §

    type AsRefTarget = PyCell<WeightedMovingAverage>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "WeightedMovingAverage"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/index.html b/nightly/core/nautilus_indicators/index.html index 1c0d7097b68e..0f6e2a26eddb 100644 --- a/nightly/core/nautilus_indicators/index.html +++ b/nightly/core/nautilus_indicators/index.html @@ -1,3 +1,3 @@ -nautilus_indicators - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/indicator/trait.MovingAverage.html b/nightly/core/nautilus_indicators/indicator/trait.MovingAverage.html index 88faea34e913..c234e2394ad3 100644 --- a/nightly/core/nautilus_indicators/indicator/trait.MovingAverage.html +++ b/nightly/core/nautilus_indicators/indicator/trait.MovingAverage.html @@ -1,4 +1,4 @@ -MovingAverage in nautilus_indicators::indicator - Rust +MovingAverage in nautilus_indicators::indicator - Rust
    pub trait MovingAverage: Indicator {
         // Required methods
         fn value(&self) -> f64;
    diff --git a/nightly/core/nautilus_indicators/momentum/aroon/index.html b/nightly/core/nautilus_indicators/momentum/aroon/index.html
    index a4e6a210cc50..97d6ed8d77a8 100644
    --- a/nightly/core/nautilus_indicators/momentum/aroon/index.html
    +++ b/nightly/core/nautilus_indicators/momentum/aroon/index.html
    @@ -1,3 +1,3 @@
    -nautilus_indicators::momentum::aroon - Rust
    +nautilus_indicators::momentum::aroon - Rust
         

    Structs§

    • The Aroon Oscillator calculates the Aroon Up and Aroon Down indicators to determine if an instrument is trending, and the strength of the trend.
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/momentum/aroon/struct.AroonOscillator.html b/nightly/core/nautilus_indicators/momentum/aroon/struct.AroonOscillator.html index 6eed48f5b653..c2e0feeecb1d 100644 --- a/nightly/core/nautilus_indicators/momentum/aroon/struct.AroonOscillator.html +++ b/nightly/core/nautilus_indicators/momentum/aroon/struct.AroonOscillator.html @@ -1,4 +1,4 @@ -AroonOscillator in nautilus_indicators::momentum::aroon - Rust +AroonOscillator in nautilus_indicators::momentum::aroon - Rust
    #[repr(C)]
    pub struct AroonOscillator { pub period: usize, pub high_inputs: VecDeque<f64>, @@ -11,7 +11,7 @@ /* private fields */ }
    Expand description

    The Aroon Oscillator calculates the Aroon Up and Aroon Down indicators to determine if an instrument is trending, and the strength of the trend.

    -

    Fields§

    §period: usize§high_inputs: VecDeque<f64>§low_inputs: VecDeque<f64>§aroon_up: f64§aroon_down: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl AroonOscillator

    source

    pub fn new(period: usize) -> Result<Self>

    source

    pub fn update_raw(&mut self, high: f64, low: f64)

    source§

    impl AroonOscillator

    source

    pub fn py_new(period: usize) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for AroonOscillator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AroonOscillator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for AroonOscillator

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, _tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, _tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for AroonOscillator

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for AroonOscillator

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AroonOscillator

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AroonOscillator>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +

    Fields§

    §period: usize§high_inputs: VecDeque<f64>§low_inputs: VecDeque<f64>§aroon_up: f64§aroon_down: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl AroonOscillator

    source

    pub fn new(period: usize) -> Result<Self>

    source

    pub fn update_raw(&mut self, high: f64, low: f64)

    source§

    impl AroonOscillator

    source

    pub fn py_new(period: usize) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for AroonOscillator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AroonOscillator

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for AroonOscillator

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, _tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, _tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for AroonOscillator

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for AroonOscillator

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AroonOscillator

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AroonOscillator>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AroonOscillator> for PyClassImplCollector<AroonOscillator>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AroonOscillator

    §

    type Holder = Option<PyRef<'py, AroonOscillator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AroonOscillator

    §

    type Holder = Option<PyRefMut<'py, AroonOscillator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AroonOscillator> for PyClassImplCollector<AroonOscillator>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AroonOscillator

    §

    type AsRefTarget = PyCell<AroonOscillator>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AroonOscillator"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_indicators/momentum/index.html b/nightly/core/nautilus_indicators/momentum/index.html index 8c6a748ebb0c..86d12e8df506 100644 --- a/nightly/core/nautilus_indicators/momentum/index.html +++ b/nightly/core/nautilus_indicators/momentum/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::momentum - Rust +nautilus_indicators::momentum - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/momentum/rsi/index.html b/nightly/core/nautilus_indicators/momentum/rsi/index.html index d8c8c5573196..c0893e475482 100644 --- a/nightly/core/nautilus_indicators/momentum/rsi/index.html +++ b/nightly/core/nautilus_indicators/momentum/rsi/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::momentum::rsi - Rust +nautilus_indicators::momentum::rsi - Rust

    Structs§

    • An indicator which calculates a relative strength index (RSI) across a rolling window.
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/momentum/rsi/struct.RelativeStrengthIndex.html b/nightly/core/nautilus_indicators/momentum/rsi/struct.RelativeStrengthIndex.html index 59f42cd98eea..1123fc435287 100644 --- a/nightly/core/nautilus_indicators/momentum/rsi/struct.RelativeStrengthIndex.html +++ b/nightly/core/nautilus_indicators/momentum/rsi/struct.RelativeStrengthIndex.html @@ -1,4 +1,4 @@ -RelativeStrengthIndex in nautilus_indicators::momentum::rsi - Rust +RelativeStrengthIndex in nautilus_indicators::momentum::rsi - Rust
    #[repr(C)]
    pub struct RelativeStrengthIndex { pub period: usize, pub ma_type: MovingAverageType, diff --git a/nightly/core/nautilus_indicators/python/average/ama/index.html b/nightly/core/nautilus_indicators/python/average/ama/index.html index b66ac2e5093c..6a3d74846b8c 100644 --- a/nightly/core/nautilus_indicators/python/average/ama/index.html +++ b/nightly/core/nautilus_indicators/python/average/ama/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::ama - Rust +nautilus_indicators::python::average::ama - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/dema/index.html b/nightly/core/nautilus_indicators/python/average/dema/index.html index fec94ee4f3fc..59ce908f8675 100644 --- a/nightly/core/nautilus_indicators/python/average/dema/index.html +++ b/nightly/core/nautilus_indicators/python/average/dema/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::dema - Rust +nautilus_indicators::python::average::dema - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/ema/index.html b/nightly/core/nautilus_indicators/python/average/ema/index.html index dada74c9effd..f0e9bf5419e1 100644 --- a/nightly/core/nautilus_indicators/python/average/ema/index.html +++ b/nightly/core/nautilus_indicators/python/average/ema/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::ema - Rust +nautilus_indicators::python::average::ema - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/hma/index.html b/nightly/core/nautilus_indicators/python/average/hma/index.html index d72f56e66a84..c58be630fc5a 100644 --- a/nightly/core/nautilus_indicators/python/average/hma/index.html +++ b/nightly/core/nautilus_indicators/python/average/hma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::hma - Rust +nautilus_indicators::python::average::hma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/index.html b/nightly/core/nautilus_indicators/python/average/index.html index d105cece1df1..1a9b8098c87e 100644 --- a/nightly/core/nautilus_indicators/python/average/index.html +++ b/nightly/core/nautilus_indicators/python/average/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average - Rust +nautilus_indicators::python::average - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/rma/index.html b/nightly/core/nautilus_indicators/python/average/rma/index.html index 9c9d133af849..ebb0ab812449 100644 --- a/nightly/core/nautilus_indicators/python/average/rma/index.html +++ b/nightly/core/nautilus_indicators/python/average/rma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::rma - Rust +nautilus_indicators::python::average::rma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/sma/index.html b/nightly/core/nautilus_indicators/python/average/sma/index.html index a0291cae73cd..be92ab42ed71 100644 --- a/nightly/core/nautilus_indicators/python/average/sma/index.html +++ b/nightly/core/nautilus_indicators/python/average/sma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::sma - Rust +nautilus_indicators::python::average::sma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/average/wma/index.html b/nightly/core/nautilus_indicators/python/average/wma/index.html index 5c8337048236..8cda2e2a540a 100644 --- a/nightly/core/nautilus_indicators/python/average/wma/index.html +++ b/nightly/core/nautilus_indicators/python/average/wma/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::average::wma - Rust +nautilus_indicators::python::average::wma - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/fn.indicators.html b/nightly/core/nautilus_indicators/python/fn.indicators.html index f31aeda23b57..dfa9f72fe3da 100644 --- a/nightly/core/nautilus_indicators/python/fn.indicators.html +++ b/nightly/core/nautilus_indicators/python/fn.indicators.html @@ -1,2 +1,2 @@ -indicators in nautilus_indicators::python - Rust -
    pub fn indicators(_: Python<'_>, m: &PyModule) -> PyResult<()>
    \ No newline at end of file +indicators in nautilus_indicators::python - Rust +
    pub fn indicators(_: Python<'_>, m: &PyModule) -> PyResult<()>
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/index.html b/nightly/core/nautilus_indicators/python/index.html index e5c53d7946e0..6e7e4516a86e 100644 --- a/nightly/core/nautilus_indicators/python/index.html +++ b/nightly/core/nautilus_indicators/python/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python - Rust -
    \ No newline at end of file +nautilus_indicators::python - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/momentum/aroon/index.html b/nightly/core/nautilus_indicators/python/momentum/aroon/index.html index d7e29f225619..74c076f7d8ce 100644 --- a/nightly/core/nautilus_indicators/python/momentum/aroon/index.html +++ b/nightly/core/nautilus_indicators/python/momentum/aroon/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::momentum::aroon - Rust +nautilus_indicators::python::momentum::aroon - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/momentum/index.html b/nightly/core/nautilus_indicators/python/momentum/index.html index 8215e089dae6..e27a7b07d87d 100644 --- a/nightly/core/nautilus_indicators/python/momentum/index.html +++ b/nightly/core/nautilus_indicators/python/momentum/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::momentum - Rust +nautilus_indicators::python::momentum - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/momentum/rsi/index.html b/nightly/core/nautilus_indicators/python/momentum/rsi/index.html index 9e2d86bfdf5d..232c3cfb3c2d 100644 --- a/nightly/core/nautilus_indicators/python/momentum/rsi/index.html +++ b/nightly/core/nautilus_indicators/python/momentum/rsi/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::momentum::rsi - Rust +nautilus_indicators::python::momentum::rsi - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/ratio/efficiency_ratio/index.html b/nightly/core/nautilus_indicators/python/ratio/efficiency_ratio/index.html index a6a2e5cabe6b..b87320b82aa4 100644 --- a/nightly/core/nautilus_indicators/python/ratio/efficiency_ratio/index.html +++ b/nightly/core/nautilus_indicators/python/ratio/efficiency_ratio/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::ratio::efficiency_ratio - Rust +nautilus_indicators::python::ratio::efficiency_ratio - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/ratio/index.html b/nightly/core/nautilus_indicators/python/ratio/index.html index 3a73242eb8e4..f1770f5798b0 100644 --- a/nightly/core/nautilus_indicators/python/ratio/index.html +++ b/nightly/core/nautilus_indicators/python/ratio/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::python::ratio - Rust +nautilus_indicators::python::ratio - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/sidebar-items.js b/nightly/core/nautilus_indicators/python/sidebar-items.js index ebd224e64fcc..7a14ed831205 100644 --- a/nightly/core/nautilus_indicators/python/sidebar-items.js +++ b/nightly/core/nautilus_indicators/python/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"fn":["indicators"],"mod":["average","momentum","ratio"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["indicators"],"mod":["average","momentum","ratio","volatility"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/volatility/atr/index.html b/nightly/core/nautilus_indicators/python/volatility/atr/index.html new file mode 100644 index 000000000000..103ed3b80072 --- /dev/null +++ b/nightly/core/nautilus_indicators/python/volatility/atr/index.html @@ -0,0 +1,2 @@ +nautilus_indicators::python::volatility::atr - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/volatility/atr/sidebar-items.js b/nightly/core/nautilus_indicators/python/volatility/atr/sidebar-items.js new file mode 100644 index 000000000000..5244ce01ccff --- /dev/null +++ b/nightly/core/nautilus_indicators/python/volatility/atr/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/volatility/index.html b/nightly/core/nautilus_indicators/python/volatility/index.html new file mode 100644 index 000000000000..18d85f4e9bbd --- /dev/null +++ b/nightly/core/nautilus_indicators/python/volatility/index.html @@ -0,0 +1,2 @@ +nautilus_indicators::python::volatility - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/python/volatility/sidebar-items.js b/nightly/core/nautilus_indicators/python/volatility/sidebar-items.js new file mode 100644 index 000000000000..fa5210547c12 --- /dev/null +++ b/nightly/core/nautilus_indicators/python/volatility/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["atr"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/ratio/efficiency_ratio/index.html b/nightly/core/nautilus_indicators/ratio/efficiency_ratio/index.html index d181f26946fc..94a7fb0380b1 100644 --- a/nightly/core/nautilus_indicators/ratio/efficiency_ratio/index.html +++ b/nightly/core/nautilus_indicators/ratio/efficiency_ratio/index.html @@ -1,4 +1,4 @@ -nautilus_indicators::ratio::efficiency_ratio - Rust +nautilus_indicators::ratio::efficiency_ratio - Rust

    Structs§

    • An indicator which calculates the efficiency ratio across a rolling window. The Kaufman Efficiency measures the ratio of the relative market speed in relation to the volatility, this could be thought of as a proxy for noise.
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/ratio/efficiency_ratio/struct.EfficiencyRatio.html b/nightly/core/nautilus_indicators/ratio/efficiency_ratio/struct.EfficiencyRatio.html index d0beebeb6025..393ba07ccc44 100644 --- a/nightly/core/nautilus_indicators/ratio/efficiency_ratio/struct.EfficiencyRatio.html +++ b/nightly/core/nautilus_indicators/ratio/efficiency_ratio/struct.EfficiencyRatio.html @@ -1,4 +1,4 @@ -EfficiencyRatio in nautilus_indicators::ratio::efficiency_ratio - Rust +EfficiencyRatio in nautilus_indicators::ratio::efficiency_ratio - Rust
    #[repr(C)]
    pub struct EfficiencyRatio { pub period: usize, pub price_type: PriceType, @@ -11,7 +11,7 @@ relation to the volatility, this could be thought of as a proxy for noise.

    Fields§

    §period: usize

    The rolling window period for the indicator (>= 2).

    §price_type: PriceType§value: f64§inputs: Vec<f64>§is_initialized: bool

    Implementations§

    source§

    impl EfficiencyRatio

    source

    pub fn new(period: usize, price_type: Option<PriceType>) -> Result<Self>

    source

    pub fn update_raw(&mut self, value: f64)

    Trait Implementations§

    source§

    impl Debug for EfficiencyRatio

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for EfficiencyRatio

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for EfficiencyRatio

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for EfficiencyRatio

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for EfficiencyRatio

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for EfficiencyRatio

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<EfficiencyRatio>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<EfficiencyRatio> for PyClassImplCollector<EfficiencyRatio>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a EfficiencyRatio

    §

    type Holder = Option<PyRef<'py, EfficiencyRatio>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut EfficiencyRatio

    §

    type Holder = Option<PyRefMut<'py, EfficiencyRatio>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<EfficiencyRatio> for PyClassImplCollector<EfficiencyRatio>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for EfficiencyRatio

    §

    type AsRefTarget = PyCell<EfficiencyRatio>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "EfficiencyRatio"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<EfficiencyRatio> for PyClassImplCollector<EfficiencyRatio>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a EfficiencyRatio

    §

    type Holder = Option<PyRef<'py, EfficiencyRatio>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut EfficiencyRatio

    §

    type Holder = Option<PyRefMut<'py, EfficiencyRatio>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<EfficiencyRatio> for PyClassImplCollector<EfficiencyRatio>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for EfficiencyRatio

    §

    type AsRefTarget = PyCell<EfficiencyRatio>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "EfficiencyRatio"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_indicators/ratio/index.html b/nightly/core/nautilus_indicators/ratio/index.html index 1a2fdc1f5da0..d32aac3a8eaf 100644 --- a/nightly/core/nautilus_indicators/ratio/index.html +++ b/nightly/core/nautilus_indicators/ratio/index.html @@ -1,2 +1,2 @@ -nautilus_indicators::ratio - Rust +nautilus_indicators::ratio - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/sidebar-items.js b/nightly/core/nautilus_indicators/sidebar-items.js index afd074566677..4b276aeb6595 100644 --- a/nightly/core/nautilus_indicators/sidebar-items.js +++ b/nightly/core/nautilus_indicators/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["average","indicator","momentum","python","ratio"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["average","indicator","momentum","python","ratio","volatility"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/volatility/atr/index.html b/nightly/core/nautilus_indicators/volatility/atr/index.html new file mode 100644 index 000000000000..a24184619122 --- /dev/null +++ b/nightly/core/nautilus_indicators/volatility/atr/index.html @@ -0,0 +1,2 @@ +nautilus_indicators::volatility::atr - Rust +

    Structs§

    • An indicator which calculates a Average True Range (ATR) across a rolling window.
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/volatility/atr/sidebar-items.js b/nightly/core/nautilus_indicators/volatility/atr/sidebar-items.js new file mode 100644 index 000000000000..1bf862beefcd --- /dev/null +++ b/nightly/core/nautilus_indicators/volatility/atr/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["AverageTrueRange"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/volatility/atr/struct.AverageTrueRange.html b/nightly/core/nautilus_indicators/volatility/atr/struct.AverageTrueRange.html new file mode 100644 index 000000000000..359c73336fd8 --- /dev/null +++ b/nightly/core/nautilus_indicators/volatility/atr/struct.AverageTrueRange.html @@ -0,0 +1,36 @@ +AverageTrueRange in nautilus_indicators::volatility::atr - Rust +
    #[repr(C)]
    pub struct AverageTrueRange { + pub period: usize, + pub ma_type: MovingAverageType, + pub use_previous: bool, + pub value_floor: f64, + pub value: f64, + pub count: usize, + pub is_initialized: bool, + /* private fields */ +}
    Expand description

    An indicator which calculates a Average True Range (ATR) across a rolling window.

    +

    Fields§

    §period: usize§ma_type: MovingAverageType§use_previous: bool§value_floor: f64§value: f64§count: usize§is_initialized: bool

    Implementations§

    source§

    impl AverageTrueRange

    source

    pub fn new( + period: usize, + ma_type: Option<MovingAverageType>, + use_previous: Option<bool>, + value_floor: Option<f64> +) -> Result<Self>

    source

    pub fn update_raw(&mut self, high: f64, low: f64, close: f64)

    source§

    impl AverageTrueRange

    source

    pub fn py_new( + period: usize, + ma_type: Option<MovingAverageType>, + use_previous: Option<bool>, + value_floor: Option<f64> +) -> PyResult<Self>

    Trait Implementations§

    source§

    impl Debug for AverageTrueRange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for AverageTrueRange

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Indicator for AverageTrueRange

    source§

    fn name(&self) -> String

    source§

    fn has_inputs(&self) -> bool

    source§

    fn is_initialized(&self) -> bool

    source§

    fn handle_quote_tick(&mut self, _tick: &QuoteTick)

    source§

    fn handle_trade_tick(&mut self, _tick: &TradeTick)

    source§

    fn handle_bar(&mut self, bar: &Bar)

    source§

    fn reset(&mut self)

    source§

    impl IntoPy<Py<PyAny>> for AverageTrueRange

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for AverageTrueRange

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AverageTrueRange

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AverageTrueRange>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AverageTrueRange> for PyClassImplCollector<AverageTrueRange>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AverageTrueRange

    §

    type Holder = Option<PyRef<'py, AverageTrueRange>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AverageTrueRange

    §

    type Holder = Option<PyRefMut<'py, AverageTrueRange>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AverageTrueRange> for PyClassImplCollector<AverageTrueRange>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AverageTrueRange

    §

    type AsRefTarget = PyCell<AverageTrueRange>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AverageTrueRange"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    source§

    impl<T> Separable for T
    where + T: Display,

    source§

    fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

    Adds separators according to the given SeparatorPolicy. Read more
    source§

    fn separate_with_commas(&self) -> String

    Inserts a comma every three digits from the right. Read more
    source§

    fn separate_with_spaces(&self) -> String

    Inserts a space every three digits from the right. Read more
    source§

    fn separate_with_dots(&self) -> String

    Inserts a period every three digits from the right. Read more
    source§

    fn separate_with_underscores(&self) -> String

    Inserts an underscore every three digits from the right. Read more
    source§

    impl<T> ToString for T
    where + T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/volatility/index.html b/nightly/core/nautilus_indicators/volatility/index.html new file mode 100644 index 000000000000..95ea99bb6f83 --- /dev/null +++ b/nightly/core/nautilus_indicators/volatility/index.html @@ -0,0 +1,2 @@ +nautilus_indicators::volatility - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_indicators/volatility/sidebar-items.js b/nightly/core/nautilus_indicators/volatility/sidebar-items.js new file mode 100644 index 000000000000..fa5210547c12 --- /dev/null +++ b/nightly/core/nautilus_indicators/volatility/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["atr"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_infrastructure/all.html b/nightly/core/nautilus_infrastructure/all.html index 7836fb806f36..9e957ee1565b 100644 --- a/nightly/core/nautilus_infrastructure/all.html +++ b/nightly/core/nautilus_infrastructure/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate
    \ No newline at end of file diff --git a/nightly/core/nautilus_infrastructure/cache/enum.DatabaseOperation.html b/nightly/core/nautilus_infrastructure/cache/enum.DatabaseOperation.html index 4d2da23cc25b..c3b8f9857f88 100644 --- a/nightly/core/nautilus_infrastructure/cache/enum.DatabaseOperation.html +++ b/nightly/core/nautilus_infrastructure/cache/enum.DatabaseOperation.html @@ -1,4 +1,4 @@ -DatabaseOperation in nautilus_infrastructure::cache - Rust +DatabaseOperation in nautilus_infrastructure::cache - Rust
    pub enum DatabaseOperation {
         Insert,
         Update,
    diff --git a/nightly/core/nautilus_infrastructure/cache/index.html b/nightly/core/nautilus_infrastructure/cache/index.html
    index 2708d6dc95c5..ebfa93905960 100644
    --- a/nightly/core/nautilus_infrastructure/cache/index.html
    +++ b/nightly/core/nautilus_infrastructure/cache/index.html
    @@ -1,2 +1,2 @@
    -nautilus_infrastructure::cache - Rust
    +nautilus_infrastructure::cache - Rust
         

    Structs§

    • Represents a database command to be performed which may be executed ‘remotely’ across a thread.

    Enums§

    Traits§

    \ No newline at end of file diff --git a/nightly/core/nautilus_infrastructure/cache/struct.DatabaseCommand.html b/nightly/core/nautilus_infrastructure/cache/struct.DatabaseCommand.html index bbe8d9cc2093..6f2dcd1af204 100644 --- a/nightly/core/nautilus_infrastructure/cache/struct.DatabaseCommand.html +++ b/nightly/core/nautilus_infrastructure/cache/struct.DatabaseCommand.html @@ -1,4 +1,4 @@ -DatabaseCommand in nautilus_infrastructure::cache - Rust +DatabaseCommand in nautilus_infrastructure::cache - Rust
    pub struct DatabaseCommand {
         pub op_type: DatabaseOperation,
         pub key: String,
    diff --git a/nightly/core/nautilus_infrastructure/cache/trait.CacheDatabase.html b/nightly/core/nautilus_infrastructure/cache/trait.CacheDatabase.html
    index 12a8cd71ad88..1f0e50c4d203 100644
    --- a/nightly/core/nautilus_infrastructure/cache/trait.CacheDatabase.html
    +++ b/nightly/core/nautilus_infrastructure/cache/trait.CacheDatabase.html
    @@ -1,11 +1,11 @@
    -CacheDatabase in nautilus_infrastructure::cache - Rust
    +CacheDatabase in nautilus_infrastructure::cache - Rust
         
    pub trait CacheDatabase {
         type DatabaseType;
     
         // Required methods
         fn new(
    -        trader_id: TraderId,
    -        instance_id: UUID4,
    +        trader_id: TraderId,
    +        instance_id: UUID4,
             config: HashMap<String, Value>
         ) -> Result<Self::DatabaseType>;
         fn flushdb(&mut self) -> Result<()>;
    @@ -36,8 +36,8 @@
     information to implement the cache database in many different technologies.

    Delete operations may need a payload to target specific values.

    Required Associated Types§

    Required Methods§

    source

    fn new( - trader_id: TraderId, - instance_id: UUID4, + trader_id: TraderId, + instance_id: UUID4, config: HashMap<String, Value> ) -> Result<Self::DatabaseType>

    source

    fn flushdb(&mut self) -> Result<()>

    source

    fn keys(&mut self, pattern: &str) -> Result<Vec<String>>

    source

    fn read(&mut self, key: &str) -> Result<Vec<Vec<u8>>>

    source

    fn insert(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source

    fn update(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source

    fn delete(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source

    fn handle_messages( rx: Receiver<DatabaseCommand>, diff --git a/nightly/core/nautilus_infrastructure/index.html b/nightly/core/nautilus_infrastructure/index.html index b66aebca176b..f59a818283ce 100644 --- a/nightly/core/nautilus_infrastructure/index.html +++ b/nightly/core/nautilus_infrastructure/index.html @@ -1,3 +1,3 @@ -nautilus_infrastructure - Rust

    Fields§

    §trader_id: TraderId

    Trait Implementations§

    source§

    impl CacheDatabase for RedisCacheDatabase

    §

    type DatabaseType = RedisCacheDatabase

    source§

    fn new( + trader_id: TraderId, + instance_id: UUID4, config: HashMap<String, Value> ) -> Result<RedisCacheDatabase>

    source§

    fn flushdb(&mut self) -> Result<()>

    source§

    fn keys(&mut self, pattern: &str) -> Result<Vec<String>>

    source§

    fn read(&mut self, key: &str) -> Result<Vec<Vec<u8>>>

    source§

    fn insert(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source§

    fn update(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source§

    fn delete(&mut self, key: String, payload: Option<Vec<Vec<u8>>>) -> Result<()>

    source§

    fn handle_messages( rx: Receiver<DatabaseCommand>, trader_key: String, config: HashMap<String, Value> )

    source§

    impl IntoPy<Py<PyAny>> for RedisCacheDatabase

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for RedisCacheDatabase

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for RedisCacheDatabase

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<RedisCacheDatabase>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<RedisCacheDatabase> for PyClassImplCollector<RedisCacheDatabase>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a RedisCacheDatabase

    §

    type Holder = Option<PyRef<'py, RedisCacheDatabase>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut RedisCacheDatabase

    §

    type Holder = Option<PyRefMut<'py, RedisCacheDatabase>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<RedisCacheDatabase> for PyClassImplCollector<RedisCacheDatabase>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for RedisCacheDatabase

    §

    type AsRefTarget = PyCell<RedisCacheDatabase>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "RedisCacheDatabase"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<RedisCacheDatabase> for PyClassImplCollector<RedisCacheDatabase>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a RedisCacheDatabase

    §

    type Holder = Option<PyRef<'py, RedisCacheDatabase>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut RedisCacheDatabase

    §

    type Holder = Option<PyRefMut<'py, RedisCacheDatabase>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<RedisCacheDatabase> for PyClassImplCollector<RedisCacheDatabase>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for RedisCacheDatabase

    §

    type AsRefTarget = PyCell<RedisCacheDatabase>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "RedisCacheDatabase"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/all.html b/nightly/core/nautilus_model/all.html index 0f2527d92bcf..f3f1187b9f18 100644 --- a/nightly/core/nautilus_model/all.html +++ b/nightly/core/nautilus_model/all.html @@ -1,2 +1,2 @@ -List of all items in this crate -

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Aliases

    Statics

    Constants

    \ No newline at end of file +List of all items in this crate +

    List of all items

    Structs

    Enums

    Traits

    Macros

    Functions

    Type Aliases

    Statics

    Constants

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/currencies/index.html b/nightly/core/nautilus_model/currencies/index.html index 6f8760984893..6e4df3022e3a 100644 --- a/nightly/core/nautilus_model/currencies/index.html +++ b/nightly/core/nautilus_model/currencies/index.html @@ -1,2 +1,2 @@ -nautilus_model::currencies - Rust +nautilus_model::currencies - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/currencies/static.CURRENCY_MAP.html b/nightly/core/nautilus_model/currencies/static.CURRENCY_MAP.html index abe8bbdd7161..91042b291ccb 100644 --- a/nightly/core/nautilus_model/currencies/static.CURRENCY_MAP.html +++ b/nightly/core/nautilus_model/currencies/static.CURRENCY_MAP.html @@ -1,2 +1,2 @@ -CURRENCY_MAP in nautilus_model::currencies - Rust +CURRENCY_MAP in nautilus_model::currencies - Rust
    pub static CURRENCY_MAP: Lazy<Mutex<HashMap<String, Currency>>>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/bar/index.html b/nightly/core/nautilus_model/data/bar/index.html index 4951bce6e360..af21003bc429 100644 --- a/nightly/core/nautilus_model/data/bar/index.html +++ b/nightly/core/nautilus_model/data/bar/index.html @@ -1,4 +1,4 @@ -nautilus_model::data::bar - Rust +nautilus_model::data::bar - Rust

    Module nautilus_model::data::bar

    source ·

    Modules§

    Structs§

    • Represents an aggregated bar.
    • Represents a bar aggregation specification including a step, aggregation method/rule and price type.
    • Represents a bar type including the instrument ID, bar specification and aggregation source.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/bar/struct.Bar.html b/nightly/core/nautilus_model/data/bar/struct.Bar.html index 57c4487986b0..9a412804174b 100644 --- a/nightly/core/nautilus_model/data/bar/struct.Bar.html +++ b/nightly/core/nautilus_model/data/bar/struct.Bar.html @@ -1,4 +1,4 @@ -Bar in nautilus_model::data::bar - Rust +Bar in nautilus_model::data::bar - Rust

    Struct nautilus_model::data::bar::Bar

    source ·
    #[repr(C)]
    pub struct Bar { pub bar_type: BarType, pub open: Price, @@ -33,8 +33,8 @@ ) -> HashMap<String, String>

    Returns the metadata for the type, for use with serialization formats.

    source

    pub fn get_fields() -> IndexMap<String, String>

    Returns the field map for the type, for use with Arrow schemas.

    source

    pub fn from_pyobject(obj: &PyAny) -> PyResult<Self>

    Create a new Bar extracted from the given [PyAny].

    -

    Trait Implementations§

    source§

    impl Clone for Bar

    source§

    fn clone(&self) -> Bar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Bar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Bar

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Bar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Bar> for Data

    source§

    fn from(value: Bar) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for Bar

    source§

    impl Hash for Bar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for Bar

    source§

    fn clone(&self) -> Bar

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Bar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Bar

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Bar

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Bar> for Data

    source§

    fn from(value: Bar) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for Bar

    source§

    impl Hash for Bar

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Bar

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for Bar

    source§

    fn eq(&self, other: &Bar) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/nightly/core/nautilus_model/data/bar/struct.BarSpecification.html b/nightly/core/nautilus_model/data/bar/struct.BarSpecification.html index cfc20ce5ec52..4ef1a471cec3 100644 --- a/nightly/core/nautilus_model/data/bar/struct.BarSpecification.html +++ b/nightly/core/nautilus_model/data/bar/struct.BarSpecification.html @@ -1,4 +1,4 @@ -BarSpecification in nautilus_model::data::bar - Rust +BarSpecification in nautilus_model::data::bar - Rust
    #[repr(C)]
    pub struct BarSpecification { pub step: usize, pub aggregation: BarAggregation, diff --git a/nightly/core/nautilus_model/data/bar/struct.BarType.html b/nightly/core/nautilus_model/data/bar/struct.BarType.html index 742c489e2bdb..f9cd1615acc2 100644 --- a/nightly/core/nautilus_model/data/bar/struct.BarType.html +++ b/nightly/core/nautilus_model/data/bar/struct.BarType.html @@ -1,4 +1,4 @@ -BarType in nautilus_model::data::bar - Rust +BarType in nautilus_model::data::bar - Rust
    #[repr(C)]
    pub struct BarType { pub instrument_id: InstrumentId, pub spec: BarSpecification, @@ -23,7 +23,7 @@ sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for BarType

    source§

    fn partial_cmp(&self, other: &BarType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for BarType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BarType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BarType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BarType> for PyClassImplCollector<BarType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BarType

    §

    type Holder = Option<PyRef<'py, BarType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BarType

    §

    type Holder = Option<PyRefMut<'py, BarType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BarType> for PyClassImplCollector<BarType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BarType

    §

    type AsRefTarget = PyCell<BarType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BarType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for BarType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BarType> for PyClassImplCollector<BarType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BarType

    §

    type Holder = Option<PyRef<'py, BarType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BarType

    §

    type Holder = Option<PyRefMut<'py, BarType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BarType> for PyClassImplCollector<BarType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BarType

    §

    type AsRefTarget = PyCell<BarType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BarType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for BarType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BarType

    source§

    impl Eq for BarType

    source§

    impl StructuralPartialEq for BarType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/bar/struct.BarTypeParseError.html b/nightly/core/nautilus_model/data/bar/struct.BarTypeParseError.html index bcd4affa2c96..a57c6cb82233 100644 --- a/nightly/core/nautilus_model/data/bar/struct.BarTypeParseError.html +++ b/nightly/core/nautilus_model/data/bar/struct.BarTypeParseError.html @@ -1,5 +1,5 @@ -BarTypeParseError in nautilus_model::data::bar - Rust -
    pub struct BarTypeParseError { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for BarTypeParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BarTypeParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BarTypeParseError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +BarTypeParseError in nautilus_model::data::bar - Rust +
    pub struct BarTypeParseError { /* private fields */ }

    Trait Implementations§

    source§

    impl Debug for BarTypeParseError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BarTypeParseError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BarTypeParseError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/data/bar/stubs/fn.stub_bar.html b/nightly/core/nautilus_model/data/bar/stubs/fn.stub_bar.html index 337cca6635a4..b30299fef1c2 100644 --- a/nightly/core/nautilus_model/data/bar/stubs/fn.stub_bar.html +++ b/nightly/core/nautilus_model/data/bar/stubs/fn.stub_bar.html @@ -1,2 +1,2 @@ -stub_bar in nautilus_model::data::bar::stubs - Rust +stub_bar in nautilus_model::data::bar::stubs - Rust
    pub fn stub_bar() -> Bar
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/bar/stubs/index.html b/nightly/core/nautilus_model/data/bar/stubs/index.html index bbabcc738016..eddeddeccbc7 100644 --- a/nightly/core/nautilus_model/data/bar/stubs/index.html +++ b/nightly/core/nautilus_model/data/bar/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::bar::stubs - Rust +nautilus_model::data::bar::stubs - Rust

    Module nautilus_model::data::bar::stubs

    source ·

    Structs§

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/bar/stubs/struct.stub_bar.html b/nightly/core/nautilus_model/data/bar/stubs/struct.stub_bar.html index 1bfd7e262d18..eba0ab8054c7 100644 --- a/nightly/core/nautilus_model/data/bar/stubs/struct.stub_bar.html +++ b/nightly/core/nautilus_model/data/bar/stubs/struct.stub_bar.html @@ -1,4 +1,4 @@ -stub_bar in nautilus_model::data::bar::stubs - Rust +stub_bar in nautilus_model::data::bar::stubs - Rust
    pub struct stub_bar {}

    Implementations§

    source§

    impl stub_bar

    source

    pub fn get() -> Bar

    source

    pub fn default() -> Bar

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/delta/index.html b/nightly/core/nautilus_model/data/delta/index.html index 450b239a032f..097e80f36f19 100644 --- a/nightly/core/nautilus_model/data/delta/index.html +++ b/nightly/core/nautilus_model/data/delta/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::delta - Rust +nautilus_model::data::delta - Rust

    Module nautilus_model::data::delta

    source ·

    Modules§

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/delta/struct.OrderBookDelta.html b/nightly/core/nautilus_model/data/delta/struct.OrderBookDelta.html index 667b29171f50..fbfc81971217 100644 --- a/nightly/core/nautilus_model/data/delta/struct.OrderBookDelta.html +++ b/nightly/core/nautilus_model/data/delta/struct.OrderBookDelta.html @@ -1,4 +1,4 @@ -OrderBookDelta in nautilus_model::data::delta - Rust +OrderBookDelta in nautilus_model::data::delta - Rust
    #[repr(C)]
    pub struct OrderBookDelta { pub instrument_id: InstrumentId, pub action: BookAction, @@ -35,8 +35,8 @@ ) -> HashMap<String, String>

    Returns the metadata for the type, for use with serialization formats.

    source

    pub fn get_fields() -> IndexMap<String, String>

    Returns the field map for the type, for use with Arrow schemas.

    source

    pub fn from_pyobject(obj: &PyAny) -> PyResult<Self>

    Create a new OrderBookDelta extracted from the given [PyAny].

    -

    Trait Implementations§

    source§

    impl Clone for OrderBookDelta

    source§

    fn clone(&self) -> OrderBookDelta

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDelta

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderBookDelta

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderBookDelta

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<OrderBookDelta> for Data

    source§

    fn from(value: OrderBookDelta) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for OrderBookDelta

    source§

    impl Hash for OrderBookDelta

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for OrderBookDelta

    source§

    fn clone(&self) -> OrderBookDelta

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDelta

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderBookDelta

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderBookDelta

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<OrderBookDelta> for Data

    source§

    fn from(value: OrderBookDelta) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for OrderBookDelta

    source§

    impl Hash for OrderBookDelta

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookDelta

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderBookDelta

    source§

    fn eq(&self, other: &OrderBookDelta) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always diff --git a/nightly/core/nautilus_model/data/delta/stubs/fn.stub_delta.html b/nightly/core/nautilus_model/data/delta/stubs/fn.stub_delta.html index 127288a9129a..36ed413152b8 100644 --- a/nightly/core/nautilus_model/data/delta/stubs/fn.stub_delta.html +++ b/nightly/core/nautilus_model/data/delta/stubs/fn.stub_delta.html @@ -1,2 +1,2 @@ -stub_delta in nautilus_model::data::delta::stubs - Rust +stub_delta in nautilus_model::data::delta::stubs - Rust
    pub fn stub_delta() -> OrderBookDelta
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/delta/stubs/index.html b/nightly/core/nautilus_model/data/delta/stubs/index.html index 53600b0459b6..8b39004be8db 100644 --- a/nightly/core/nautilus_model/data/delta/stubs/index.html +++ b/nightly/core/nautilus_model/data/delta/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::delta::stubs - Rust +nautilus_model::data::delta::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/delta/stubs/struct.stub_delta.html b/nightly/core/nautilus_model/data/delta/stubs/struct.stub_delta.html index 526cbb1a754f..a9728655ad92 100644 --- a/nightly/core/nautilus_model/data/delta/stubs/struct.stub_delta.html +++ b/nightly/core/nautilus_model/data/delta/stubs/struct.stub_delta.html @@ -1,4 +1,4 @@ -stub_delta in nautilus_model::data::delta::stubs - Rust +stub_delta in nautilus_model::data::delta::stubs - Rust
    pub struct stub_delta {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/deltas/index.html b/nightly/core/nautilus_model/data/deltas/index.html index 413239c1ec67..9feb1afdf058 100644 --- a/nightly/core/nautilus_model/data/deltas/index.html +++ b/nightly/core/nautilus_model/data/deltas/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::deltas - Rust -

    Module nautilus_model::data::deltas

    source ·

    Modules§

    Structs§

    • Represents a grouped batch of OrderBookDelta updates for an OrderBook.
    \ No newline at end of file +nautilus_model::data::deltas - Rust +

    Module nautilus_model::data::deltas

    source ·

    Modules§

    Structs§

    • Represents a grouped batch of OrderBookDelta updates for an OrderBook.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/deltas/struct.OrderBookDeltas.html b/nightly/core/nautilus_model/data/deltas/struct.OrderBookDeltas.html index f7f685615b29..fdd0e4ccb0cb 100644 --- a/nightly/core/nautilus_model/data/deltas/struct.OrderBookDeltas.html +++ b/nightly/core/nautilus_model/data/deltas/struct.OrderBookDeltas.html @@ -1,5 +1,5 @@ -OrderBookDeltas in nautilus_model::data::deltas - Rust -
    pub struct OrderBookDeltas {
    +OrderBookDeltas in nautilus_model::data::deltas - Rust
    +    
    pub struct OrderBookDeltas {
         pub instrument_id: InstrumentId,
         pub deltas: Vec<OrderBookDelta>,
         pub flags: u8,
    @@ -14,12 +14,12 @@
     
    §sequence: u64

    The message sequence number assigned at the venue.

    §ts_event: UnixNanos

    The UNIX timestamp (nanoseconds) when the data event occurred.

    §ts_init: UnixNanos

    The UNIX timestamp (nanoseconds) when the data object was initialized.

    -

    Implementations§

    source§

    impl OrderBookDeltas

    source

    pub fn new(instrument_id: InstrumentId, deltas: Vec<OrderBookDelta>) -> Self

    Trait Implementations§

    source§

    impl Clone for OrderBookDeltas

    source§

    fn clone(&self) -> OrderBookDeltas

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDeltas

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderBookDeltas

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasTsInit for OrderBookDeltas

    source§

    impl Hash for OrderBookDeltas

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl OrderBookDeltas

    source

    pub fn new(instrument_id: InstrumentId, deltas: Vec<OrderBookDelta>) -> Self

    Trait Implementations§

    source§

    impl Clone for OrderBookDeltas

    source§

    fn clone(&self) -> OrderBookDeltas

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDeltas

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderBookDeltas

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl HasTsInit for OrderBookDeltas

    source§

    impl Hash for OrderBookDeltas

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookDeltas

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderBookDeltas

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookDeltas

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderBookDeltas

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderBookDeltas

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookDeltas

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookDeltas>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDeltas> for PyClassImplCollector<OrderBookDeltas>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDeltas

    §

    type Holder = Option<PyRef<'py, OrderBookDeltas>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDeltas

    §

    type Holder = Option<PyRefMut<'py, OrderBookDeltas>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDeltas> for PyClassImplCollector<OrderBookDeltas>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDeltas

    §

    type AsRefTarget = PyCell<OrderBookDeltas>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDeltas"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for OrderBookDeltas

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl PyClass for OrderBookDeltas

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookDeltas

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookDeltas>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDeltas> for PyClassImplCollector<OrderBookDeltas>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDeltas

    §

    type Holder = Option<PyRef<'py, OrderBookDeltas>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDeltas

    §

    type Holder = Option<PyRefMut<'py, OrderBookDeltas>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDeltas> for PyClassImplCollector<OrderBookDeltas>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDeltas

    §

    type AsRefTarget = PyCell<OrderBookDeltas>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDeltas"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for OrderBookDeltas

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_model/data/deltas/stubs/fn.stub_deltas.html b/nightly/core/nautilus_model/data/deltas/stubs/fn.stub_deltas.html index 05a6d4798cb3..d496c0f58dfc 100644 --- a/nightly/core/nautilus_model/data/deltas/stubs/fn.stub_deltas.html +++ b/nightly/core/nautilus_model/data/deltas/stubs/fn.stub_deltas.html @@ -1,2 +1,2 @@ -stub_deltas in nautilus_model::data::deltas::stubs - Rust -
    pub fn stub_deltas() -> OrderBookDeltas
    \ No newline at end of file +stub_deltas in nautilus_model::data::deltas::stubs - Rust +
    pub fn stub_deltas() -> OrderBookDeltas
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/deltas/stubs/index.html b/nightly/core/nautilus_model/data/deltas/stubs/index.html index 40af18fe6422..618e29266fb4 100644 --- a/nightly/core/nautilus_model/data/deltas/stubs/index.html +++ b/nightly/core/nautilus_model/data/deltas/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::deltas::stubs - Rust -
    \ No newline at end of file +nautilus_model::data::deltas::stubs - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/deltas/stubs/struct.stub_deltas.html b/nightly/core/nautilus_model/data/deltas/stubs/struct.stub_deltas.html index 2742083be3f2..e19683104b46 100644 --- a/nightly/core/nautilus_model/data/deltas/stubs/struct.stub_deltas.html +++ b/nightly/core/nautilus_model/data/deltas/stubs/struct.stub_deltas.html @@ -1,5 +1,5 @@ -stub_deltas in nautilus_model::data::deltas::stubs - Rust -
    pub struct stub_deltas {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +stub_deltas in nautilus_model::data::deltas::stubs - Rust +
    pub struct stub_deltas {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/data/depth/constant.DEPTH10_LEN.html b/nightly/core/nautilus_model/data/depth/constant.DEPTH10_LEN.html index 234765f4af31..b67741e53f98 100644 --- a/nightly/core/nautilus_model/data/depth/constant.DEPTH10_LEN.html +++ b/nightly/core/nautilus_model/data/depth/constant.DEPTH10_LEN.html @@ -1,2 +1,2 @@ -DEPTH10_LEN in nautilus_model::data::depth - Rust -
    pub const DEPTH10_LEN: usize = 10;
    \ No newline at end of file +DEPTH10_LEN in nautilus_model::data::depth - Rust +
    pub const DEPTH10_LEN: usize = 10;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/depth/index.html b/nightly/core/nautilus_model/data/depth/index.html index 067c32f49fc4..93719edbe69e 100644 --- a/nightly/core/nautilus_model/data/depth/index.html +++ b/nightly/core/nautilus_model/data/depth/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::depth - Rust -

    Module nautilus_model::data::depth

    source ·

    Modules§

    Structs§

    • Represents a self-contained order book update with a fixed depth of 10 levels per side.

    Constants§

    \ No newline at end of file +nautilus_model::data::depth - Rust +

    Module nautilus_model::data::depth

    source ·

    Modules§

    Structs§

    • Represents a self-contained order book update with a fixed depth of 10 levels per side.

    Constants§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/depth/struct.OrderBookDepth10.html b/nightly/core/nautilus_model/data/depth/struct.OrderBookDepth10.html index 2ebe4c81b3b6..72375a1cfa2f 100644 --- a/nightly/core/nautilus_model/data/depth/struct.OrderBookDepth10.html +++ b/nightly/core/nautilus_model/data/depth/struct.OrderBookDepth10.html @@ -1,5 +1,5 @@ -OrderBookDepth10 in nautilus_model::data::depth - Rust -
    #[repr(C)]
    pub struct OrderBookDepth10 { +OrderBookDepth10 in nautilus_model::data::depth - Rust +
    #[repr(C)]
    pub struct OrderBookDepth10 { pub instrument_id: InstrumentId, pub bids: [BookOrder; 10], pub asks: [BookOrder; 10], @@ -25,7 +25,7 @@
    §sequence: u64

    The message sequence number assigned at the venue.

    §ts_event: UnixNanos

    The UNIX timestamp (nanoseconds) when the data event occurred.

    §ts_init: UnixNanos

    The UNIX timestamp (nanoseconds) when the data object was initialized.

    -

    Implementations§

    source§

    impl OrderBookDepth10

    source

    pub fn new( +

    Implementations§

    source§

    impl OrderBookDepth10

    source

    pub fn new( instrument_id: InstrumentId, bids: [BookOrder; 10], asks: [BookOrder; 10], @@ -35,20 +35,20 @@ sequence: u64, ts_event: UnixNanos, ts_init: UnixNanos -) -> Self

    source

    pub fn get_metadata( +) -> Self

    source

    pub fn get_metadata( instrument_id: &InstrumentId, price_precision: u8, size_precision: u8 ) -> HashMap<String, String>

    Returns the metadata for the type, for use with serialization formats.

    -
    source

    pub fn get_fields() -> IndexMap<String, String>

    Returns the field map for the type, for use with Arrow schemas.

    -

    Trait Implementations§

    source§

    impl Clone for OrderBookDepth10

    source§

    fn clone(&self) -> OrderBookDepth10

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDepth10

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderBookDepth10

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderBookDepth10

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<OrderBookDepth10> for Data

    source§

    fn from(value: OrderBookDepth10) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for OrderBookDepth10

    source§

    impl Hash for OrderBookDepth10

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source

    pub fn get_fields() -> IndexMap<String, String>

    Returns the field map for the type, for use with Arrow schemas.

    +

    Trait Implementations§

    source§

    impl Clone for OrderBookDepth10

    source§

    fn clone(&self) -> OrderBookDepth10

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDepth10

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderBookDepth10

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderBookDepth10

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<OrderBookDepth10> for Data

    source§

    fn from(value: OrderBookDepth10) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for OrderBookDepth10

    source§

    impl Hash for OrderBookDepth10

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookDepth10

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderBookDepth10

    source§

    fn eq(&self, other: &OrderBookDepth10) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl IntoPy<Py<PyAny>> for OrderBookDepth10

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderBookDepth10

    source§

    fn eq(&self, other: &OrderBookDepth10) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderBookDepth10

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookDepth10

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookDepth10>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDepth10> for PyClassImplCollector<OrderBookDepth10>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDepth10

    §

    type Holder = Option<PyRef<'py, OrderBookDepth10>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDepth10

    §

    type Holder = Option<PyRefMut<'py, OrderBookDepth10>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDepth10> for PyClassImplCollector<OrderBookDepth10>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDepth10

    §

    type AsRefTarget = PyCell<OrderBookDepth10>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDepth10"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for OrderBookDepth10

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for OrderBookDepth10

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderBookDepth10

    source§

    impl Eq for OrderBookDepth10

    source§

    impl StructuralPartialEq for OrderBookDepth10

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl PyClass for OrderBookDepth10

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookDepth10

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookDepth10>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDepth10> for PyClassImplCollector<OrderBookDepth10>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDepth10

    §

    type Holder = Option<PyRef<'py, OrderBookDepth10>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDepth10

    §

    type Holder = Option<PyRefMut<'py, OrderBookDepth10>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDepth10> for PyClassImplCollector<OrderBookDepth10>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDepth10

    §

    type AsRefTarget = PyCell<OrderBookDepth10>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDepth10"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for OrderBookDepth10

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for OrderBookDepth10

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderBookDepth10

    source§

    impl Eq for OrderBookDepth10

    source§

    impl StructuralPartialEq for OrderBookDepth10

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_model/data/depth/stubs/fn.stub_depth10.html b/nightly/core/nautilus_model/data/depth/stubs/fn.stub_depth10.html index 07202fe01b5c..caef0fbcb308 100644 --- a/nightly/core/nautilus_model/data/depth/stubs/fn.stub_depth10.html +++ b/nightly/core/nautilus_model/data/depth/stubs/fn.stub_depth10.html @@ -1,2 +1,2 @@ -stub_depth10 in nautilus_model::data::depth::stubs - Rust -
    pub fn stub_depth10() -> OrderBookDepth10
    \ No newline at end of file +stub_depth10 in nautilus_model::data::depth::stubs - Rust +
    pub fn stub_depth10() -> OrderBookDepth10
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/depth/stubs/index.html b/nightly/core/nautilus_model/data/depth/stubs/index.html index 901294484b5e..61c8fbba602c 100644 --- a/nightly/core/nautilus_model/data/depth/stubs/index.html +++ b/nightly/core/nautilus_model/data/depth/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::depth::stubs - Rust -
    \ No newline at end of file +nautilus_model::data::depth::stubs - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/depth/stubs/struct.stub_depth10.html b/nightly/core/nautilus_model/data/depth/stubs/struct.stub_depth10.html index 1b0efe1cadb6..884daed304a9 100644 --- a/nightly/core/nautilus_model/data/depth/stubs/struct.stub_depth10.html +++ b/nightly/core/nautilus_model/data/depth/stubs/struct.stub_depth10.html @@ -1,5 +1,5 @@ -stub_depth10 in nautilus_model::data::depth::stubs - Rust -
    pub struct stub_depth10 {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +stub_depth10 in nautilus_model::data::depth::stubs - Rust +
    pub struct stub_depth10 {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/data/enum.Data.html b/nightly/core/nautilus_model/data/enum.Data.html index 70ce2fed6e3e..ec03782b90ca 100644 --- a/nightly/core/nautilus_model/data/enum.Data.html +++ b/nightly/core/nautilus_model/data/enum.Data.html @@ -1,4 +1,4 @@ -Data in nautilus_model::data - Rust +Data in nautilus_model::data - Rust
    #[repr(C)]
    pub enum Data { Delta(OrderBookDelta), Deltas(OrderBookDeltas_API), @@ -6,7 +6,7 @@ Quote(QuoteTick), Trade(TradeTick), Bar(Bar), -}

    Variants§

    Trait Implementations§

    source§

    impl Clone for Data

    source§

    fn clone(&self) -> Data

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Data

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Bar> for Data

    source§

    fn from(value: Bar) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDelta> for Data

    source§

    fn from(value: OrderBookDelta) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDeltas_API> for Data

    source§

    fn from(value: OrderBookDeltas_API) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDepth10> for Data

    source§

    fn from(value: OrderBookDepth10) -> Self

    Converts to this type from the input type.
    source§

    impl From<QuoteTick> for Data

    source§

    fn from(value: QuoteTick) -> Self

    Converts to this type from the input type.
    source§

    impl From<TradeTick> for Data

    source§

    fn from(value: TradeTick) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for Data

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    Trait Implementations§

    source§

    impl Clone for Data

    source§

    fn clone(&self) -> Data

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Data

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<Bar> for Data

    source§

    fn from(value: Bar) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDelta> for Data

    source§

    fn from(value: OrderBookDelta) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDeltas_API> for Data

    source§

    fn from(value: OrderBookDeltas_API) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderBookDepth10> for Data

    source§

    fn from(value: OrderBookDepth10) -> Self

    Converts to this type from the input type.
    source§

    impl From<QuoteTick> for Data

    source§

    fn from(value: QuoteTick) -> Self

    Converts to this type from the input type.
    source§

    impl From<TradeTick> for Data

    source§

    fn from(value: TradeTick) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for Data

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Data

    §

    impl Send for Data

    §

    impl Sync for Data

    §

    impl Unpin for Data

    §

    impl UnwindSafe for Data

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/data/fn.data_clone.html b/nightly/core/nautilus_model/data/fn.data_clone.html index 25db3c272cac..8b0311a7f5fd 100644 --- a/nightly/core/nautilus_model/data/fn.data_clone.html +++ b/nightly/core/nautilus_model/data/fn.data_clone.html @@ -1,3 +1,3 @@ -data_clone in nautilus_model::data - Rust +data_clone in nautilus_model::data - Rust
    #[no_mangle]
     pub extern "C" fn data_clone(data: &Data) -> Data
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/fn.is_monotonically_increasing_by_init.html b/nightly/core/nautilus_model/data/fn.is_monotonically_increasing_by_init.html index 43e4c80511a8..8b957c5eb05b 100644 --- a/nightly/core/nautilus_model/data/fn.is_monotonically_increasing_by_init.html +++ b/nightly/core/nautilus_model/data/fn.is_monotonically_increasing_by_init.html @@ -1,2 +1,2 @@ -is_monotonically_increasing_by_init in nautilus_model::data - Rust +is_monotonically_increasing_by_init in nautilus_model::data - Rust
    pub fn is_monotonically_increasing_by_init<T: HasTsInit>(data: &[T]) -> bool
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/index.html b/nightly/core/nautilus_model/data/index.html index 4d50b6832f65..b82729f16855 100644 --- a/nightly/core/nautilus_model/data/index.html +++ b/nightly/core/nautilus_model/data/index.html @@ -1,2 +1,2 @@ -nautilus_model::data - Rust +nautilus_model::data - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/order/constant.NULL_ORDER.html b/nightly/core/nautilus_model/data/order/constant.NULL_ORDER.html index 19fe82ce32b9..a72186c328b8 100644 --- a/nightly/core/nautilus_model/data/order/constant.NULL_ORDER.html +++ b/nightly/core/nautilus_model/data/order/constant.NULL_ORDER.html @@ -1,2 +1,2 @@ -NULL_ORDER in nautilus_model::data::order - Rust -
    pub const NULL_ORDER: BookOrder;
    \ No newline at end of file +NULL_ORDER in nautilus_model::data::order - Rust +
    pub const NULL_ORDER: BookOrder;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/order/index.html b/nightly/core/nautilus_model/data/order/index.html index 94501f52c96c..ec9a6735c8ae 100644 --- a/nightly/core/nautilus_model/data/order/index.html +++ b/nightly/core/nautilus_model/data/order/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::order - Rust -

    Module nautilus_model::data::order

    source ·

    Modules§

    Structs§

    Constants§

    Type Aliases§

    \ No newline at end of file +nautilus_model::data::order - Rust +

    Module nautilus_model::data::order

    source ·

    Modules§

    Structs§

    Constants§

    Type Aliases§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/order/struct.BookOrder.html b/nightly/core/nautilus_model/data/order/struct.BookOrder.html index bbe26942efe2..2eca69c42ec1 100644 --- a/nightly/core/nautilus_model/data/order/struct.BookOrder.html +++ b/nightly/core/nautilus_model/data/order/struct.BookOrder.html @@ -1,5 +1,5 @@ -BookOrder in nautilus_model::data::order - Rust -
    #[repr(C)]
    pub struct BookOrder { +BookOrder in nautilus_model::data::order - Rust +
    #[repr(C)]
    pub struct BookOrder { pub side: OrderSide, pub price: Price, pub size: Quantity, @@ -9,16 +9,16 @@
    §price: Price

    The order price.

    §size: Quantity

    The order size.

    §order_id: OrderId

    The order ID.

    -

    Implementations§

    source§

    impl BookOrder

    source

    pub fn new(side: OrderSide, price: Price, size: Quantity, order_id: u64) -> Self

    source

    pub fn to_book_price(&self) -> BookPrice

    source

    pub fn exposure(&self) -> f64

    source

    pub fn signed_size(&self) -> f64

    source

    pub fn from_quote_tick(tick: &QuoteTick, side: OrderSide) -> Self

    source

    pub fn from_trade_tick(tick: &TradeTick, side: OrderSide) -> Self

    source§

    impl BookOrder

    source

    pub fn py_as_dict(&self, py: Python<'_>) -> PyResult<Py<PyDict>>

    Return a dictionary representation of the object.

    +

    Implementations§

    source§

    impl BookOrder

    source

    pub fn new(side: OrderSide, price: Price, size: Quantity, order_id: u64) -> Self

    source

    pub fn to_book_price(&self) -> BookPrice

    source

    pub fn exposure(&self) -> f64

    source

    pub fn signed_size(&self) -> f64

    source

    pub fn from_quote_tick(tick: &QuoteTick, side: OrderSide) -> Self

    source

    pub fn from_trade_tick(tick: &TradeTick, side: OrderSide) -> Self

    source§

    impl BookOrder

    source

    pub fn py_as_dict(&self, py: Python<'_>) -> PyResult<Py<PyDict>>

    Return a dictionary representation of the object.

    source

    pub fn py_from_dict(py: Python<'_>, values: Py<PyDict>) -> PyResult<Self>

    Return a new object from the given dictionary representation.

    -

    Trait Implementations§

    source§

    impl Clone for BookOrder

    source§

    fn clone(&self) -> BookOrder

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookOrder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BookOrder

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BookOrder

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BookOrder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BookOrder

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for BookOrder

    source§

    fn clone(&self) -> BookOrder

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookOrder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for BookOrder

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for BookOrder

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for BookOrder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Hash for BookOrder

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for BookOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for BookOrder

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for BookOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for BookOrder

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for BookOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BookOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BookOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BookOrder> for PyClassImplCollector<BookOrder>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BookOrder

    §

    type Holder = Option<PyRef<'py, BookOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BookOrder

    §

    type Holder = Option<PyRefMut<'py, BookOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BookOrder> for PyClassImplCollector<BookOrder>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BookOrder

    §

    type AsRefTarget = PyCell<BookOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BookOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for BookOrder

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for BookOrder

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where - __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BookOrder

    source§

    impl Eq for BookOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl PyClass for BookOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BookOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BookOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BookOrder> for PyClassImplCollector<BookOrder>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BookOrder

    §

    type Holder = Option<PyRef<'py, BookOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BookOrder

    §

    type Holder = Option<PyRefMut<'py, BookOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BookOrder> for PyClassImplCollector<BookOrder>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BookOrder

    §

    type AsRefTarget = PyCell<BookOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BookOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for BookOrder

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for BookOrder

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where + __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for BookOrder

    source§

    impl Eq for BookOrder

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_model/data/order/stubs/fn.stub_book_order.html b/nightly/core/nautilus_model/data/order/stubs/fn.stub_book_order.html index 4c37bc649fdb..243fdac1d5c9 100644 --- a/nightly/core/nautilus_model/data/order/stubs/fn.stub_book_order.html +++ b/nightly/core/nautilus_model/data/order/stubs/fn.stub_book_order.html @@ -1,2 +1,2 @@ -stub_book_order in nautilus_model::data::order::stubs - Rust -
    pub fn stub_book_order() -> BookOrder
    \ No newline at end of file +stub_book_order in nautilus_model::data::order::stubs - Rust +
    pub fn stub_book_order() -> BookOrder
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/order/stubs/index.html b/nightly/core/nautilus_model/data/order/stubs/index.html index 3089af7d1572..0f7893777f0a 100644 --- a/nightly/core/nautilus_model/data/order/stubs/index.html +++ b/nightly/core/nautilus_model/data/order/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::order::stubs - Rust -
    \ No newline at end of file +nautilus_model::data::order::stubs - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/order/stubs/struct.stub_book_order.html b/nightly/core/nautilus_model/data/order/stubs/struct.stub_book_order.html index 5abdbb91fe0c..0dabf4763d6a 100644 --- a/nightly/core/nautilus_model/data/order/stubs/struct.stub_book_order.html +++ b/nightly/core/nautilus_model/data/order/stubs/struct.stub_book_order.html @@ -1,5 +1,5 @@ -stub_book_order in nautilus_model::data::order::stubs - Rust -
    pub struct stub_book_order {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +stub_book_order in nautilus_model::data::order::stubs - Rust +
    pub struct stub_book_order {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/data/order/type.OrderId.html b/nightly/core/nautilus_model/data/order/type.OrderId.html index af830736840d..9a1ea3ae1fad 100644 --- a/nightly/core/nautilus_model/data/order/type.OrderId.html +++ b/nightly/core/nautilus_model/data/order/type.OrderId.html @@ -1,2 +1,2 @@ -OrderId in nautilus_model::data::order - Rust -

    Type Alias nautilus_model::data::order::OrderId

    source ·
    pub type OrderId = u64;
    \ No newline at end of file +OrderId in nautilus_model::data::order - Rust +

    Type Alias nautilus_model::data::order::OrderId

    source ·
    pub type OrderId = u64;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/quote/index.html b/nightly/core/nautilus_model/data/quote/index.html index d5c8ab5ce39b..8ac7744ce64e 100644 --- a/nightly/core/nautilus_model/data/quote/index.html +++ b/nightly/core/nautilus_model/data/quote/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::quote - Rust +nautilus_model::data::quote - Rust

    Module nautilus_model::data::quote

    source ·

    Modules§

    Structs§

    • Represents a single quote tick in a financial market.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/quote/struct.QuoteTick.html b/nightly/core/nautilus_model/data/quote/struct.QuoteTick.html index 1556e0cf720c..3765bfe7a0fb 100644 --- a/nightly/core/nautilus_model/data/quote/struct.QuoteTick.html +++ b/nightly/core/nautilus_model/data/quote/struct.QuoteTick.html @@ -1,4 +1,4 @@ -QuoteTick in nautilus_model::data::quote - Rust +QuoteTick in nautilus_model::data::quote - Rust
    #[repr(C)]
    pub struct QuoteTick { pub instrument_id: InstrumentId, pub bid_price: Price, diff --git a/nightly/core/nautilus_model/data/quote/stubs/fn.quote_tick_ethusdt_binance.html b/nightly/core/nautilus_model/data/quote/stubs/fn.quote_tick_ethusdt_binance.html index 24c845d00f29..3fdc2139a599 100644 --- a/nightly/core/nautilus_model/data/quote/stubs/fn.quote_tick_ethusdt_binance.html +++ b/nightly/core/nautilus_model/data/quote/stubs/fn.quote_tick_ethusdt_binance.html @@ -1,2 +1,2 @@ -quote_tick_ethusdt_binance in nautilus_model::data::quote::stubs - Rust +quote_tick_ethusdt_binance in nautilus_model::data::quote::stubs - Rust
    pub fn quote_tick_ethusdt_binance() -> QuoteTick
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/quote/stubs/index.html b/nightly/core/nautilus_model/data/quote/stubs/index.html index aea32dd68179..0b6ad5c260f1 100644 --- a/nightly/core/nautilus_model/data/quote/stubs/index.html +++ b/nightly/core/nautilus_model/data/quote/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::quote::stubs - Rust +nautilus_model::data::quote::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/quote/stubs/struct.quote_tick_ethusdt_binance.html b/nightly/core/nautilus_model/data/quote/stubs/struct.quote_tick_ethusdt_binance.html index 74aa5de598b8..2f4021c4caaf 100644 --- a/nightly/core/nautilus_model/data/quote/stubs/struct.quote_tick_ethusdt_binance.html +++ b/nightly/core/nautilus_model/data/quote/stubs/struct.quote_tick_ethusdt_binance.html @@ -1,4 +1,4 @@ -quote_tick_ethusdt_binance in nautilus_model::data::quote::stubs - Rust +quote_tick_ethusdt_binance in nautilus_model::data::quote::stubs - Rust
    pub struct quote_tick_ethusdt_binance {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/trade/index.html b/nightly/core/nautilus_model/data/trade/index.html index d5971855eed5..1be686f7bfc9 100644 --- a/nightly/core/nautilus_model/data/trade/index.html +++ b/nightly/core/nautilus_model/data/trade/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::trade - Rust +nautilus_model::data::trade - Rust

    Module nautilus_model::data::trade

    source ·

    Modules§

    Structs§

    • Represents a single trade tick in a financial market.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/trade/struct.TradeTick.html b/nightly/core/nautilus_model/data/trade/struct.TradeTick.html index 9c3bae07f803..e954b75740e5 100644 --- a/nightly/core/nautilus_model/data/trade/struct.TradeTick.html +++ b/nightly/core/nautilus_model/data/trade/struct.TradeTick.html @@ -1,4 +1,4 @@ -TradeTick in nautilus_model::data::trade - Rust +TradeTick in nautilus_model::data::trade - Rust
    #[repr(C)]
    pub struct TradeTick { pub instrument_id: InstrumentId, pub price: Price, @@ -30,13 +30,13 @@ ) -> HashMap<String, String>

    Returns the metadata for the type, for use with serialization formats.

    source

    pub fn get_fields() -> IndexMap<String, String>

    Returns the field map for the type, for use with Arrow schemas.

    source

    pub fn from_pyobject(obj: &PyAny) -> PyResult<Self>

    Create a new TradeTick extracted from the given [PyAny].

    -

    Trait Implementations§

    source§

    impl Clone for TradeTick

    source§

    fn clone(&self) -> TradeTick

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TradeTick

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TradeTick

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TradeTick

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TradeTick> for Data

    source§

    fn from(value: TradeTick) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for TradeTick

    source§

    impl Hash for TradeTick

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl Clone for TradeTick

    source§

    fn clone(&self) -> TradeTick

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TradeTick

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TradeTick

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TradeTick

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<TradeTick> for Data

    source§

    fn from(value: TradeTick) -> Self

    Converts to this type from the input type.
    source§

    impl HasTsInit for TradeTick

    source§

    impl Hash for TradeTick

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for TradeTick

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for TradeTick

    source§

    fn eq(&self, other: &TradeTick) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for TradeTick

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TradeTick

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TradeTick>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradeTick> for PyClassImplCollector<TradeTick>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradeTick

    §

    type Holder = Option<PyRef<'py, TradeTick>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradeTick

    §

    type Holder = Option<PyRefMut<'py, TradeTick>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradeTick> for PyClassImplCollector<TradeTick>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradeTick

    §

    type AsRefTarget = PyCell<TradeTick>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradeTick"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for TradeTick

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for TradeTick

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradeTick> for PyClassImplCollector<TradeTick>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradeTick

    §

    type Holder = Option<PyRef<'py, TradeTick>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradeTick

    §

    type Holder = Option<PyRefMut<'py, TradeTick>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradeTick> for PyClassImplCollector<TradeTick>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradeTick

    §

    type AsRefTarget = PyCell<TradeTick>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradeTick"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serializable for TradeTick

    source§

    fn from_json_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from JSON encoded bytes.
    source§

    fn from_msgpack_bytes(data: Vec<u8>) -> Result<Self, Error>

    Deserialize an object from MsgPack encoded bytes.
    source§

    fn as_json_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to JSON encoded bytes.
    source§

    fn as_msgpack_bytes(&self) -> Result<Vec<u8>, Error>

    Serialize an object to MsgPack encoded bytes.
    source§

    impl Serialize for TradeTick

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TradeTick

    source§

    impl Eq for TradeTick

    source§

    impl StructuralPartialEq for TradeTick

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/trade/stubs/fn.stub_trade_tick_ethusdt_buyer.html b/nightly/core/nautilus_model/data/trade/stubs/fn.stub_trade_tick_ethusdt_buyer.html index e5a664aa504c..c6d077687d9a 100644 --- a/nightly/core/nautilus_model/data/trade/stubs/fn.stub_trade_tick_ethusdt_buyer.html +++ b/nightly/core/nautilus_model/data/trade/stubs/fn.stub_trade_tick_ethusdt_buyer.html @@ -1,2 +1,2 @@ -stub_trade_tick_ethusdt_buyer in nautilus_model::data::trade::stubs - Rust +stub_trade_tick_ethusdt_buyer in nautilus_model::data::trade::stubs - Rust
    pub fn stub_trade_tick_ethusdt_buyer() -> TradeTick
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/trade/stubs/index.html b/nightly/core/nautilus_model/data/trade/stubs/index.html index d554d30b4f96..84140c952c30 100644 --- a/nightly/core/nautilus_model/data/trade/stubs/index.html +++ b/nightly/core/nautilus_model/data/trade/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::data::trade::stubs - Rust +nautilus_model::data::trade::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/data/trade/stubs/struct.stub_trade_tick_ethusdt_buyer.html b/nightly/core/nautilus_model/data/trade/stubs/struct.stub_trade_tick_ethusdt_buyer.html index 5fa26773a773..b32827700d49 100644 --- a/nightly/core/nautilus_model/data/trade/stubs/struct.stub_trade_tick_ethusdt_buyer.html +++ b/nightly/core/nautilus_model/data/trade/stubs/struct.stub_trade_tick_ethusdt_buyer.html @@ -1,4 +1,4 @@ -stub_trade_tick_ethusdt_buyer in nautilus_model::data::trade::stubs - Rust +stub_trade_tick_ethusdt_buyer in nautilus_model::data::trade::stubs - Rust
    pub struct stub_trade_tick_ethusdt_buyer {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/data/trait.HasTsInit.html b/nightly/core/nautilus_model/data/trait.HasTsInit.html index 239fd9f56397..b213abab4a8a 100644 --- a/nightly/core/nautilus_model/data/trait.HasTsInit.html +++ b/nightly/core/nautilus_model/data/trait.HasTsInit.html @@ -1,4 +1,4 @@ -HasTsInit in nautilus_model::data - Rust +HasTsInit in nautilus_model::data - Rust
    pub trait HasTsInit {
         // Required method
         fn get_ts_init(&self) -> UnixNanos;
    diff --git a/nightly/core/nautilus_model/enums/enum.AccountType.html b/nightly/core/nautilus_model/enums/enum.AccountType.html
    index 7ad34d1b36f0..e7b307026aed 100644
    --- a/nightly/core/nautilus_model/enums/enum.AccountType.html
    +++ b/nightly/core/nautilus_model/enums/enum.AccountType.html
    @@ -1,4 +1,4 @@
    -AccountType in nautilus_model::enums - Rust
    +AccountType in nautilus_model::enums - Rust
         
    #[repr(C)]
    pub enum AccountType { Cash = 1, Margin = 2, @@ -8,8 +8,8 @@
    §

    Margin = 2

    An account which facilitates trading on margin, using account assets as collateral.

    §

    Betting = 3

    An account specific to betting markets.

    Implementations§

    source§

    impl AccountType

    source

    pub const fn from_repr(discriminant: usize) -> Option<AccountType>

    Try to create Self from the raw representation

    -
    source§

    impl AccountType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AccountType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AccountType

    source§

    fn clone(&self) -> AccountType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AccountType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AccountType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AccountType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AccountType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl AccountType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AccountType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AccountType

    source§

    fn clone(&self) -> AccountType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AccountType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AccountType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AccountType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AccountType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for AccountType

    source§

    impl IntoPy<Py<PyAny>> for AccountType

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for AccountType

    source§

    fn cmp(&self, other: &AccountType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -19,7 +19,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for AccountType

    source§

    fn partial_cmp(&self, other: &AccountType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for AccountType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AccountType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AccountType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AccountType> for PyClassImplCollector<AccountType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AccountType

    §

    type Holder = Option<PyRef<'py, AccountType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AccountType

    §

    type Holder = Option<PyRefMut<'py, AccountType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AccountType> for PyClassImplCollector<AccountType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AccountType

    §

    type AsRefTarget = PyCell<AccountType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AccountType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AccountType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AccountType> for PyClassImplCollector<AccountType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AccountType

    §

    type Holder = Option<PyRef<'py, AccountType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AccountType

    §

    type Holder = Option<PyRefMut<'py, AccountType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AccountType> for PyClassImplCollector<AccountType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AccountType

    §

    type AsRefTarget = PyCell<AccountType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AccountType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AccountType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for AccountType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<AccountType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for AccountType

    source§

    impl Eq for AccountType

    source§

    impl StructuralPartialEq for AccountType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.AggregationSource.html b/nightly/core/nautilus_model/enums/enum.AggregationSource.html index 0f1bcef52454..7cc88ecfcb53 100644 --- a/nightly/core/nautilus_model/enums/enum.AggregationSource.html +++ b/nightly/core/nautilus_model/enums/enum.AggregationSource.html @@ -1,4 +1,4 @@ -AggregationSource in nautilus_model::enums - Rust +AggregationSource in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum AggregationSource { External = 1, Internal = 2, @@ -6,8 +6,8 @@

    Variants§

    §

    External = 1

    The data is externally aggregated (outside the Nautilus system boundary).

    §

    Internal = 2

    The data is internally aggregated (inside the Nautilus system boundary).

    Implementations§

    source§

    impl AggregationSource

    source

    pub const fn from_repr(discriminant: usize) -> Option<AggregationSource>

    Try to create Self from the raw representation

    -
    source§

    impl AggregationSource

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AggregationSource

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AggregationSource

    source§

    fn clone(&self) -> AggregationSource

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggregationSource

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AggregationSource

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AggregationSource

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AggregationSource

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AggregationSource, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AggregationSource

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl AggregationSource

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AggregationSource

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AggregationSource

    source§

    fn clone(&self) -> AggregationSource

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggregationSource

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AggregationSource

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AggregationSource

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AggregationSource

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AggregationSource, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AggregationSource

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for AggregationSource

    source§

    impl IntoPy<Py<PyAny>> for AggregationSource

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for AggregationSource

    source§

    fn cmp(&self, other: &AggregationSource) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -17,7 +17,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for AggregationSource

    source§

    fn partial_cmp(&self, other: &AggregationSource) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for AggregationSource

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AggregationSource

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AggregationSource>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AggregationSource> for PyClassImplCollector<AggregationSource>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AggregationSource

    §

    type Holder = Option<PyRef<'py, AggregationSource>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AggregationSource

    §

    type Holder = Option<PyRefMut<'py, AggregationSource>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AggregationSource> for PyClassImplCollector<AggregationSource>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AggregationSource

    §

    type AsRefTarget = PyCell<AggregationSource>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AggregationSource"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AggregationSource

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AggregationSource> for PyClassImplCollector<AggregationSource>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AggregationSource

    §

    type Holder = Option<PyRef<'py, AggregationSource>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AggregationSource

    §

    type Holder = Option<PyRefMut<'py, AggregationSource>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AggregationSource> for PyClassImplCollector<AggregationSource>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AggregationSource

    §

    type AsRefTarget = PyCell<AggregationSource>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AggregationSource"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AggregationSource

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for AggregationSource

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from( s: &str ) -> Result<AggregationSource, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for AggregationSource

    source§

    impl Eq for AggregationSource

    source§

    impl StructuralPartialEq for AggregationSource

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.AggressorSide.html b/nightly/core/nautilus_model/enums/enum.AggressorSide.html index 7cd1ee21611d..f32ff5d394c8 100644 --- a/nightly/core/nautilus_model/enums/enum.AggressorSide.html +++ b/nightly/core/nautilus_model/enums/enum.AggressorSide.html @@ -1,4 +1,4 @@ -AggressorSide in nautilus_model::enums - Rust +AggressorSide in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum AggressorSide { NoAggressor = 0, Buyer = 1, @@ -8,8 +8,8 @@
    §

    Buyer = 1

    The BUY order was the aggressor for the trade.

    §

    Seller = 2

    The SELL order was the aggressor for the trade.

    Implementations§

    source§

    impl AggressorSide

    source

    pub const fn from_repr(discriminant: usize) -> Option<AggressorSide>

    Try to create Self from the raw representation

    -
    source§

    impl AggressorSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AggressorSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AggressorSide

    source§

    fn clone(&self) -> AggressorSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggressorSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AggressorSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AggressorSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AggressorSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AggressorSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromU8 for AggressorSide

    source§

    fn from_u8(value: u8) -> Option<Self>

    source§

    impl Hash for AggressorSide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl AggressorSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for AggressorSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for AggressorSide

    source§

    fn clone(&self) -> AggressorSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggressorSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AggressorSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AggressorSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for AggressorSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<AggressorSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromU8 for AggressorSide

    source§

    fn from_u8(value: u8) -> Option<Self>

    source§

    impl Hash for AggressorSide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for AggressorSide

    source§

    impl IntoPy<Py<PyAny>> for AggressorSide

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for AggressorSide

    source§

    fn cmp(&self, other: &AggressorSide) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -19,7 +19,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for AggressorSide

    source§

    fn partial_cmp(&self, other: &AggressorSide) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for AggressorSide

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AggressorSide

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AggressorSide>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AggressorSide> for PyClassImplCollector<AggressorSide>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AggressorSide

    §

    type Holder = Option<PyRef<'py, AggressorSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AggressorSide

    §

    type Holder = Option<PyRefMut<'py, AggressorSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AggressorSide> for PyClassImplCollector<AggressorSide>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AggressorSide

    §

    type AsRefTarget = PyCell<AggressorSide>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AggressorSide"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AggressorSide

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AggressorSide> for PyClassImplCollector<AggressorSide>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AggressorSide

    §

    type Holder = Option<PyRef<'py, AggressorSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AggressorSide

    §

    type Holder = Option<PyRefMut<'py, AggressorSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AggressorSide> for PyClassImplCollector<AggressorSide>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AggressorSide

    §

    type AsRefTarget = PyCell<AggressorSide>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AggressorSide"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AggressorSide

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for AggressorSide

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<AggressorSide, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for AggressorSide

    source§

    impl Eq for AggressorSide

    source§

    impl StructuralPartialEq for AggressorSide

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.AssetClass.html b/nightly/core/nautilus_model/enums/enum.AssetClass.html index 3b76b150b164..07ebdd4aba50 100644 --- a/nightly/core/nautilus_model/enums/enum.AssetClass.html +++ b/nightly/core/nautilus_model/enums/enum.AssetClass.html @@ -1,4 +1,4 @@ -AssetClass in nautilus_model::enums - Rust +AssetClass in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum AssetClass { FX = 1, Equity = 2, @@ -27,7 +27,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for AssetClass

    source§

    fn partial_cmp(&self, other: &AssetClass) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for AssetClass

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AssetClass

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AssetClass>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AssetClass> for PyClassImplCollector<AssetClass>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AssetClass

    §

    type Holder = Option<PyRef<'py, AssetClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AssetClass

    §

    type Holder = Option<PyRefMut<'py, AssetClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AssetClass> for PyClassImplCollector<AssetClass>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AssetClass

    §

    type AsRefTarget = PyCell<AssetClass>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AssetClass"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AssetClass

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AssetClass> for PyClassImplCollector<AssetClass>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AssetClass

    §

    type Holder = Option<PyRef<'py, AssetClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AssetClass

    §

    type Holder = Option<PyRefMut<'py, AssetClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AssetClass> for PyClassImplCollector<AssetClass>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AssetClass

    §

    type AsRefTarget = PyCell<AssetClass>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AssetClass"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AssetClass

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for AssetClass

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<AssetClass, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for AssetClass

    source§

    impl Eq for AssetClass

    source§

    impl StructuralPartialEq for AssetClass

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.BarAggregation.html b/nightly/core/nautilus_model/enums/enum.BarAggregation.html index db7065c1d7db..6498b9e6a4f5 100644 --- a/nightly/core/nautilus_model/enums/enum.BarAggregation.html +++ b/nightly/core/nautilus_model/enums/enum.BarAggregation.html @@ -1,4 +1,4 @@ -BarAggregation in nautilus_model::enums - Rust +BarAggregation in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum BarAggregation {
    Show 16 variants Tick = 1, TickImbalance = 2, diff --git a/nightly/core/nautilus_model/enums/enum.BookAction.html b/nightly/core/nautilus_model/enums/enum.BookAction.html index 8f44f5d6d725..6a4e5fe0749d 100644 --- a/nightly/core/nautilus_model/enums/enum.BookAction.html +++ b/nightly/core/nautilus_model/enums/enum.BookAction.html @@ -1,4 +1,4 @@ -BookAction in nautilus_model::enums - Rust +BookAction in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum BookAction { Add = 1, Update = 2, @@ -21,7 +21,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for BookAction

    source§

    fn partial_cmp(&self, other: &BookAction) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for BookAction

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BookAction

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BookAction>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BookAction> for PyClassImplCollector<BookAction>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BookAction

    §

    type Holder = Option<PyRef<'py, BookAction>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BookAction

    §

    type Holder = Option<PyRefMut<'py, BookAction>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BookAction> for PyClassImplCollector<BookAction>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BookAction

    §

    type AsRefTarget = PyCell<BookAction>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BookAction"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for BookAction

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BookAction> for PyClassImplCollector<BookAction>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BookAction

    §

    type Holder = Option<PyRef<'py, BookAction>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BookAction

    §

    type Holder = Option<PyRefMut<'py, BookAction>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BookAction> for PyClassImplCollector<BookAction>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BookAction

    §

    type AsRefTarget = PyCell<BookAction>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BookAction"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for BookAction

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for BookAction

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<BookAction, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for BookAction

    source§

    impl Eq for BookAction

    source§

    impl StructuralPartialEq for BookAction

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.BookType.html b/nightly/core/nautilus_model/enums/enum.BookType.html index 2550bcedd24d..9e8ba51ca702 100644 --- a/nightly/core/nautilus_model/enums/enum.BookType.html +++ b/nightly/core/nautilus_model/enums/enum.BookType.html @@ -1,4 +1,4 @@ -BookType in nautilus_model::enums - Rust +BookType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum BookType { L1_MBP = 1, L2_MBP = 2, diff --git a/nightly/core/nautilus_model/enums/enum.ContingencyType.html b/nightly/core/nautilus_model/enums/enum.ContingencyType.html index 31ad398e09e5..bbc9ac0eecaf 100644 --- a/nightly/core/nautilus_model/enums/enum.ContingencyType.html +++ b/nightly/core/nautilus_model/enums/enum.ContingencyType.html @@ -1,4 +1,4 @@ -ContingencyType in nautilus_model::enums - Rust +ContingencyType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum ContingencyType { NoContingency = 0, Oco = 1, diff --git a/nightly/core/nautilus_model/enums/enum.CurrencyType.html b/nightly/core/nautilus_model/enums/enum.CurrencyType.html index da1c3bffcc4f..56892d8085f4 100644 --- a/nightly/core/nautilus_model/enums/enum.CurrencyType.html +++ b/nightly/core/nautilus_model/enums/enum.CurrencyType.html @@ -1,4 +1,4 @@ -CurrencyType in nautilus_model::enums - Rust +CurrencyType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum CurrencyType { Crypto = 1, Fiat = 2, diff --git a/nightly/core/nautilus_model/enums/enum.HaltReason.html b/nightly/core/nautilus_model/enums/enum.HaltReason.html index e76e951d7a9e..585d2653f176 100644 --- a/nightly/core/nautilus_model/enums/enum.HaltReason.html +++ b/nightly/core/nautilus_model/enums/enum.HaltReason.html @@ -1,4 +1,4 @@ -HaltReason in nautilus_model::enums - Rust +HaltReason in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum HaltReason { NotHalted = 1, General = 2, @@ -8,7 +8,7 @@
    §

    General = 2

    Trading halt is imposed for purely regulatory reasons with/without volatility halt.

    §

    Volatility = 3

    Trading halt is imposed by the venue to protect against extreme volatility.

    Implementations§

    source§

    impl HaltReason

    source

    pub const fn from_repr(discriminant: usize) -> Option<HaltReason>

    Try to create Self from the raw representation

    -

    Trait Implementations§

    source§

    impl AsRef<str> for HaltReason

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for HaltReason

    source§

    fn clone(&self) -> HaltReason

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HaltReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for HaltReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for HaltReason

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<HaltReason, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for HaltReason

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl AsRef<str> for HaltReason

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for HaltReason

    source§

    fn clone(&self) -> HaltReason

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HaltReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for HaltReason

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for HaltReason

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<HaltReason, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for HaltReason

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for HaltReason

    source§

    impl IntoPy<Py<PyAny>> for HaltReason

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for HaltReason

    source§

    fn cmp(&self, other: &HaltReason) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where diff --git a/nightly/core/nautilus_model/enums/enum.InstrumentClass.html b/nightly/core/nautilus_model/enums/enum.InstrumentClass.html index 574a5c199ba7..cc43342d4041 100644 --- a/nightly/core/nautilus_model/enums/enum.InstrumentClass.html +++ b/nightly/core/nautilus_model/enums/enum.InstrumentClass.html @@ -1,4 +1,4 @@ -InstrumentClass in nautilus_model::enums - Rust +InstrumentClass in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum InstrumentClass { Spot = 1, Swap = 2, @@ -20,8 +20,8 @@
    §

    Warrant = 8

    A warrant instrument class. A derivative that gives the holder the right, but not the obligation, to buy or sell a security—most commonly an equity—at a certain price before expiration.

    §

    SportsBetting = 9

    A warrant instrument class. A derivative that gives the holder the right, but not the obligation, to buy or sell a security—most commonly an equity—at a certain price before expiration.

    Implementations§

    source§

    impl InstrumentClass

    source

    pub const fn from_repr(discriminant: usize) -> Option<InstrumentClass>

    Try to create Self from the raw representation

    -

    Trait Implementations§

    source§

    impl AsRef<str> for InstrumentClass

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for InstrumentClass

    source§

    fn clone(&self) -> InstrumentClass

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentClass

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InstrumentClass

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for InstrumentClass

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for InstrumentClass

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<InstrumentClass, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for InstrumentClass

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Trait Implementations§

    source§

    impl AsRef<str> for InstrumentClass

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for InstrumentClass

    source§

    fn clone(&self) -> InstrumentClass

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentClass

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InstrumentClass

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for InstrumentClass

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for InstrumentClass

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<InstrumentClass, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for InstrumentClass

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for InstrumentClass

    source§

    impl IntoPy<Py<PyAny>> for InstrumentClass

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for InstrumentClass

    source§

    fn cmp(&self, other: &InstrumentClass) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -31,7 +31,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for InstrumentClass

    source§

    fn partial_cmp(&self, other: &InstrumentClass) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for InstrumentClass

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for InstrumentClass

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<InstrumentClass>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a InstrumentClass

    §

    type Holder = Option<PyRef<'py, InstrumentClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut InstrumentClass

    §

    type Holder = Option<PyRefMut<'py, InstrumentClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for InstrumentClass

    §

    type AsRefTarget = PyCell<InstrumentClass>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "InstrumentClass"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for InstrumentClass

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a InstrumentClass

    §

    type Holder = Option<PyRef<'py, InstrumentClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut InstrumentClass

    §

    type Holder = Option<PyRefMut<'py, InstrumentClass>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for InstrumentClass

    §

    type AsRefTarget = PyCell<InstrumentClass>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "InstrumentClass"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for InstrumentClass

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for InstrumentClass

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<InstrumentClass, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for InstrumentClass

    source§

    impl Eq for InstrumentClass

    source§

    impl StructuralPartialEq for InstrumentClass

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.InstrumentCloseType.html b/nightly/core/nautilus_model/enums/enum.InstrumentCloseType.html index 3c5ada6277bc..f1a98a86a421 100644 --- a/nightly/core/nautilus_model/enums/enum.InstrumentCloseType.html +++ b/nightly/core/nautilus_model/enums/enum.InstrumentCloseType.html @@ -1,4 +1,4 @@ -InstrumentCloseType in nautilus_model::enums - Rust +InstrumentCloseType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum InstrumentCloseType { EndOfSession = 1, ContractExpired = 2, @@ -6,8 +6,8 @@

    Variants§

    §

    EndOfSession = 1

    When the market session ended.

    §

    ContractExpired = 2

    When the instrument expiration was reached.

    Implementations§

    source§

    impl InstrumentCloseType

    source

    pub const fn from_repr(discriminant: usize) -> Option<InstrumentCloseType>

    Try to create Self from the raw representation

    -
    source§

    impl InstrumentCloseType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for InstrumentCloseType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for InstrumentCloseType

    source§

    fn clone(&self) -> InstrumentCloseType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentCloseType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InstrumentCloseType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for InstrumentCloseType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for InstrumentCloseType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<InstrumentCloseType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for InstrumentCloseType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl InstrumentCloseType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for InstrumentCloseType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for InstrumentCloseType

    source§

    fn clone(&self) -> InstrumentCloseType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentCloseType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for InstrumentCloseType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for InstrumentCloseType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for InstrumentCloseType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<InstrumentCloseType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for InstrumentCloseType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for InstrumentCloseType

    source§

    impl IntoPy<Py<PyAny>> for InstrumentCloseType

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for InstrumentCloseType

    source§

    fn cmp(&self, other: &InstrumentCloseType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -17,7 +17,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for InstrumentCloseType

    source§

    fn partial_cmp(&self, other: &InstrumentCloseType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for InstrumentCloseType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for InstrumentCloseType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<InstrumentCloseType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<InstrumentCloseType> for PyClassImplCollector<InstrumentCloseType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a InstrumentCloseType

    §

    type Holder = Option<PyRef<'py, InstrumentCloseType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut InstrumentCloseType

    §

    type Holder = Option<PyRefMut<'py, InstrumentCloseType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<InstrumentCloseType> for PyClassImplCollector<InstrumentCloseType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for InstrumentCloseType

    §

    type AsRefTarget = PyCell<InstrumentCloseType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "InstrumentCloseType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for InstrumentCloseType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<InstrumentCloseType> for PyClassImplCollector<InstrumentCloseType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a InstrumentCloseType

    §

    type Holder = Option<PyRef<'py, InstrumentCloseType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut InstrumentCloseType

    §

    type Holder = Option<PyRefMut<'py, InstrumentCloseType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<InstrumentCloseType> for PyClassImplCollector<InstrumentCloseType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for InstrumentCloseType

    §

    type AsRefTarget = PyCell<InstrumentCloseType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "InstrumentCloseType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for InstrumentCloseType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for InstrumentCloseType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from( s: &str ) -> Result<InstrumentCloseType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for InstrumentCloseType

    source§

    impl Eq for InstrumentCloseType

    source§

    impl StructuralPartialEq for InstrumentCloseType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.LiquiditySide.html b/nightly/core/nautilus_model/enums/enum.LiquiditySide.html index 81b4eec4ab4c..a0493444a128 100644 --- a/nightly/core/nautilus_model/enums/enum.LiquiditySide.html +++ b/nightly/core/nautilus_model/enums/enum.LiquiditySide.html @@ -1,4 +1,4 @@ -LiquiditySide in nautilus_model::enums - Rust +LiquiditySide in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum LiquiditySide { NoLiquiditySide = 0, Maker = 1, @@ -8,8 +8,8 @@
    §

    Maker = 1

    The order passively provided liqudity to the market to complete the trade (made a market).

    §

    Taker = 2

    The order aggressively took liqudity from the market to complete the trade.

    Implementations§

    source§

    impl LiquiditySide

    source

    pub const fn from_repr(discriminant: usize) -> Option<LiquiditySide>

    Try to create Self from the raw representation

    -
    source§

    impl LiquiditySide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for LiquiditySide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for LiquiditySide

    source§

    fn clone(&self) -> LiquiditySide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LiquiditySide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for LiquiditySide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for LiquiditySide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for LiquiditySide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<LiquiditySide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for LiquiditySide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl LiquiditySide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for LiquiditySide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for LiquiditySide

    source§

    fn clone(&self) -> LiquiditySide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LiquiditySide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for LiquiditySide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for LiquiditySide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for LiquiditySide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<LiquiditySide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for LiquiditySide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for LiquiditySide

    source§

    impl IntoPy<Py<PyAny>> for LiquiditySide

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for LiquiditySide

    source§

    fn cmp(&self, other: &LiquiditySide) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where diff --git a/nightly/core/nautilus_model/enums/enum.MarketStatus.html b/nightly/core/nautilus_model/enums/enum.MarketStatus.html index 04661af47c19..7cc03fff3d9f 100644 --- a/nightly/core/nautilus_model/enums/enum.MarketStatus.html +++ b/nightly/core/nautilus_model/enums/enum.MarketStatus.html @@ -1,4 +1,4 @@ -MarketStatus in nautilus_model::enums - Rust +MarketStatus in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum MarketStatus { PreOpen = 1, Open = 2, diff --git a/nightly/core/nautilus_model/enums/enum.OmsType.html b/nightly/core/nautilus_model/enums/enum.OmsType.html index ffb770495764..9641e676c473 100644 --- a/nightly/core/nautilus_model/enums/enum.OmsType.html +++ b/nightly/core/nautilus_model/enums/enum.OmsType.html @@ -1,4 +1,4 @@ -OmsType in nautilus_model::enums - Rust +OmsType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum OmsType { Unspecified = 0, Netting = 1, diff --git a/nightly/core/nautilus_model/enums/enum.OptionKind.html b/nightly/core/nautilus_model/enums/enum.OptionKind.html index cc330cabe43e..443371ccf8ef 100644 --- a/nightly/core/nautilus_model/enums/enum.OptionKind.html +++ b/nightly/core/nautilus_model/enums/enum.OptionKind.html @@ -1,4 +1,4 @@ -OptionKind in nautilus_model::enums - Rust +OptionKind in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum OptionKind { Call = 1, Put = 2, @@ -17,7 +17,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for OptionKind

    source§

    fn partial_cmp(&self, other: &OptionKind) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for OptionKind

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OptionKind

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OptionKind>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OptionKind> for PyClassImplCollector<OptionKind>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OptionKind

    §

    type Holder = Option<PyRef<'py, OptionKind>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OptionKind

    §

    type Holder = Option<PyRefMut<'py, OptionKind>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OptionKind> for PyClassImplCollector<OptionKind>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OptionKind

    §

    type AsRefTarget = PyCell<OptionKind>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OptionKind"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OptionKind

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OptionKind> for PyClassImplCollector<OptionKind>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OptionKind

    §

    type Holder = Option<PyRef<'py, OptionKind>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OptionKind

    §

    type Holder = Option<PyRefMut<'py, OptionKind>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OptionKind> for PyClassImplCollector<OptionKind>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OptionKind

    §

    type AsRefTarget = PyCell<OptionKind>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OptionKind"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OptionKind

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for OptionKind

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<OptionKind, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for OptionKind

    source§

    impl Eq for OptionKind

    source§

    impl StructuralPartialEq for OptionKind

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.OrderSide.html b/nightly/core/nautilus_model/enums/enum.OrderSide.html index e8ec5923241a..f0c29c74c8ed 100644 --- a/nightly/core/nautilus_model/enums/enum.OrderSide.html +++ b/nightly/core/nautilus_model/enums/enum.OrderSide.html @@ -1,4 +1,4 @@ -OrderSide in nautilus_model::enums - Rust +OrderSide in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum OrderSide { NoOrderSide = 0, Buy = 1, @@ -8,8 +8,8 @@
    §

    Buy = 1

    The order is a BUY.

    §

    Sell = 2

    The order is a SELL.

    Implementations§

    source§

    impl OrderSide

    source

    pub const fn from_repr(discriminant: usize) -> Option<OrderSide>

    Try to create Self from the raw representation

    -
    source§

    impl OrderSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for OrderSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for OrderSide

    source§

    fn clone(&self) -> OrderSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for OrderSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<OrderSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromU8 for OrderSide

    Convert the given value to an OrderSide.

    +
    source§

    impl OrderSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for OrderSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for OrderSide

    source§

    fn clone(&self) -> OrderSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for OrderSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<OrderSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl FromU8 for OrderSide

    Convert the given value to an OrderSide.

    source§

    fn from_u8(value: u8) -> Option<Self>

    source§

    impl Hash for OrderSide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for OrderSide

    source§

    impl IntoPy<Py<PyAny>> for OrderSide

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for OrderSide

    source§

    fn cmp(&self, other: &OrderSide) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where diff --git a/nightly/core/nautilus_model/enums/enum.OrderStatus.html b/nightly/core/nautilus_model/enums/enum.OrderStatus.html index 32816cca87b8..c5a974fb630b 100644 --- a/nightly/core/nautilus_model/enums/enum.OrderStatus.html +++ b/nightly/core/nautilus_model/enums/enum.OrderStatus.html @@ -1,4 +1,4 @@ -OrderStatus in nautilus_model::enums - Rust +OrderStatus in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum OrderStatus {
    Show 14 variants Initialized = 1, Denied = 2, @@ -55,8 +55,8 @@

    source§

    impl OrderStatus

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    source§

    impl OrderStatus

    source

    pub fn transition( &mut self, event: &OrderEvent -) -> Result<OrderStatus, OrderError>

    Trait Implementations§

    source§

    impl AsRef<str> for OrderStatus

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for OrderStatus

    source§

    fn clone(&self) -> OrderStatus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderStatus

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for OrderStatus

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<OrderStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for OrderStatus

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)

    Trait Implementations§

    source§

    impl AsRef<str> for OrderStatus

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for OrderStatus

    source§

    fn clone(&self) -> OrderStatus

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderStatus

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderStatus

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for OrderStatus

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<OrderStatus, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for OrderStatus

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for OrderStatus

    source§

    impl IntoPy<Py<PyAny>> for OrderStatus

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for OrderStatus

    source§

    fn cmp(&self, other: &OrderStatus) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -66,7 +66,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for OrderStatus

    source§

    fn partial_cmp(&self, other: &OrderStatus) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for OrderStatus

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderStatus

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderStatus>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderStatus> for PyClassImplCollector<OrderStatus>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderStatus

    §

    type Holder = Option<PyRef<'py, OrderStatus>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderStatus

    §

    type Holder = Option<PyRefMut<'py, OrderStatus>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderStatus> for PyClassImplCollector<OrderStatus>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderStatus

    §

    type AsRefTarget = PyCell<OrderStatus>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderStatus"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderStatus

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderStatus> for PyClassImplCollector<OrderStatus>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderStatus

    §

    type Holder = Option<PyRef<'py, OrderStatus>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderStatus

    §

    type Holder = Option<PyRefMut<'py, OrderStatus>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderStatus> for PyClassImplCollector<OrderStatus>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderStatus

    §

    type AsRefTarget = PyCell<OrderStatus>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderStatus"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderStatus

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for OrderStatus

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<OrderStatus, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for OrderStatus

    source§

    impl Eq for OrderStatus

    source§

    impl StructuralPartialEq for OrderStatus

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.OrderType.html b/nightly/core/nautilus_model/enums/enum.OrderType.html index 9cfe40ed5cb8..aaebb78331f6 100644 --- a/nightly/core/nautilus_model/enums/enum.OrderType.html +++ b/nightly/core/nautilus_model/enums/enum.OrderType.html @@ -1,4 +1,4 @@ -OrderType in nautilus_model::enums - Rust +OrderType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum OrderType { Market = 1, Limit = 2, @@ -31,7 +31,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for OrderType

    source§

    fn partial_cmp(&self, other: &OrderType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for OrderType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderType> for PyClassImplCollector<OrderType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderType

    §

    type Holder = Option<PyRef<'py, OrderType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderType

    §

    type Holder = Option<PyRefMut<'py, OrderType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderType> for PyClassImplCollector<OrderType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderType

    §

    type AsRefTarget = PyCell<OrderType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderType> for PyClassImplCollector<OrderType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderType

    §

    type Holder = Option<PyRef<'py, OrderType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderType

    §

    type Holder = Option<PyRefMut<'py, OrderType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderType> for PyClassImplCollector<OrderType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderType

    §

    type AsRefTarget = PyCell<OrderType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for OrderType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<OrderType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for OrderType

    source§

    impl Eq for OrderType

    source§

    impl StructuralPartialEq for OrderType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.PositionSide.html b/nightly/core/nautilus_model/enums/enum.PositionSide.html index 339c3f9884b3..cc01477d23b9 100644 --- a/nightly/core/nautilus_model/enums/enum.PositionSide.html +++ b/nightly/core/nautilus_model/enums/enum.PositionSide.html @@ -1,4 +1,4 @@ -PositionSide in nautilus_model::enums - Rust +PositionSide in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum PositionSide { NoPositionSide = 0, Flat = 1, @@ -10,8 +10,8 @@
    §

    Long = 2

    A long position in the market, typically acquired through one or many BUY orders.

    §

    Short = 3

    A short position in the market, typically acquired through one or many SELL orders.

    Implementations§

    source§

    impl PositionSide

    source

    pub const fn from_repr(discriminant: usize) -> Option<PositionSide>

    Try to create Self from the raw representation

    -
    source§

    impl PositionSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for PositionSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PositionSide

    source§

    fn clone(&self) -> PositionSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PositionSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PositionSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PositionSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for PositionSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<PositionSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PositionSide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl PositionSide

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for PositionSide

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PositionSide

    source§

    fn clone(&self) -> PositionSide

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PositionSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PositionSide

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PositionSide

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for PositionSide

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<PositionSide, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PositionSide

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for PositionSide

    source§

    impl IntoPy<Py<PyAny>> for PositionSide

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for PositionSide

    source§

    fn cmp(&self, other: &PositionSide) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -21,7 +21,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for PositionSide

    source§

    fn partial_cmp(&self, other: &PositionSide) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for PositionSide

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for PositionSide

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<PositionSide>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PositionSide> for PyClassImplCollector<PositionSide>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PositionSide

    §

    type Holder = Option<PyRef<'py, PositionSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PositionSide

    §

    type Holder = Option<PyRefMut<'py, PositionSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PositionSide> for PyClassImplCollector<PositionSide>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PositionSide

    §

    type AsRefTarget = PyCell<PositionSide>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PositionSide"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PositionSide

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PositionSide> for PyClassImplCollector<PositionSide>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PositionSide

    §

    type Holder = Option<PyRef<'py, PositionSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PositionSide

    §

    type Holder = Option<PyRefMut<'py, PositionSide>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PositionSide> for PyClassImplCollector<PositionSide>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PositionSide

    §

    type AsRefTarget = PyCell<PositionSide>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PositionSide"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PositionSide

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for PositionSide

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<PositionSide, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for PositionSide

    source§

    impl Eq for PositionSide

    source§

    impl StructuralPartialEq for PositionSide

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.PriceType.html b/nightly/core/nautilus_model/enums/enum.PriceType.html index 011b12a52917..c0e8aa8e911b 100644 --- a/nightly/core/nautilus_model/enums/enum.PriceType.html +++ b/nightly/core/nautilus_model/enums/enum.PriceType.html @@ -1,4 +1,4 @@ -PriceType in nautilus_model::enums - Rust +PriceType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum PriceType { Bid = 1, Ask = 2, @@ -10,8 +10,8 @@
    §

    Mid = 3

    The midpoint between the bid and ask prices.

    §

    Last = 4

    The last price at which a trade was made for an instrument.

    Implementations§

    source§

    impl PriceType

    source

    pub const fn from_repr(discriminant: usize) -> Option<PriceType>

    Try to create Self from the raw representation

    -
    source§

    impl PriceType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for PriceType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PriceType

    source§

    fn clone(&self) -> PriceType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PriceType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PriceType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PriceType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for PriceType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<PriceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PriceType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl PriceType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for PriceType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for PriceType

    source§

    fn clone(&self) -> PriceType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PriceType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for PriceType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PriceType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for PriceType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<PriceType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PriceType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for PriceType

    source§

    impl IntoPy<Py<PyAny>> for PriceType

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for PriceType

    source§

    fn cmp(&self, other: &PriceType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -21,7 +21,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for PriceType

    source§

    fn partial_cmp(&self, other: &PriceType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for PriceType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for PriceType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<PriceType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PriceType> for PyClassImplCollector<PriceType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PriceType

    §

    type Holder = Option<PyRef<'py, PriceType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PriceType

    §

    type Holder = Option<PyRefMut<'py, PriceType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PriceType> for PyClassImplCollector<PriceType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PriceType

    §

    type AsRefTarget = PyCell<PriceType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PriceType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PriceType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PriceType> for PyClassImplCollector<PriceType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PriceType

    §

    type Holder = Option<PyRef<'py, PriceType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PriceType

    §

    type Holder = Option<PyRefMut<'py, PriceType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PriceType> for PyClassImplCollector<PriceType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PriceType

    §

    type AsRefTarget = PyCell<PriceType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PriceType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PriceType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for PriceType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<PriceType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for PriceType

    source§

    impl Eq for PriceType

    source§

    impl StructuralPartialEq for PriceType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.TimeInForce.html b/nightly/core/nautilus_model/enums/enum.TimeInForce.html index 6c1941d09d5b..386ff89865d2 100644 --- a/nightly/core/nautilus_model/enums/enum.TimeInForce.html +++ b/nightly/core/nautilus_model/enums/enum.TimeInForce.html @@ -1,4 +1,4 @@ -TimeInForce in nautilus_model::enums - Rust +TimeInForce in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum TimeInForce { Gtc = 1, Ioc = 2, @@ -16,8 +16,8 @@
    §

    AtTheOpen = 6

    At the Opening (ATO) - the order is scheduled to be executed at the market’s opening.

    §

    AtTheClose = 7

    At the Closing (ATC) - the order is scheduled to be executed at the market’s closing.

    Implementations§

    source§

    impl TimeInForce

    source

    pub const fn from_repr(discriminant: usize) -> Option<TimeInForce>

    Try to create Self from the raw representation

    -
    source§

    impl TimeInForce

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TimeInForce

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TimeInForce

    source§

    fn clone(&self) -> TimeInForce

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeInForce

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TimeInForce

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TimeInForce

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TimeInForce

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TimeInForce, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TimeInForce

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl TimeInForce

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TimeInForce

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TimeInForce

    source§

    fn clone(&self) -> TimeInForce

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeInForce

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TimeInForce

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TimeInForce

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TimeInForce

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TimeInForce, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TimeInForce

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for TimeInForce

    source§

    impl IntoPy<Py<PyAny>> for TimeInForce

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for TimeInForce

    source§

    fn cmp(&self, other: &TimeInForce) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -27,7 +27,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for TimeInForce

    source§

    fn partial_cmp(&self, other: &TimeInForce) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for TimeInForce

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TimeInForce

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TimeInForce>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TimeInForce> for PyClassImplCollector<TimeInForce>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeInForce

    §

    type Holder = Option<PyRef<'py, TimeInForce>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeInForce

    §

    type Holder = Option<PyRefMut<'py, TimeInForce>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TimeInForce> for PyClassImplCollector<TimeInForce>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TimeInForce

    §

    type AsRefTarget = PyCell<TimeInForce>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TimeInForce"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TimeInForce

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TimeInForce> for PyClassImplCollector<TimeInForce>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TimeInForce

    §

    type Holder = Option<PyRef<'py, TimeInForce>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TimeInForce

    §

    type Holder = Option<PyRefMut<'py, TimeInForce>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TimeInForce> for PyClassImplCollector<TimeInForce>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TimeInForce

    §

    type AsRefTarget = PyCell<TimeInForce>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TimeInForce"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TimeInForce

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for TimeInForce

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<TimeInForce, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for TimeInForce

    source§

    impl Eq for TimeInForce

    source§

    impl StructuralPartialEq for TimeInForce

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.TradingState.html b/nightly/core/nautilus_model/enums/enum.TradingState.html index 2fc0ec45ce26..aa7e38ff503a 100644 --- a/nightly/core/nautilus_model/enums/enum.TradingState.html +++ b/nightly/core/nautilus_model/enums/enum.TradingState.html @@ -1,4 +1,4 @@ -TradingState in nautilus_model::enums - Rust +TradingState in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum TradingState { Active = 1, Halted = 2, @@ -8,8 +8,8 @@
    §

    Halted = 2

    Trading is completely halted, no new order commands will be emitted.

    §

    Reducing = 3

    Only order commands which would cancel order, or reduce position sizes are permitted.

    Implementations§

    source§

    impl TradingState

    source

    pub const fn from_repr(discriminant: usize) -> Option<TradingState>

    Try to create Self from the raw representation

    -
    source§

    impl TradingState

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TradingState

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TradingState

    source§

    fn clone(&self) -> TradingState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TradingState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TradingState

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TradingState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TradingState

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TradingState, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TradingState

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl TradingState

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TradingState

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TradingState

    source§

    fn clone(&self) -> TradingState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TradingState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TradingState

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TradingState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TradingState

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TradingState, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TradingState

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for TradingState

    source§

    impl IntoPy<Py<PyAny>> for TradingState

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for TradingState

    source§

    fn cmp(&self, other: &TradingState) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -19,7 +19,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for TradingState

    source§

    fn partial_cmp(&self, other: &TradingState) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for TradingState

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TradingState

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TradingState>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradingState> for PyClassImplCollector<TradingState>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradingState

    §

    type Holder = Option<PyRef<'py, TradingState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradingState

    §

    type Holder = Option<PyRefMut<'py, TradingState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradingState> for PyClassImplCollector<TradingState>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradingState

    §

    type AsRefTarget = PyCell<TradingState>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradingState"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TradingState

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradingState> for PyClassImplCollector<TradingState>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradingState

    §

    type Holder = Option<PyRef<'py, TradingState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradingState

    §

    type Holder = Option<PyRefMut<'py, TradingState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradingState> for PyClassImplCollector<TradingState>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradingState

    §

    type AsRefTarget = PyCell<TradingState>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradingState"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TradingState

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for TradingState

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<TradingState, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for TradingState

    source§

    impl Eq for TradingState

    source§

    impl StructuralPartialEq for TradingState

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.TrailingOffsetType.html b/nightly/core/nautilus_model/enums/enum.TrailingOffsetType.html index 57c59c40499a..9a8ef1a38315 100644 --- a/nightly/core/nautilus_model/enums/enum.TrailingOffsetType.html +++ b/nightly/core/nautilus_model/enums/enum.TrailingOffsetType.html @@ -1,4 +1,4 @@ -TrailingOffsetType in nautilus_model::enums - Rust +TrailingOffsetType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum TrailingOffsetType { NoTrailingOffset = 0, Price = 1, @@ -12,8 +12,8 @@
    §

    Ticks = 3

    The trailing offset is based on the number of ticks from a market price.

    §

    PriceTier = 4

    The trailing offset is based on a price tier set by a specific trading venue.

    Implementations§

    source§

    impl TrailingOffsetType

    source

    pub const fn from_repr(discriminant: usize) -> Option<TrailingOffsetType>

    Try to create Self from the raw representation

    -
    source§

    impl TrailingOffsetType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TrailingOffsetType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TrailingOffsetType

    source§

    fn clone(&self) -> TrailingOffsetType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TrailingOffsetType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TrailingOffsetType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TrailingOffsetType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TrailingOffsetType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TrailingOffsetType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TrailingOffsetType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl TrailingOffsetType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TrailingOffsetType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TrailingOffsetType

    source§

    fn clone(&self) -> TrailingOffsetType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TrailingOffsetType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TrailingOffsetType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TrailingOffsetType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TrailingOffsetType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TrailingOffsetType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TrailingOffsetType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for TrailingOffsetType

    source§

    impl IntoPy<Py<PyAny>> for TrailingOffsetType

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for TrailingOffsetType

    source§

    fn cmp(&self, other: &TrailingOffsetType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -23,7 +23,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for TrailingOffsetType

    source§

    fn partial_cmp(&self, other: &TrailingOffsetType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for TrailingOffsetType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TrailingOffsetType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TrailingOffsetType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TrailingOffsetType> for PyClassImplCollector<TrailingOffsetType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingOffsetType

    §

    type Holder = Option<PyRef<'py, TrailingOffsetType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingOffsetType

    §

    type Holder = Option<PyRefMut<'py, TrailingOffsetType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TrailingOffsetType> for PyClassImplCollector<TrailingOffsetType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TrailingOffsetType

    §

    type AsRefTarget = PyCell<TrailingOffsetType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TrailingOffsetType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TrailingOffsetType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TrailingOffsetType> for PyClassImplCollector<TrailingOffsetType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingOffsetType

    §

    type Holder = Option<PyRef<'py, TrailingOffsetType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingOffsetType

    §

    type Holder = Option<PyRefMut<'py, TrailingOffsetType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TrailingOffsetType> for PyClassImplCollector<TrailingOffsetType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TrailingOffsetType

    §

    type AsRefTarget = PyCell<TrailingOffsetType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TrailingOffsetType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TrailingOffsetType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for TrailingOffsetType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from( s: &str ) -> Result<TrailingOffsetType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for TrailingOffsetType

    source§

    impl Eq for TrailingOffsetType

    source§

    impl StructuralPartialEq for TrailingOffsetType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where diff --git a/nightly/core/nautilus_model/enums/enum.TriggerType.html b/nightly/core/nautilus_model/enums/enum.TriggerType.html index 875eedd1606d..a27c9b094e3a 100644 --- a/nightly/core/nautilus_model/enums/enum.TriggerType.html +++ b/nightly/core/nautilus_model/enums/enum.TriggerType.html @@ -1,4 +1,4 @@ -TriggerType in nautilus_model::enums - Rust +TriggerType in nautilus_model::enums - Rust
    #[repr(C)]
    pub enum TriggerType { NoTrigger = 0, Default = 1, @@ -22,8 +22,8 @@
    §

    MarkPrice = 8

    Based on the mark price for the instrument.

    §

    IndexPrice = 9

    Based on the index price for the instrument.

    Implementations§

    source§

    impl TriggerType

    source

    pub const fn from_repr(discriminant: usize) -> Option<TriggerType>

    Try to create Self from the raw representation

    -
    source§

    impl TriggerType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TriggerType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TriggerType

    source§

    fn clone(&self) -> TriggerType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TriggerType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TriggerType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TriggerType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TriggerType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TriggerType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TriggerType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    source§

    impl TriggerType

    source

    pub fn name(&self) -> String

    source

    pub fn value(&self) -> u8

    Trait Implementations§

    source§

    impl AsRef<str> for TriggerType

    source§

    fn as_ref(&self) -> &str

    Converts this type into a shared reference of the (usually inferred) input type.
    source§

    impl Clone for TriggerType

    source§

    fn clone(&self) -> TriggerType

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TriggerType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for TriggerType

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TriggerType

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

    Formats the value using the given formatter. Read more
    source§

    impl FromStr for TriggerType

    §

    type Err = ParseError

    The associated error which can be returned from parsing.
    source§

    fn from_str(s: &str) -> Result<TriggerType, <Self as FromStr>::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TriggerType

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoEnumIterator for TriggerType

    source§

    impl IntoPy<Py<PyAny>> for TriggerType

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for TriggerType

    source§

    fn cmp(&self, other: &TriggerType) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -33,7 +33,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for TriggerType

    source§

    fn partial_cmp(&self, other: &TriggerType) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for TriggerType

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TriggerType

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TriggerType>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TriggerType> for PyClassImplCollector<TriggerType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TriggerType

    §

    type Holder = Option<PyRef<'py, TriggerType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TriggerType

    §

    type Holder = Option<PyRefMut<'py, TriggerType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TriggerType> for PyClassImplCollector<TriggerType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TriggerType

    §

    type AsRefTarget = PyCell<TriggerType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TriggerType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TriggerType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TriggerType> for PyClassImplCollector<TriggerType>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TriggerType

    §

    type Holder = Option<PyRef<'py, TriggerType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TriggerType

    §

    type Holder = Option<PyRefMut<'py, TriggerType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TriggerType> for PyClassImplCollector<TriggerType>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TriggerType

    §

    type AsRefTarget = PyCell<TriggerType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TriggerType"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TriggerType

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl TryFrom<&str> for TriggerType

    §

    type Error = ParseError

    The type returned in the event of a conversion error.
    source§

    fn try_from(s: &str) -> Result<TriggerType, <Self as TryFrom<&str>>::Error>

    Performs the conversion.
    source§

    impl Copy for TriggerType

    source§

    impl Eq for TriggerType

    source§

    impl StructuralPartialEq for TriggerType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/enums/index.html b/nightly/core/nautilus_model/enums/index.html index 02829432577c..0aa5f2a49bf2 100644 --- a/nightly/core/nautilus_model/enums/index.html +++ b/nightly/core/nautilus_model/enums/index.html @@ -1,3 +1,3 @@ -nautilus_model::enums - Rust +nautilus_model::enums - Rust

    Module nautilus_model::enums

    source ·
    Expand description

    Defines enumerations for the trading domain model.

    Structs§

    Enums§

    • An account type provided by a trading venue or broker.
    • An aggregation source for derived data.
    • The side for the aggressing order of a trade in a market.
    • A broad financial market asset class.
    • The aggregation method through which a bar is generated and closed.
    • The type of order book action for an order book event.
    • The order book type, representing the type of levels granularity and delta updating heuristics.
    • The order contigency type which specifies the behavior of linked orders.
    • The broad currency type.
    • The reason for a venue or market halt.
    • The asset type for a financial market product.
    • The type of event for an instrument close.
    • The liqudity side for a trade in a financial market.
    • The status of an individual market on a trading venue.
    • The order management system (OMS) type for a trading venue or trading strategy.
    • The kind of options contract.
    • The order side for a specific order, or action related to orders.
    • The status for a specific order.
    • The type of order.
    • The market side for a specific position, or action related to positions.
    • The type of price for an instrument in a financial market.
    • The ‘Time in Force’ instruction for an order in the financial market.
    • The trading state for a node.
    • The trailing offset type for an order type which specifies a trailing stop/trigger or limit price.
    • The trigger type for the stop/trigger price of an order.

    Traits§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/enums/struct.AccountTypeIter.html b/nightly/core/nautilus_model/enums/struct.AccountTypeIter.html index 46f4dd8e12a7..30a3221075d8 100644 --- a/nightly/core/nautilus_model/enums/struct.AccountTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.AccountTypeIter.html @@ -1,4 +1,4 @@ -AccountTypeIter in nautilus_model::enums - Rust +AccountTypeIter in nautilus_model::enums - Rust
    pub struct AccountTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of AccountType

    Trait Implementations§

    source§

    impl Clone for AccountTypeIter

    source§

    fn clone(&self) -> AccountTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for AccountTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.AggregationSourceIter.html b/nightly/core/nautilus_model/enums/struct.AggregationSourceIter.html index 0a362095a66f..2b02060e20ad 100644 --- a/nightly/core/nautilus_model/enums/struct.AggregationSourceIter.html +++ b/nightly/core/nautilus_model/enums/struct.AggregationSourceIter.html @@ -1,4 +1,4 @@ -AggregationSourceIter in nautilus_model::enums - Rust +AggregationSourceIter in nautilus_model::enums - Rust
    pub struct AggregationSourceIter { /* private fields */ }
    Expand description

    An iterator over the variants of AggregationSource

    Trait Implementations§

    source§

    impl Clone for AggregationSourceIter

    source§

    fn clone(&self) -> AggregationSourceIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggregationSourceIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for AggregationSourceIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.AggressorSideIter.html b/nightly/core/nautilus_model/enums/struct.AggressorSideIter.html index 1e5ce6a998b4..30da25f431c9 100644 --- a/nightly/core/nautilus_model/enums/struct.AggressorSideIter.html +++ b/nightly/core/nautilus_model/enums/struct.AggressorSideIter.html @@ -1,4 +1,4 @@ -AggressorSideIter in nautilus_model::enums - Rust +AggressorSideIter in nautilus_model::enums - Rust
    pub struct AggressorSideIter { /* private fields */ }
    Expand description

    An iterator over the variants of AggressorSide

    Trait Implementations§

    source§

    impl Clone for AggressorSideIter

    source§

    fn clone(&self) -> AggressorSideIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AggressorSideIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for AggressorSideIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.AssetClassIter.html b/nightly/core/nautilus_model/enums/struct.AssetClassIter.html index 7b8e88ac24e8..4c0f16f2bfbd 100644 --- a/nightly/core/nautilus_model/enums/struct.AssetClassIter.html +++ b/nightly/core/nautilus_model/enums/struct.AssetClassIter.html @@ -1,4 +1,4 @@ -AssetClassIter in nautilus_model::enums - Rust +AssetClassIter in nautilus_model::enums - Rust
    pub struct AssetClassIter { /* private fields */ }
    Expand description

    An iterator over the variants of AssetClass

    Trait Implementations§

    source§

    impl Clone for AssetClassIter

    source§

    fn clone(&self) -> AssetClassIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AssetClassIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for AssetClassIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.BarAggregationIter.html b/nightly/core/nautilus_model/enums/struct.BarAggregationIter.html index 7b645b0bb3f8..effec77b7014 100644 --- a/nightly/core/nautilus_model/enums/struct.BarAggregationIter.html +++ b/nightly/core/nautilus_model/enums/struct.BarAggregationIter.html @@ -1,4 +1,4 @@ -BarAggregationIter in nautilus_model::enums - Rust +BarAggregationIter in nautilus_model::enums - Rust
    pub struct BarAggregationIter { /* private fields */ }
    Expand description

    An iterator over the variants of BarAggregation

    Trait Implementations§

    source§

    impl Clone for BarAggregationIter

    source§

    fn clone(&self) -> BarAggregationIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BarAggregationIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for BarAggregationIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.BookActionIter.html b/nightly/core/nautilus_model/enums/struct.BookActionIter.html index 6d2d8f8859aa..db63d09e15d2 100644 --- a/nightly/core/nautilus_model/enums/struct.BookActionIter.html +++ b/nightly/core/nautilus_model/enums/struct.BookActionIter.html @@ -1,4 +1,4 @@ -BookActionIter in nautilus_model::enums - Rust +BookActionIter in nautilus_model::enums - Rust
    pub struct BookActionIter { /* private fields */ }
    Expand description

    An iterator over the variants of BookAction

    Trait Implementations§

    source§

    impl Clone for BookActionIter

    source§

    fn clone(&self) -> BookActionIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookActionIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for BookActionIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.BookTypeIter.html b/nightly/core/nautilus_model/enums/struct.BookTypeIter.html index e3c421e4ac4b..059e27cabedc 100644 --- a/nightly/core/nautilus_model/enums/struct.BookTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.BookTypeIter.html @@ -1,4 +1,4 @@ -BookTypeIter in nautilus_model::enums - Rust +BookTypeIter in nautilus_model::enums - Rust
    pub struct BookTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of BookType

    Trait Implementations§

    source§

    impl Clone for BookTypeIter

    source§

    fn clone(&self) -> BookTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for BookTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.ContingencyTypeIter.html b/nightly/core/nautilus_model/enums/struct.ContingencyTypeIter.html index de25f18fb2d9..3e0d7e5e5300 100644 --- a/nightly/core/nautilus_model/enums/struct.ContingencyTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.ContingencyTypeIter.html @@ -1,4 +1,4 @@ -ContingencyTypeIter in nautilus_model::enums - Rust +ContingencyTypeIter in nautilus_model::enums - Rust
    pub struct ContingencyTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of ContingencyType

    Trait Implementations§

    source§

    impl Clone for ContingencyTypeIter

    source§

    fn clone(&self) -> ContingencyTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ContingencyTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for ContingencyTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.CurrencyTypeIter.html b/nightly/core/nautilus_model/enums/struct.CurrencyTypeIter.html index 60dea80e00b4..006c256ae725 100644 --- a/nightly/core/nautilus_model/enums/struct.CurrencyTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.CurrencyTypeIter.html @@ -1,4 +1,4 @@ -CurrencyTypeIter in nautilus_model::enums - Rust +CurrencyTypeIter in nautilus_model::enums - Rust
    pub struct CurrencyTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of CurrencyType

    Trait Implementations§

    source§

    impl Clone for CurrencyTypeIter

    source§

    fn clone(&self) -> CurrencyTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for CurrencyTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for CurrencyTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.HaltReasonIter.html b/nightly/core/nautilus_model/enums/struct.HaltReasonIter.html index 899ab8ceaa1d..5636ca243e5c 100644 --- a/nightly/core/nautilus_model/enums/struct.HaltReasonIter.html +++ b/nightly/core/nautilus_model/enums/struct.HaltReasonIter.html @@ -1,4 +1,4 @@ -HaltReasonIter in nautilus_model::enums - Rust +HaltReasonIter in nautilus_model::enums - Rust
    pub struct HaltReasonIter { /* private fields */ }
    Expand description

    An iterator over the variants of HaltReason

    Trait Implementations§

    source§

    impl Clone for HaltReasonIter

    source§

    fn clone(&self) -> HaltReasonIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HaltReasonIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for HaltReasonIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.InstrumentClassIter.html b/nightly/core/nautilus_model/enums/struct.InstrumentClassIter.html index 9260f66ebdfd..c74cd5a52bd4 100644 --- a/nightly/core/nautilus_model/enums/struct.InstrumentClassIter.html +++ b/nightly/core/nautilus_model/enums/struct.InstrumentClassIter.html @@ -1,4 +1,4 @@ -InstrumentClassIter in nautilus_model::enums - Rust +InstrumentClassIter in nautilus_model::enums - Rust
    pub struct InstrumentClassIter { /* private fields */ }
    Expand description

    An iterator over the variants of InstrumentClass

    Trait Implementations§

    source§

    impl Clone for InstrumentClassIter

    source§

    fn clone(&self) -> InstrumentClassIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentClassIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for InstrumentClassIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.InstrumentCloseTypeIter.html b/nightly/core/nautilus_model/enums/struct.InstrumentCloseTypeIter.html index 13d05d7b1a29..d1e607837ba1 100644 --- a/nightly/core/nautilus_model/enums/struct.InstrumentCloseTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.InstrumentCloseTypeIter.html @@ -1,4 +1,4 @@ -InstrumentCloseTypeIter in nautilus_model::enums - Rust +InstrumentCloseTypeIter in nautilus_model::enums - Rust
    pub struct InstrumentCloseTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of InstrumentCloseType

    Trait Implementations§

    source§

    impl Clone for InstrumentCloseTypeIter

    source§

    fn clone(&self) -> InstrumentCloseTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for InstrumentCloseTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for InstrumentCloseTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.LiquiditySideIter.html b/nightly/core/nautilus_model/enums/struct.LiquiditySideIter.html index cc471c265570..ce0a2ea978a5 100644 --- a/nightly/core/nautilus_model/enums/struct.LiquiditySideIter.html +++ b/nightly/core/nautilus_model/enums/struct.LiquiditySideIter.html @@ -1,4 +1,4 @@ -LiquiditySideIter in nautilus_model::enums - Rust +LiquiditySideIter in nautilus_model::enums - Rust
    pub struct LiquiditySideIter { /* private fields */ }
    Expand description

    An iterator over the variants of LiquiditySide

    Trait Implementations§

    source§

    impl Clone for LiquiditySideIter

    source§

    fn clone(&self) -> LiquiditySideIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for LiquiditySideIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for LiquiditySideIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.MarketStatusIter.html b/nightly/core/nautilus_model/enums/struct.MarketStatusIter.html index 3af8b8c70382..c0942870b806 100644 --- a/nightly/core/nautilus_model/enums/struct.MarketStatusIter.html +++ b/nightly/core/nautilus_model/enums/struct.MarketStatusIter.html @@ -1,4 +1,4 @@ -MarketStatusIter in nautilus_model::enums - Rust +MarketStatusIter in nautilus_model::enums - Rust
    pub struct MarketStatusIter { /* private fields */ }
    Expand description

    An iterator over the variants of MarketStatus

    Trait Implementations§

    source§

    impl Clone for MarketStatusIter

    source§

    fn clone(&self) -> MarketStatusIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MarketStatusIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for MarketStatusIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.OmsTypeIter.html b/nightly/core/nautilus_model/enums/struct.OmsTypeIter.html index 46604dc1d502..c8eb31c7d7d3 100644 --- a/nightly/core/nautilus_model/enums/struct.OmsTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.OmsTypeIter.html @@ -1,4 +1,4 @@ -OmsTypeIter in nautilus_model::enums - Rust +OmsTypeIter in nautilus_model::enums - Rust
    pub struct OmsTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of OmsType

    Trait Implementations§

    source§

    impl Clone for OmsTypeIter

    source§

    fn clone(&self) -> OmsTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OmsTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for OmsTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.OptionKindIter.html b/nightly/core/nautilus_model/enums/struct.OptionKindIter.html index 5102e1e56196..7f0cb769a12e 100644 --- a/nightly/core/nautilus_model/enums/struct.OptionKindIter.html +++ b/nightly/core/nautilus_model/enums/struct.OptionKindIter.html @@ -1,4 +1,4 @@ -OptionKindIter in nautilus_model::enums - Rust +OptionKindIter in nautilus_model::enums - Rust
    pub struct OptionKindIter { /* private fields */ }
    Expand description

    An iterator over the variants of OptionKind

    Trait Implementations§

    source§

    impl Clone for OptionKindIter

    source§

    fn clone(&self) -> OptionKindIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OptionKindIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for OptionKindIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.OrderSideIter.html b/nightly/core/nautilus_model/enums/struct.OrderSideIter.html index ea7fc122e125..deea9b93334a 100644 --- a/nightly/core/nautilus_model/enums/struct.OrderSideIter.html +++ b/nightly/core/nautilus_model/enums/struct.OrderSideIter.html @@ -1,4 +1,4 @@ -OrderSideIter in nautilus_model::enums - Rust +OrderSideIter in nautilus_model::enums - Rust
    pub struct OrderSideIter { /* private fields */ }
    Expand description

    An iterator over the variants of OrderSide

    Trait Implementations§

    source§

    impl Clone for OrderSideIter

    source§

    fn clone(&self) -> OrderSideIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderSideIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for OrderSideIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.OrderStatusIter.html b/nightly/core/nautilus_model/enums/struct.OrderStatusIter.html index 1a502cff0971..60e935ff75c9 100644 --- a/nightly/core/nautilus_model/enums/struct.OrderStatusIter.html +++ b/nightly/core/nautilus_model/enums/struct.OrderStatusIter.html @@ -1,4 +1,4 @@ -OrderStatusIter in nautilus_model::enums - Rust +OrderStatusIter in nautilus_model::enums - Rust
    pub struct OrderStatusIter { /* private fields */ }
    Expand description

    An iterator over the variants of OrderStatus

    Trait Implementations§

    source§

    impl Clone for OrderStatusIter

    source§

    fn clone(&self) -> OrderStatusIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderStatusIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for OrderStatusIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.OrderTypeIter.html b/nightly/core/nautilus_model/enums/struct.OrderTypeIter.html index 8a2d62c5e4d3..96116e408e69 100644 --- a/nightly/core/nautilus_model/enums/struct.OrderTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.OrderTypeIter.html @@ -1,4 +1,4 @@ -OrderTypeIter in nautilus_model::enums - Rust +OrderTypeIter in nautilus_model::enums - Rust
    pub struct OrderTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of OrderType

    Trait Implementations§

    source§

    impl Clone for OrderTypeIter

    source§

    fn clone(&self) -> OrderTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for OrderTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.PositionSideIter.html b/nightly/core/nautilus_model/enums/struct.PositionSideIter.html index 9dbd8b263b0a..aba9e10bb948 100644 --- a/nightly/core/nautilus_model/enums/struct.PositionSideIter.html +++ b/nightly/core/nautilus_model/enums/struct.PositionSideIter.html @@ -1,4 +1,4 @@ -PositionSideIter in nautilus_model::enums - Rust +PositionSideIter in nautilus_model::enums - Rust
    pub struct PositionSideIter { /* private fields */ }
    Expand description

    An iterator over the variants of PositionSide

    Trait Implementations§

    source§

    impl Clone for PositionSideIter

    source§

    fn clone(&self) -> PositionSideIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PositionSideIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for PositionSideIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.PriceTypeIter.html b/nightly/core/nautilus_model/enums/struct.PriceTypeIter.html index 4ae8f08ea529..33b9e496a6eb 100644 --- a/nightly/core/nautilus_model/enums/struct.PriceTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.PriceTypeIter.html @@ -1,4 +1,4 @@ -PriceTypeIter in nautilus_model::enums - Rust +PriceTypeIter in nautilus_model::enums - Rust
    pub struct PriceTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of PriceType

    Trait Implementations§

    source§

    impl Clone for PriceTypeIter

    source§

    fn clone(&self) -> PriceTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PriceTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for PriceTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.TimeInForceIter.html b/nightly/core/nautilus_model/enums/struct.TimeInForceIter.html index 35e6fb6ab457..423ba575ccb5 100644 --- a/nightly/core/nautilus_model/enums/struct.TimeInForceIter.html +++ b/nightly/core/nautilus_model/enums/struct.TimeInForceIter.html @@ -1,4 +1,4 @@ -TimeInForceIter in nautilus_model::enums - Rust +TimeInForceIter in nautilus_model::enums - Rust
    pub struct TimeInForceIter { /* private fields */ }
    Expand description

    An iterator over the variants of TimeInForce

    Trait Implementations§

    source§

    impl Clone for TimeInForceIter

    source§

    fn clone(&self) -> TimeInForceIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TimeInForceIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for TimeInForceIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.TradingStateIter.html b/nightly/core/nautilus_model/enums/struct.TradingStateIter.html index a5d833bf7368..75dc1f15dea3 100644 --- a/nightly/core/nautilus_model/enums/struct.TradingStateIter.html +++ b/nightly/core/nautilus_model/enums/struct.TradingStateIter.html @@ -1,4 +1,4 @@ -TradingStateIter in nautilus_model::enums - Rust +TradingStateIter in nautilus_model::enums - Rust
    pub struct TradingStateIter { /* private fields */ }
    Expand description

    An iterator over the variants of TradingState

    Trait Implementations§

    source§

    impl Clone for TradingStateIter

    source§

    fn clone(&self) -> TradingStateIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TradingStateIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for TradingStateIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.TrailingOffsetTypeIter.html b/nightly/core/nautilus_model/enums/struct.TrailingOffsetTypeIter.html index 0b700934f14b..21198fd4fd93 100644 --- a/nightly/core/nautilus_model/enums/struct.TrailingOffsetTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.TrailingOffsetTypeIter.html @@ -1,4 +1,4 @@ -TrailingOffsetTypeIter in nautilus_model::enums - Rust +TrailingOffsetTypeIter in nautilus_model::enums - Rust
    pub struct TrailingOffsetTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of TrailingOffsetType

    Trait Implementations§

    source§

    impl Clone for TrailingOffsetTypeIter

    source§

    fn clone(&self) -> TrailingOffsetTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TrailingOffsetTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for TrailingOffsetTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/struct.TriggerTypeIter.html b/nightly/core/nautilus_model/enums/struct.TriggerTypeIter.html index f6129cde271e..c2089481b717 100644 --- a/nightly/core/nautilus_model/enums/struct.TriggerTypeIter.html +++ b/nightly/core/nautilus_model/enums/struct.TriggerTypeIter.html @@ -1,4 +1,4 @@ -TriggerTypeIter in nautilus_model::enums - Rust +TriggerTypeIter in nautilus_model::enums - Rust
    pub struct TriggerTypeIter { /* private fields */ }
    Expand description

    An iterator over the variants of TriggerType

    Trait Implementations§

    source§

    impl Clone for TriggerTypeIter

    source§

    fn clone(&self) -> TriggerTypeIter

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TriggerTypeIter

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl DoubleEndedIterator for TriggerTypeIter

    source§

    fn next_back(&mut self) -> Option<<Self as Iterator>::Item>

    Removes and returns an element from the end of the iterator. Read more
    source§

    fn advance_back_by(&mut self, n: usize) -> Result<(), NonZero<usize>>

    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator from the back by n elements. Read more
    1.37.0 · source§

    fn nth_back(&mut self, n: usize) -> Option<Self::Item>

    Returns the nth element from the end of the iterator. Read more
    1.27.0 · source§

    fn try_rfold<B, F, R>(&mut self, init: B, f: F) -> R
    where Self: Sized, diff --git a/nightly/core/nautilus_model/enums/trait.FromU8.html b/nightly/core/nautilus_model/enums/trait.FromU8.html index 2651bc5a508e..d2729a33ec0f 100644 --- a/nightly/core/nautilus_model/enums/trait.FromU8.html +++ b/nightly/core/nautilus_model/enums/trait.FromU8.html @@ -1,4 +1,4 @@ -FromU8 in nautilus_model::enums - Rust +FromU8 in nautilus_model::enums - Rust
    pub trait FromU8 {
         // Required method
         fn from_u8(value: u8) -> Option<Self>
    diff --git a/nightly/core/nautilus_model/events/account/index.html b/nightly/core/nautilus_model/events/account/index.html
    index ed6f4478cbe9..f1ebd3af2115 100644
    --- a/nightly/core/nautilus_model/events/account/index.html
    +++ b/nightly/core/nautilus_model/events/account/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::events::account - Rust
    +nautilus_model::events::account - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/state/index.html b/nightly/core/nautilus_model/events/account/state/index.html index 9e9ddf2304d6..3fa9ef1e7d00 100644 --- a/nightly/core/nautilus_model/events/account/state/index.html +++ b/nightly/core/nautilus_model/events/account/state/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::account::state - Rust +nautilus_model::events::account::state - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/state/struct.AccountState.html b/nightly/core/nautilus_model/events/account/state/struct.AccountState.html index 3b62e867320f..64bf08d6ce58 100644 --- a/nightly/core/nautilus_model/events/account/state/struct.AccountState.html +++ b/nightly/core/nautilus_model/events/account/state/struct.AccountState.html @@ -1,4 +1,4 @@ -AccountState in nautilus_model::events::account::state - Rust +AccountState in nautilus_model::events::account::state - Rust
    #[repr(C)]
    pub struct AccountState { pub account_id: AccountId, pub account_type: AccountType, @@ -19,8 +19,8 @@ ts_event: UnixNanos, ts_init: UnixNanos, base_currency: Option<Currency> -) -> Result<AccountState>

    Trait Implementations§

    source§

    impl Clone for AccountState

    source§

    fn clone(&self) -> AccountState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AccountState

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for AccountState

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for AccountState

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<AccountState>

    Trait Implementations§

    source§

    impl Clone for AccountState

    source§

    fn clone(&self) -> AccountState

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for AccountState

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountState

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for AccountState

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for AccountState

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for AccountState

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for AccountState

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<AccountState>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<AccountState> for PyClassImplCollector<AccountState>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a AccountState

    §

    type Holder = Option<PyRef<'py, AccountState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut AccountState

    §

    type Holder = Option<PyRefMut<'py, AccountState>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<AccountState> for PyClassImplCollector<AccountState>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for AccountState

    §

    type AsRefTarget = PyCell<AccountState>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "AccountState"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for AccountState

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state.html b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state.html index ed835607d2f7..563f93de959f 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state.html @@ -1,2 +1,2 @@ -cash_account_state in nautilus_model::events::account::stubs - Rust +cash_account_state in nautilus_model::events::account::stubs - Rust
    pub fn cash_account_state() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usd.html b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usd.html index 63f13cdad099..56cbcb537d6d 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usd.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usd.html @@ -1,2 +1,2 @@ -cash_account_state_million_usd in nautilus_model::events::account::stubs - Rust +cash_account_state_million_usd in nautilus_model::events::account::stubs - Rust
    pub fn cash_account_state_million_usd() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usdt.html b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usdt.html index e038b8ed5093..d9653a7a00f6 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usdt.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_million_usdt.html @@ -1,2 +1,2 @@ -cash_account_state_million_usdt in nautilus_model::events::account::stubs - Rust +cash_account_state_million_usdt in nautilus_model::events::account::stubs - Rust
    pub fn cash_account_state_million_usdt() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi.html b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi.html index 9f070b08eb49..9ce18f1c3d44 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi.html @@ -1,2 +1,2 @@ -cash_account_state_multi in nautilus_model::events::account::stubs - Rust +cash_account_state_multi in nautilus_model::events::account::stubs - Rust
    pub fn cash_account_state_multi() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi_changed_btc.html b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi_changed_btc.html index 5430a44bca82..3ce645c0cade 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi_changed_btc.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.cash_account_state_multi_changed_btc.html @@ -1,2 +1,2 @@ -cash_account_state_multi_changed_btc in nautilus_model::events::account::stubs - Rust +cash_account_state_multi_changed_btc in nautilus_model::events::account::stubs - Rust
    pub fn cash_account_state_multi_changed_btc() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/fn.margin_account_state.html b/nightly/core/nautilus_model/events/account/stubs/fn.margin_account_state.html index 0403fba0d3f4..7f9f30554f79 100644 --- a/nightly/core/nautilus_model/events/account/stubs/fn.margin_account_state.html +++ b/nightly/core/nautilus_model/events/account/stubs/fn.margin_account_state.html @@ -1,2 +1,2 @@ -margin_account_state in nautilus_model::events::account::stubs - Rust +margin_account_state in nautilus_model::events::account::stubs - Rust
    pub fn margin_account_state() -> AccountState
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/index.html b/nightly/core/nautilus_model/events/account/stubs/index.html index a61b52617de8..ebe230a7bd76 100644 --- a/nightly/core/nautilus_model/events/account/stubs/index.html +++ b/nightly/core/nautilus_model/events/account/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::account::stubs - Rust +nautilus_model::events::account::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state.html b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state.html index 7ea2ae114df5..bc639c920df3 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state.html @@ -1,4 +1,4 @@ -cash_account_state in nautilus_model::events::account::stubs - Rust +cash_account_state in nautilus_model::events::account::stubs - Rust
    pub struct cash_account_state {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usd.html b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usd.html index 4b473f7bb3aa..cd1ae6b8f600 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usd.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usd.html @@ -1,4 +1,4 @@ -cash_account_state_million_usd in nautilus_model::events::account::stubs - Rust +cash_account_state_million_usd in nautilus_model::events::account::stubs - Rust
    pub struct cash_account_state_million_usd {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usdt.html b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usdt.html index 2b2fbdcbed22..6ca5b07326ef 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usdt.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_million_usdt.html @@ -1,4 +1,4 @@ -cash_account_state_million_usdt in nautilus_model::events::account::stubs - Rust +cash_account_state_million_usdt in nautilus_model::events::account::stubs - Rust
    pub struct cash_account_state_million_usdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi.html b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi.html index 44b168404743..80c6dd1d2124 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi.html @@ -1,4 +1,4 @@ -cash_account_state_multi in nautilus_model::events::account::stubs - Rust +cash_account_state_multi in nautilus_model::events::account::stubs - Rust
    pub struct cash_account_state_multi {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi_changed_btc.html b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi_changed_btc.html index c849c59563ed..18f39b56dc9c 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi_changed_btc.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.cash_account_state_multi_changed_btc.html @@ -1,4 +1,4 @@ -cash_account_state_multi_changed_btc in nautilus_model::events::account::stubs - Rust +cash_account_state_multi_changed_btc in nautilus_model::events::account::stubs - Rust
    pub struct cash_account_state_multi_changed_btc {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/account/stubs/struct.margin_account_state.html b/nightly/core/nautilus_model/events/account/stubs/struct.margin_account_state.html index bcec81097f50..9132fb90384a 100644 --- a/nightly/core/nautilus_model/events/account/stubs/struct.margin_account_state.html +++ b/nightly/core/nautilus_model/events/account/stubs/struct.margin_account_state.html @@ -1,4 +1,4 @@ -margin_account_state in nautilus_model::events::account::stubs - Rust +margin_account_state in nautilus_model::events::account::stubs - Rust
    pub struct margin_account_state {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/index.html b/nightly/core/nautilus_model/events/index.html index 2fec166ac6da..3c01f80028f6 100644 --- a/nightly/core/nautilus_model/events/index.html +++ b/nightly/core/nautilus_model/events/index.html @@ -1,2 +1,2 @@ -nautilus_model::events - Rust +nautilus_model::events - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/accepted/enum.OrderAcceptedBuilderError.html b/nightly/core/nautilus_model/events/order/accepted/enum.OrderAcceptedBuilderError.html index 7f88584041dc..8becf0dd3556 100644 --- a/nightly/core/nautilus_model/events/order/accepted/enum.OrderAcceptedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/accepted/enum.OrderAcceptedBuilderError.html @@ -1,11 +1,11 @@ -OrderAcceptedBuilderError in nautilus_model::events::order::accepted - Rust +OrderAcceptedBuilderError in nautilus_model::events::order::accepted - Rust
    #[non_exhaustive]
    pub enum OrderAcceptedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderAcceptedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderAcceptedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderAcceptedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderAcceptedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderAcceptedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderAcceptedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderAcceptedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderAcceptedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderAcceptedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderAcceptedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderAcceptedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/accepted/index.html b/nightly/core/nautilus_model/events/order/accepted/index.html index 06ce78c11373..3748e8e8ce6b 100644 --- a/nightly/core/nautilus_model/events/order/accepted/index.html +++ b/nightly/core/nautilus_model/events/order/accepted/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::accepted - Rust +nautilus_model::events::order::accepted - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/accepted/struct.OrderAccepted.html b/nightly/core/nautilus_model/events/order/accepted/struct.OrderAccepted.html index 3e9243770813..f7c30023c577 100644 --- a/nightly/core/nautilus_model/events/order/accepted/struct.OrderAccepted.html +++ b/nightly/core/nautilus_model/events/order/accepted/struct.OrderAccepted.html @@ -1,4 +1,4 @@ -OrderAccepted in nautilus_model::events::order::accepted - Rust +OrderAccepted in nautilus_model::events::order::accepted - Rust
    #[repr(C)]
    pub struct OrderAccepted { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -21,8 +21,8 @@ ts_event: UnixNanos, ts_init: UnixNanos, reconciliation: bool -) -> Result<OrderAccepted>

    Trait Implementations§

    source§

    impl Clone for OrderAccepted

    source§

    fn clone(&self) -> OrderAccepted

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderAccepted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderAccepted

    source§

    fn default() -> OrderAccepted

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderAccepted

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderAccepted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderAccepted

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderAccepted

    source§

    fn eq(&self, other: &OrderAccepted) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderAccepted>

    Trait Implementations§

    source§

    impl Clone for OrderAccepted

    source§

    fn clone(&self) -> OrderAccepted

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderAccepted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderAccepted

    source§

    fn default() -> OrderAccepted

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderAccepted

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderAccepted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderAccepted

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderAccepted

    source§

    fn eq(&self, other: &OrderAccepted) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderAccepted

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderAccepted

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderAccepted>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderAccepted> for PyClassImplCollector<OrderAccepted>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderAccepted

    §

    type Holder = Option<PyRef<'py, OrderAccepted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderAccepted

    §

    type Holder = Option<PyRefMut<'py, OrderAccepted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderAccepted> for PyClassImplCollector<OrderAccepted>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderAccepted

    §

    type AsRefTarget = PyCell<OrderAccepted>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderAccepted"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderAccepted

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/nightly/core/nautilus_model/events/order/accepted/struct.OrderAcceptedBuilder.html b/nightly/core/nautilus_model/events/order/accepted/struct.OrderAcceptedBuilder.html index 82424b0efc82..8df8b59f6d27 100644 --- a/nightly/core/nautilus_model/events/order/accepted/struct.OrderAcceptedBuilder.html +++ b/nightly/core/nautilus_model/events/order/accepted/struct.OrderAcceptedBuilder.html @@ -1,4 +1,4 @@ -OrderAcceptedBuilder in nautilus_model::events::order::accepted - Rust +OrderAcceptedBuilder in nautilus_model::events::order::accepted - Rust
    pub struct OrderAcceptedBuilder { /* private fields */ }
    Expand description

    Builder for OrderAccepted.

    Implementations§

    source§

    impl OrderAcceptedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: VenueOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderAccepted, OrderAcceptedBuilderError>

    Builds a new OrderAccepted.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/cancel_rejected/enum.OrderCancelRejectedBuilderError.html b/nightly/core/nautilus_model/events/order/cancel_rejected/enum.OrderCancelRejectedBuilderError.html index 4b9e06f91a5c..2a15d72fef84 100644 --- a/nightly/core/nautilus_model/events/order/cancel_rejected/enum.OrderCancelRejectedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/cancel_rejected/enum.OrderCancelRejectedBuilderError.html @@ -1,11 +1,11 @@ -OrderCancelRejectedBuilderError in nautilus_model::events::order::cancel_rejected - Rust +OrderCancelRejectedBuilderError in nautilus_model::events::order::cancel_rejected - Rust
    #[non_exhaustive]
    pub enum OrderCancelRejectedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderCancelRejectedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderCancelRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderCancelRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderCancelRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderCancelRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderCancelRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderCancelRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderCancelRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderCancelRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderCancelRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderCancelRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/cancel_rejected/index.html b/nightly/core/nautilus_model/events/order/cancel_rejected/index.html index aa05507a60b7..4305cd5440da 100644 --- a/nightly/core/nautilus_model/events/order/cancel_rejected/index.html +++ b/nightly/core/nautilus_model/events/order/cancel_rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::cancel_rejected - Rust +nautilus_model::events::order::cancel_rejected - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejected.html b/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejected.html index d6ab47fe54ee..8df8d0d8be53 100644 --- a/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejected.html +++ b/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejected.html @@ -1,4 +1,4 @@ -OrderCancelRejected in nautilus_model::events::order::cancel_rejected - Rust +OrderCancelRejected in nautilus_model::events::order::cancel_rejected - Rust
    #[repr(C)]
    pub struct OrderCancelRejected { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -23,11 +23,11 @@ reconciliation: bool, venue_order_id: Option<VenueOrderId>, account_id: Option<AccountId> -) -> Result<OrderCancelRejected>

    Trait Implementations§

    source§

    impl Clone for OrderCancelRejected

    source§

    fn clone(&self) -> OrderCancelRejected

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderCancelRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderCancelRejected

    source§

    fn default() -> OrderCancelRejected

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderCancelRejected

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderCancelRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderCancelRejected

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderCancelRejected

    source§

    fn eq(&self, other: &OrderCancelRejected) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderCancelRejected>

    Trait Implementations§

    source§

    impl Clone for OrderCancelRejected

    source§

    fn clone(&self) -> OrderCancelRejected

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderCancelRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderCancelRejected

    source§

    fn default() -> OrderCancelRejected

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderCancelRejected

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderCancelRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderCancelRejected

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderCancelRejected

    source§

    fn eq(&self, other: &OrderCancelRejected) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderCancelRejected

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderCancelRejected

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderCancelRejected>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderCancelRejected> for PyClassImplCollector<OrderCancelRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderCancelRejected

    §

    type Holder = Option<PyRef<'py, OrderCancelRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderCancelRejected

    §

    type Holder = Option<PyRefMut<'py, OrderCancelRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderCancelRejected> for PyClassImplCollector<OrderCancelRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderCancelRejected

    §

    type AsRefTarget = PyCell<OrderCancelRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderCancelRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderCancelRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderCancelRejected> for PyClassImplCollector<OrderCancelRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderCancelRejected

    §

    type Holder = Option<PyRef<'py, OrderCancelRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderCancelRejected

    §

    type Holder = Option<PyRefMut<'py, OrderCancelRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderCancelRejected> for PyClassImplCollector<OrderCancelRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderCancelRejected

    §

    type AsRefTarget = PyCell<OrderCancelRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderCancelRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderCancelRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderCancelRejected

    source§

    impl Eq for OrderCancelRejected

    source§

    impl StructuralPartialEq for OrderCancelRejected

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejectedBuilder.html b/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejectedBuilder.html index da04df01d99d..04ebfaf5b6b6 100644 --- a/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejectedBuilder.html +++ b/nightly/core/nautilus_model/events/order/cancel_rejected/struct.OrderCancelRejectedBuilder.html @@ -1,4 +1,4 @@ -OrderCancelRejectedBuilder in nautilus_model::events::order::cancel_rejected - Rust +OrderCancelRejectedBuilder in nautilus_model::events::order::cancel_rejected - Rust
    pub struct OrderCancelRejectedBuilder { /* private fields */ }
    Expand description

    Builder for OrderCancelRejected.

    Implementations§

    source§

    impl OrderCancelRejectedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn reason(&mut self, value: Ustr) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn build( &self diff --git a/nightly/core/nautilus_model/events/order/canceled/enum.OrderCanceledBuilderError.html b/nightly/core/nautilus_model/events/order/canceled/enum.OrderCanceledBuilderError.html index d541e7389aa1..6aadf6d9d37b 100644 --- a/nightly/core/nautilus_model/events/order/canceled/enum.OrderCanceledBuilderError.html +++ b/nightly/core/nautilus_model/events/order/canceled/enum.OrderCanceledBuilderError.html @@ -1,4 +1,4 @@ -OrderCanceledBuilderError in nautilus_model::events::order::canceled - Rust +OrderCanceledBuilderError in nautilus_model::events::order::canceled - Rust
    #[non_exhaustive]
    pub enum OrderCanceledBuilderError { UninitializedField(&'static str), ValidationError(String), diff --git a/nightly/core/nautilus_model/events/order/canceled/index.html b/nightly/core/nautilus_model/events/order/canceled/index.html index 7a48f39c91ff..48f2ecf0dc8d 100644 --- a/nightly/core/nautilus_model/events/order/canceled/index.html +++ b/nightly/core/nautilus_model/events/order/canceled/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::canceled - Rust +nautilus_model::events::order::canceled - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceled.html b/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceled.html index ab33e6dbb4ce..425b9630c9ca 100644 --- a/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceled.html +++ b/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceled.html @@ -1,4 +1,4 @@ -OrderCanceled in nautilus_model::events::order::canceled - Rust +OrderCanceled in nautilus_model::events::order::canceled - Rust
    #[repr(C)]
    pub struct OrderCanceled { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -21,8 +21,8 @@ reconciliation: bool, venue_order_id: Option<VenueOrderId>, account_id: Option<AccountId> -) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderCanceled

    source§

    fn clone(&self) -> OrderCanceled

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderCanceled

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderCanceled

    source§

    fn default() -> OrderCanceled

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderCanceled

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderCanceled

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderCanceled

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderCanceled

    source§

    fn eq(&self, other: &OrderCanceled) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderCanceled

    source§

    fn clone(&self) -> OrderCanceled

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderCanceled

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderCanceled

    source§

    fn default() -> OrderCanceled

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderCanceled

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderCanceled

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderCanceled

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderCanceled

    source§

    fn eq(&self, other: &OrderCanceled) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderCanceled

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderCanceled

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderCanceled>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderCanceled> for PyClassImplCollector<OrderCanceled>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderCanceled

    §

    type Holder = Option<PyRef<'py, OrderCanceled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderCanceled

    §

    type Holder = Option<PyRefMut<'py, OrderCanceled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderCanceled> for PyClassImplCollector<OrderCanceled>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderCanceled

    §

    type AsRefTarget = PyCell<OrderCanceled>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderCanceled"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderCanceled

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceledBuilder.html b/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceledBuilder.html index fea3e41ee711..648e64713bf2 100644 --- a/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceledBuilder.html +++ b/nightly/core/nautilus_model/events/order/canceled/struct.OrderCanceledBuilder.html @@ -1,4 +1,4 @@ -OrderCanceledBuilder in nautilus_model::events::order::canceled - Rust +OrderCanceledBuilder in nautilus_model::events::order::canceled - Rust
    pub struct OrderCanceledBuilder { /* private fields */ }
    Expand description

    Builder for OrderCanceled.

    Implementations§

    source§

    impl OrderCanceledBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderCanceled, OrderCanceledBuilderError>

    Builds a new OrderCanceled.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/denied/enum.OrderDeniedBuilderError.html b/nightly/core/nautilus_model/events/order/denied/enum.OrderDeniedBuilderError.html index b484a48a50b3..3bfc7d56edfe 100644 --- a/nightly/core/nautilus_model/events/order/denied/enum.OrderDeniedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/denied/enum.OrderDeniedBuilderError.html @@ -1,11 +1,11 @@ -OrderDeniedBuilderError in nautilus_model::events::order::denied - Rust +OrderDeniedBuilderError in nautilus_model::events::order::denied - Rust
    #[non_exhaustive]
    pub enum OrderDeniedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderDeniedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderDeniedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderDeniedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderDeniedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderDeniedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderDeniedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderDeniedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderDeniedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderDeniedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderDeniedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderDeniedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/denied/index.html b/nightly/core/nautilus_model/events/order/denied/index.html index 4b5160e0107c..d6346b3bcb90 100644 --- a/nightly/core/nautilus_model/events/order/denied/index.html +++ b/nightly/core/nautilus_model/events/order/denied/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::denied - Rust +nautilus_model::events::order::denied - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/denied/struct.OrderDenied.html b/nightly/core/nautilus_model/events/order/denied/struct.OrderDenied.html index 9ccdb436d7c3..6222bee69655 100644 --- a/nightly/core/nautilus_model/events/order/denied/struct.OrderDenied.html +++ b/nightly/core/nautilus_model/events/order/denied/struct.OrderDenied.html @@ -1,4 +1,4 @@ -OrderDenied in nautilus_model::events::order::denied - Rust +OrderDenied in nautilus_model::events::order::denied - Rust
    #[repr(C)]
    pub struct OrderDenied { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -17,11 +17,11 @@ event_id: UUID4, ts_event: UnixNanos, ts_init: UnixNanos -) -> Result<OrderDenied>

    Trait Implementations§

    source§

    impl Clone for OrderDenied

    source§

    fn clone(&self) -> OrderDenied

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderDenied

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderDenied

    source§

    fn default() -> OrderDenied

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderDenied

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderDenied

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderDenied

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderDenied

    source§

    fn eq(&self, other: &OrderDenied) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderDenied>

    Trait Implementations§

    source§

    impl Clone for OrderDenied

    source§

    fn clone(&self) -> OrderDenied

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderDenied

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderDenied

    source§

    fn default() -> OrderDenied

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderDenied

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderDenied

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderDenied

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderDenied

    source§

    fn eq(&self, other: &OrderDenied) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderDenied

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderDenied

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderDenied>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderDenied> for PyClassImplCollector<OrderDenied>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderDenied

    §

    type Holder = Option<PyRef<'py, OrderDenied>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderDenied

    §

    type Holder = Option<PyRefMut<'py, OrderDenied>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderDenied> for PyClassImplCollector<OrderDenied>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderDenied

    §

    type AsRefTarget = PyCell<OrderDenied>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderDenied"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderDenied

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderDenied> for PyClassImplCollector<OrderDenied>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderDenied

    §

    type Holder = Option<PyRef<'py, OrderDenied>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderDenied

    §

    type Holder = Option<PyRefMut<'py, OrderDenied>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderDenied> for PyClassImplCollector<OrderDenied>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderDenied

    §

    type AsRefTarget = PyCell<OrderDenied>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderDenied"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderDenied

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderDenied

    source§

    impl Eq for OrderDenied

    source§

    impl StructuralPartialEq for OrderDenied

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/denied/struct.OrderDeniedBuilder.html b/nightly/core/nautilus_model/events/order/denied/struct.OrderDeniedBuilder.html index f8897658071d..b5411faf69ef 100644 --- a/nightly/core/nautilus_model/events/order/denied/struct.OrderDeniedBuilder.html +++ b/nightly/core/nautilus_model/events/order/denied/struct.OrderDeniedBuilder.html @@ -1,4 +1,4 @@ -OrderDeniedBuilder in nautilus_model::events::order::denied - Rust +OrderDeniedBuilder in nautilus_model::events::order::denied - Rust
    pub struct OrderDeniedBuilder { /* private fields */ }
    Expand description

    Builder for OrderDenied.

    Implementations§

    source§

    impl OrderDeniedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn reason(&mut self, value: Ustr) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderDenied, OrderDeniedBuilderError>

    Builds a new OrderDenied.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/emulated/enum.OrderEmulatedBuilderError.html b/nightly/core/nautilus_model/events/order/emulated/enum.OrderEmulatedBuilderError.html index a481174588f6..f675a847812b 100644 --- a/nightly/core/nautilus_model/events/order/emulated/enum.OrderEmulatedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/emulated/enum.OrderEmulatedBuilderError.html @@ -1,11 +1,11 @@ -OrderEmulatedBuilderError in nautilus_model::events::order::emulated - Rust +OrderEmulatedBuilderError in nautilus_model::events::order::emulated - Rust
    #[non_exhaustive]
    pub enum OrderEmulatedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderEmulatedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderEmulatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderEmulatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderEmulatedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderEmulatedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderEmulatedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderEmulatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderEmulatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderEmulatedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderEmulatedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderEmulatedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/emulated/index.html b/nightly/core/nautilus_model/events/order/emulated/index.html index d6d3fd0ba2fb..cee9da3f429f 100644 --- a/nightly/core/nautilus_model/events/order/emulated/index.html +++ b/nightly/core/nautilus_model/events/order/emulated/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::emulated - Rust +nautilus_model::events::order::emulated - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulated.html b/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulated.html index 11385e4fd50c..00a0230f0cb1 100644 --- a/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulated.html +++ b/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulated.html @@ -1,4 +1,4 @@ -OrderEmulated in nautilus_model::events::order::emulated - Rust +OrderEmulated in nautilus_model::events::order::emulated - Rust
    #[repr(C)]
    pub struct OrderEmulated { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -19,7 +19,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more

    source§

    impl Display for OrderEmulated

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderEmulated

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderEmulated

    source§

    fn eq(&self, other: &OrderEmulated) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderEmulated

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderEmulated

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderEmulated>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderEmulated> for PyClassImplCollector<OrderEmulated>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderEmulated

    §

    type Holder = Option<PyRef<'py, OrderEmulated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderEmulated

    §

    type Holder = Option<PyRefMut<'py, OrderEmulated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderEmulated> for PyClassImplCollector<OrderEmulated>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderEmulated

    §

    type AsRefTarget = PyCell<OrderEmulated>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderEmulated"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderEmulated

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderEmulated> for PyClassImplCollector<OrderEmulated>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderEmulated

    §

    type Holder = Option<PyRef<'py, OrderEmulated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderEmulated

    §

    type Holder = Option<PyRefMut<'py, OrderEmulated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderEmulated> for PyClassImplCollector<OrderEmulated>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderEmulated

    §

    type AsRefTarget = PyCell<OrderEmulated>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderEmulated"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderEmulated

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderEmulated

    source§

    impl Eq for OrderEmulated

    source§

    impl StructuralPartialEq for OrderEmulated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulatedBuilder.html b/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulatedBuilder.html index 75b29594a73f..742720f99209 100644 --- a/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulatedBuilder.html +++ b/nightly/core/nautilus_model/events/order/emulated/struct.OrderEmulatedBuilder.html @@ -1,4 +1,4 @@ -OrderEmulatedBuilder in nautilus_model::events::order::emulated - Rust +OrderEmulatedBuilder in nautilus_model::events::order::emulated - Rust
    pub struct OrderEmulatedBuilder { /* private fields */ }
    Expand description

    Builder for OrderEmulated.

    Implementations§

    source§

    impl OrderEmulatedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderEmulated, OrderEmulatedBuilderError>

    Builds a new OrderEmulated.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/event/enum.OrderEvent.html b/nightly/core/nautilus_model/events/order/event/enum.OrderEvent.html index 417005e25b7b..516fd6087773 100644 --- a/nightly/core/nautilus_model/events/order/event/enum.OrderEvent.html +++ b/nightly/core/nautilus_model/events/order/event/enum.OrderEvent.html @@ -1,4 +1,4 @@ -OrderEvent in nautilus_model::events::order::event - Rust +OrderEvent in nautilus_model::events::order::event - Rust
    pub enum OrderEvent {
     
    Show 17 variants OrderInitialized(OrderInitialized), OrderDenied(OrderDenied), diff --git a/nightly/core/nautilus_model/events/order/event/index.html b/nightly/core/nautilus_model/events/order/event/index.html index 6d0dfe2dd88b..f02178dff6f5 100644 --- a/nightly/core/nautilus_model/events/order/event/index.html +++ b/nightly/core/nautilus_model/events/order/event/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::event - Rust +nautilus_model::events::order::event - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/expired/enum.OrderExpiredBuilderError.html b/nightly/core/nautilus_model/events/order/expired/enum.OrderExpiredBuilderError.html index 4814e245b9ab..48506d007b81 100644 --- a/nightly/core/nautilus_model/events/order/expired/enum.OrderExpiredBuilderError.html +++ b/nightly/core/nautilus_model/events/order/expired/enum.OrderExpiredBuilderError.html @@ -1,11 +1,11 @@ -OrderExpiredBuilderError in nautilus_model::events::order::expired - Rust +OrderExpiredBuilderError in nautilus_model::events::order::expired - Rust
    #[non_exhaustive]
    pub enum OrderExpiredBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderExpiredBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderExpiredBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderExpiredBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderExpiredBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderExpiredBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderExpiredBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderExpiredBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderExpiredBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderExpiredBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderExpiredBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderExpiredBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/expired/index.html b/nightly/core/nautilus_model/events/order/expired/index.html index 8c5cecdef7b2..69fc0fd95e5e 100644 --- a/nightly/core/nautilus_model/events/order/expired/index.html +++ b/nightly/core/nautilus_model/events/order/expired/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::expired - Rust +nautilus_model::events::order::expired - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/expired/struct.OrderExpired.html b/nightly/core/nautilus_model/events/order/expired/struct.OrderExpired.html index 38e77fc76372..8f65da2330b2 100644 --- a/nightly/core/nautilus_model/events/order/expired/struct.OrderExpired.html +++ b/nightly/core/nautilus_model/events/order/expired/struct.OrderExpired.html @@ -1,4 +1,4 @@ -OrderExpired in nautilus_model::events::order::expired - Rust +OrderExpired in nautilus_model::events::order::expired - Rust
    #[repr(C)]
    pub struct OrderExpired { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -21,8 +21,8 @@ reconciliation: bool, venue_order_id: Option<VenueOrderId>, account_id: Option<AccountId> -) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderExpired

    source§

    fn clone(&self) -> OrderExpired

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderExpired

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderExpired

    source§

    fn default() -> OrderExpired

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderExpired

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderExpired

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderExpired

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderExpired

    source§

    fn eq(&self, other: &OrderExpired) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderExpired

    source§

    fn clone(&self) -> OrderExpired

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderExpired

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderExpired

    source§

    fn default() -> OrderExpired

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderExpired

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderExpired

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderExpired

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderExpired

    source§

    fn eq(&self, other: &OrderExpired) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderExpired

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderExpired

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderExpired>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderExpired> for PyClassImplCollector<OrderExpired>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderExpired

    §

    type Holder = Option<PyRef<'py, OrderExpired>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderExpired

    §

    type Holder = Option<PyRefMut<'py, OrderExpired>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderExpired> for PyClassImplCollector<OrderExpired>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderExpired

    §

    type AsRefTarget = PyCell<OrderExpired>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderExpired"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderExpired

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where diff --git a/nightly/core/nautilus_model/events/order/expired/struct.OrderExpiredBuilder.html b/nightly/core/nautilus_model/events/order/expired/struct.OrderExpiredBuilder.html index 0be1e677c1b5..251aa0310ee3 100644 --- a/nightly/core/nautilus_model/events/order/expired/struct.OrderExpiredBuilder.html +++ b/nightly/core/nautilus_model/events/order/expired/struct.OrderExpiredBuilder.html @@ -1,4 +1,4 @@ -OrderExpiredBuilder in nautilus_model::events::order::expired - Rust +OrderExpiredBuilder in nautilus_model::events::order::expired - Rust
    pub struct OrderExpiredBuilder { /* private fields */ }
    Expand description

    Builder for OrderExpired.

    Implementations§

    source§

    impl OrderExpiredBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderExpired, OrderExpiredBuilderError>

    Builds a new OrderExpired.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/filled/enum.OrderFilledBuilderError.html b/nightly/core/nautilus_model/events/order/filled/enum.OrderFilledBuilderError.html index 3222e6c85a8f..ab45ea7ff050 100644 --- a/nightly/core/nautilus_model/events/order/filled/enum.OrderFilledBuilderError.html +++ b/nightly/core/nautilus_model/events/order/filled/enum.OrderFilledBuilderError.html @@ -1,4 +1,4 @@ -OrderFilledBuilderError in nautilus_model::events::order::filled - Rust +OrderFilledBuilderError in nautilus_model::events::order::filled - Rust
    #[non_exhaustive]
    pub enum OrderFilledBuilderError { UninitializedField(&'static str), ValidationError(String), diff --git a/nightly/core/nautilus_model/events/order/filled/index.html b/nightly/core/nautilus_model/events/order/filled/index.html index d736a31a5910..4c24fb9e74d8 100644 --- a/nightly/core/nautilus_model/events/order/filled/index.html +++ b/nightly/core/nautilus_model/events/order/filled/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::filled - Rust +nautilus_model::events::order::filled - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/filled/struct.OrderFilled.html b/nightly/core/nautilus_model/events/order/filled/struct.OrderFilled.html index e9b131f0e252..50a38d2ae1fd 100644 --- a/nightly/core/nautilus_model/events/order/filled/struct.OrderFilled.html +++ b/nightly/core/nautilus_model/events/order/filled/struct.OrderFilled.html @@ -1,4 +1,4 @@ -OrderFilled in nautilus_model::events::order::filled - Rust +OrderFilled in nautilus_model::events::order::filled - Rust
    #[repr(C)]
    pub struct OrderFilled {
    Show 19 fields pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -43,7 +43,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderFilled

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderFilled

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderFilled

    source§

    fn eq(&self, other: &OrderFilled) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderFilled

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderFilled

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderFilled>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderFilled> for PyClassImplCollector<OrderFilled>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderFilled

    §

    type Holder = Option<PyRef<'py, OrderFilled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderFilled

    §

    type Holder = Option<PyRefMut<'py, OrderFilled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderFilled> for PyClassImplCollector<OrderFilled>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderFilled

    §

    type AsRefTarget = PyCell<OrderFilled>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderFilled"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderFilled

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderFilled> for PyClassImplCollector<OrderFilled>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderFilled

    §

    type Holder = Option<PyRef<'py, OrderFilled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderFilled

    §

    type Holder = Option<PyRefMut<'py, OrderFilled>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderFilled> for PyClassImplCollector<OrderFilled>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderFilled

    §

    type AsRefTarget = PyCell<OrderFilled>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderFilled"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderFilled

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderFilled

    source§

    impl Eq for OrderFilled

    source§

    impl StructuralPartialEq for OrderFilled

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/filled/struct.OrderFilledBuilder.html b/nightly/core/nautilus_model/events/order/filled/struct.OrderFilledBuilder.html index ef550d8e097e..9bd2abfcfb4e 100644 --- a/nightly/core/nautilus_model/events/order/filled/struct.OrderFilledBuilder.html +++ b/nightly/core/nautilus_model/events/order/filled/struct.OrderFilledBuilder.html @@ -1,4 +1,4 @@ -OrderFilledBuilder in nautilus_model::events::order::filled - Rust +OrderFilledBuilder in nautilus_model::events::order::filled - Rust
    pub struct OrderFilledBuilder { /* private fields */ }
    Expand description

    Builder for OrderFilled.

    Implementations§

    source§

    impl OrderFilledBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: VenueOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn trade_id(&mut self, value: TradeId) -> &mut Self

    source

    pub fn order_side(&mut self, value: OrderSide) -> &mut Self

    source

    pub fn order_type(&mut self, value: OrderType) -> &mut Self

    source

    pub fn last_qty(&mut self, value: Quantity) -> &mut Self

    source

    pub fn last_px(&mut self, value: Price) -> &mut Self

    source

    pub fn currency(&mut self, value: Currency) -> &mut Self

    source

    pub fn liquidity_side(&mut self, value: LiquiditySide) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: bool) -> &mut Self

    source

    pub fn position_id(&mut self, value: Option<PositionId>) -> &mut Self

    source

    pub fn commission(&mut self, value: Option<Money>) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderFilled, OrderFilledBuilderError>

    Builds a new OrderFilled.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/index.html b/nightly/core/nautilus_model/events/order/index.html index 1dc473dc6781..a84d50f1dca7 100644 --- a/nightly/core/nautilus_model/events/order/index.html +++ b/nightly/core/nautilus_model/events/order/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order - Rust +nautilus_model::events::order - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/initialized/enum.OrderInitializedBuilderError.html b/nightly/core/nautilus_model/events/order/initialized/enum.OrderInitializedBuilderError.html index 2fa9963bdcf0..b12c62196f7d 100644 --- a/nightly/core/nautilus_model/events/order/initialized/enum.OrderInitializedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/initialized/enum.OrderInitializedBuilderError.html @@ -1,11 +1,11 @@ -OrderInitializedBuilderError in nautilus_model::events::order::initialized - Rust +OrderInitializedBuilderError in nautilus_model::events::order::initialized - Rust
    #[non_exhaustive]
    pub enum OrderInitializedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderInitializedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderInitializedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderInitializedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderInitializedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderInitializedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderInitializedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderInitializedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderInitializedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderInitializedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderInitializedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderInitializedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/initialized/index.html b/nightly/core/nautilus_model/events/order/initialized/index.html index 76a817b20bc6..747f1b2ad2e0 100644 --- a/nightly/core/nautilus_model/events/order/initialized/index.html +++ b/nightly/core/nautilus_model/events/order/initialized/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::initialized - Rust +nautilus_model::events::order::initialized - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitialized.html b/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitialized.html index 5eb43f3350aa..e48c412c34b7 100644 --- a/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitialized.html +++ b/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitialized.html @@ -1,4 +1,4 @@ -OrderInitialized in nautilus_model::events::order::initialized - Rust +OrderInitialized in nautilus_model::events::order::initialized - Rust
    #[repr(C)]
    pub struct OrderInitialized {
    Show 33 fields pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -67,12 +67,12 @@ exec_algorithm_params: Option<HashMap<Ustr, Ustr>>, exec_spawn_id: Option<ClientOrderId>, tags: Option<Ustr> -) -> Result<OrderInitialized>

    Trait Implementations§

    source§

    impl Clone for OrderInitialized

    source§

    fn clone(&self) -> OrderInitialized

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderInitialized

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderInitialized

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderInitialized

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderInitialized

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> From<&T> for OrderInitialized
    where - T: Order,

    source§

    fn from(order: &T) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for LimitIfTouchedOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for LimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketIfTouchedOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketToLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for StopLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for StopMarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for TrailingStopLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for TrailingStopMarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for OrderInitialized

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderInitialized

    source§

    fn eq(&self, other: &OrderInitialized) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderInitialized>

    Trait Implementations§

    source§

    impl Clone for OrderInitialized

    source§

    fn clone(&self) -> OrderInitialized

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderInitialized

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderInitialized

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderInitialized

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderInitialized

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<T> From<&T> for OrderInitialized
    where + T: Order,

    source§

    fn from(order: &T) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for LimitIfTouchedOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for LimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketIfTouchedOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for MarketToLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for StopLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for StopMarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for TrailingStopLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl From<OrderInitialized> for TrailingStopMarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for OrderInitialized

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderInitialized

    source§

    fn eq(&self, other: &OrderInitialized) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderInitialized

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderInitialized

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderInitialized>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderInitialized> for PyClassImplCollector<OrderInitialized>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderInitialized

    §

    type Holder = Option<PyRef<'py, OrderInitialized>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderInitialized

    §

    type Holder = Option<PyRefMut<'py, OrderInitialized>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderInitialized> for PyClassImplCollector<OrderInitialized>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderInitialized

    §

    type AsRefTarget = PyCell<OrderInitialized>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderInitialized"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderInitialized

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderInitialized> for PyClassImplCollector<OrderInitialized>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderInitialized

    §

    type Holder = Option<PyRef<'py, OrderInitialized>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderInitialized

    §

    type Holder = Option<PyRefMut<'py, OrderInitialized>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderInitialized> for PyClassImplCollector<OrderInitialized>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderInitialized

    §

    type AsRefTarget = PyCell<OrderInitialized>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderInitialized"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderInitialized

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for OrderInitialized

    source§

    impl StructuralPartialEq for OrderInitialized

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitializedBuilder.html b/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitializedBuilder.html index 573681f08c23..9344bad2e046 100644 --- a/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitializedBuilder.html +++ b/nightly/core/nautilus_model/events/order/initialized/struct.OrderInitializedBuilder.html @@ -1,4 +1,4 @@ -OrderInitializedBuilder in nautilus_model::events::order::initialized - Rust +OrderInitializedBuilder in nautilus_model::events::order::initialized - Rust
    pub struct OrderInitializedBuilder { /* private fields */ }
    Expand description

    Builder for OrderInitialized.

    Implementations§

    source§

    impl OrderInitializedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn order_side(&mut self, value: OrderSide) -> &mut Self

    source

    pub fn order_type(&mut self, value: OrderType) -> &mut Self

    source

    pub fn quantity(&mut self, value: Quantity) -> &mut Self

    source

    pub fn time_in_force(&mut self, value: TimeInForce) -> &mut Self

    source

    pub fn post_only(&mut self, value: bool) -> &mut Self

    source

    pub fn reduce_only(&mut self, value: bool) -> &mut Self

    source

    pub fn quote_quantity(&mut self, value: bool) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: bool) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn price(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn trigger_price(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn trigger_type(&mut self, value: Option<TriggerType>) -> &mut Self

    source

    pub fn limit_offset(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn trailing_offset(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn trailing_offset_type( &mut self, diff --git a/nightly/core/nautilus_model/events/order/modify_rejected/enum.OrderModifyRejectedBuilderError.html b/nightly/core/nautilus_model/events/order/modify_rejected/enum.OrderModifyRejectedBuilderError.html index a89ce96c781c..c51339a23bb3 100644 --- a/nightly/core/nautilus_model/events/order/modify_rejected/enum.OrderModifyRejectedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/modify_rejected/enum.OrderModifyRejectedBuilderError.html @@ -1,11 +1,11 @@ -OrderModifyRejectedBuilderError in nautilus_model::events::order::modify_rejected - Rust +OrderModifyRejectedBuilderError in nautilus_model::events::order::modify_rejected - Rust
    #[non_exhaustive]
    pub enum OrderModifyRejectedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderModifyRejectedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderModifyRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderModifyRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderModifyRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderModifyRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderModifyRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderModifyRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderModifyRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderModifyRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderModifyRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderModifyRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/modify_rejected/index.html b/nightly/core/nautilus_model/events/order/modify_rejected/index.html index 8e73a2e30a72..5d86c7ec4b9b 100644 --- a/nightly/core/nautilus_model/events/order/modify_rejected/index.html +++ b/nightly/core/nautilus_model/events/order/modify_rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::modify_rejected - Rust +nautilus_model::events::order::modify_rejected - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejected.html b/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejected.html index 59222890b049..aeec10b1c540 100644 --- a/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejected.html +++ b/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejected.html @@ -1,4 +1,4 @@ -OrderModifyRejected in nautilus_model::events::order::modify_rejected - Rust +OrderModifyRejected in nautilus_model::events::order::modify_rejected - Rust
    #[repr(C)]
    pub struct OrderModifyRejected { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -23,11 +23,11 @@ reconciliation: bool, venue_order_id: Option<VenueOrderId>, account_id: Option<AccountId> -) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderModifyRejected

    source§

    fn clone(&self) -> OrderModifyRejected

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderModifyRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderModifyRejected

    source§

    fn default() -> OrderModifyRejected

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderModifyRejected

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderModifyRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderModifyRejected

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderModifyRejected

    source§

    fn eq(&self, other: &OrderModifyRejected) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderModifyRejected

    source§

    fn clone(&self) -> OrderModifyRejected

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderModifyRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderModifyRejected

    source§

    fn default() -> OrderModifyRejected

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderModifyRejected

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderModifyRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderModifyRejected

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderModifyRejected

    source§

    fn eq(&self, other: &OrderModifyRejected) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderModifyRejected

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderModifyRejected

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderModifyRejected>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderModifyRejected> for PyClassImplCollector<OrderModifyRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderModifyRejected

    §

    type Holder = Option<PyRef<'py, OrderModifyRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderModifyRejected

    §

    type Holder = Option<PyRefMut<'py, OrderModifyRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderModifyRejected> for PyClassImplCollector<OrderModifyRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderModifyRejected

    §

    type AsRefTarget = PyCell<OrderModifyRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderModifyRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderModifyRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderModifyRejected> for PyClassImplCollector<OrderModifyRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderModifyRejected

    §

    type Holder = Option<PyRef<'py, OrderModifyRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderModifyRejected

    §

    type Holder = Option<PyRefMut<'py, OrderModifyRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderModifyRejected> for PyClassImplCollector<OrderModifyRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderModifyRejected

    §

    type AsRefTarget = PyCell<OrderModifyRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderModifyRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderModifyRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderModifyRejected

    source§

    impl Eq for OrderModifyRejected

    source§

    impl StructuralPartialEq for OrderModifyRejected

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejectedBuilder.html b/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejectedBuilder.html index 17324ed64692..35a20867f02a 100644 --- a/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejectedBuilder.html +++ b/nightly/core/nautilus_model/events/order/modify_rejected/struct.OrderModifyRejectedBuilder.html @@ -1,4 +1,4 @@ -OrderModifyRejectedBuilder in nautilus_model::events::order::modify_rejected - Rust +OrderModifyRejectedBuilder in nautilus_model::events::order::modify_rejected - Rust
    pub struct OrderModifyRejectedBuilder { /* private fields */ }
    Expand description

    Builder for OrderModifyRejected.

    Implementations§

    source§

    impl OrderModifyRejectedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn reason(&mut self, value: Ustr) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn build( &self diff --git a/nightly/core/nautilus_model/events/order/pending_cancel/enum.OrderPendingCancelBuilderError.html b/nightly/core/nautilus_model/events/order/pending_cancel/enum.OrderPendingCancelBuilderError.html index f4677cc1c72e..9bf09087a5c7 100644 --- a/nightly/core/nautilus_model/events/order/pending_cancel/enum.OrderPendingCancelBuilderError.html +++ b/nightly/core/nautilus_model/events/order/pending_cancel/enum.OrderPendingCancelBuilderError.html @@ -1,11 +1,11 @@ -OrderPendingCancelBuilderError in nautilus_model::events::order::pending_cancel - Rust +OrderPendingCancelBuilderError in nautilus_model::events::order::pending_cancel - Rust
    #[non_exhaustive]
    pub enum OrderPendingCancelBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderPendingCancelBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderPendingCancelBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderPendingCancelBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderPendingCancelBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderPendingCancelBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderPendingCancelBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderPendingCancelBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderPendingCancelBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderPendingCancelBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderPendingCancelBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderPendingCancelBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/pending_cancel/index.html b/nightly/core/nautilus_model/events/order/pending_cancel/index.html index 2b311bbcdc16..7acb5b85ce77 100644 --- a/nightly/core/nautilus_model/events/order/pending_cancel/index.html +++ b/nightly/core/nautilus_model/events/order/pending_cancel/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::pending_cancel - Rust +nautilus_model::events::order::pending_cancel - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancel.html b/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancel.html index 7d72c9305fbc..544bae9c0a50 100644 --- a/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancel.html +++ b/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancel.html @@ -1,4 +1,4 @@ -OrderPendingCancel in nautilus_model::events::order::pending_cancel - Rust +OrderPendingCancel in nautilus_model::events::order::pending_cancel - Rust
    #[repr(C)]
    pub struct OrderPendingCancel { pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancelBuilder.html b/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancelBuilder.html index 6696d94b565c..c8282dd81478 100644 --- a/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancelBuilder.html +++ b/nightly/core/nautilus_model/events/order/pending_cancel/struct.OrderPendingCancelBuilder.html @@ -1,4 +1,4 @@ -OrderPendingCancelBuilder in nautilus_model::events::order::pending_cancel - Rust +OrderPendingCancelBuilder in nautilus_model::events::order::pending_cancel - Rust
    pub struct OrderPendingCancelBuilder { /* private fields */ }
    Expand description

    Builder for OrderPendingCancel.

    Implementations§

    source§

    impl OrderPendingCancelBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn build( &self diff --git a/nightly/core/nautilus_model/events/order/pending_update/enum.OrderPendingUpdateBuilderError.html b/nightly/core/nautilus_model/events/order/pending_update/enum.OrderPendingUpdateBuilderError.html index 8568d40623a3..02fca162f42f 100644 --- a/nightly/core/nautilus_model/events/order/pending_update/enum.OrderPendingUpdateBuilderError.html +++ b/nightly/core/nautilus_model/events/order/pending_update/enum.OrderPendingUpdateBuilderError.html @@ -1,4 +1,4 @@ -OrderPendingUpdateBuilderError in nautilus_model::events::order::pending_update - Rust +OrderPendingUpdateBuilderError in nautilus_model::events::order::pending_update - Rust
    #[non_exhaustive]
    pub enum OrderPendingUpdateBuilderError { UninitializedField(&'static str), ValidationError(String), diff --git a/nightly/core/nautilus_model/events/order/pending_update/index.html b/nightly/core/nautilus_model/events/order/pending_update/index.html index 1afdaeb00ce2..d2f658dc4ef2 100644 --- a/nightly/core/nautilus_model/events/order/pending_update/index.html +++ b/nightly/core/nautilus_model/events/order/pending_update/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::pending_update - Rust +nautilus_model::events::order::pending_update - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdate.html b/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdate.html index 335e7755182d..0b04d0258a99 100644 --- a/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdate.html +++ b/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdate.html @@ -1,4 +1,4 @@ -OrderPendingUpdate in nautilus_model::events::order::pending_update - Rust +OrderPendingUpdate in nautilus_model::events::order::pending_update - Rust
    #[repr(C)]
    pub struct OrderPendingUpdate { pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdateBuilder.html b/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdateBuilder.html index 98907639940b..2224c978d458 100644 --- a/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdateBuilder.html +++ b/nightly/core/nautilus_model/events/order/pending_update/struct.OrderPendingUpdateBuilder.html @@ -1,4 +1,4 @@ -OrderPendingUpdateBuilder in nautilus_model::events::order::pending_update - Rust +OrderPendingUpdateBuilder in nautilus_model::events::order::pending_update - Rust
    pub struct OrderPendingUpdateBuilder { /* private fields */ }
    Expand description

    Builder for OrderPendingUpdate.

    Implementations§

    source§

    impl OrderPendingUpdateBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn build( &self diff --git a/nightly/core/nautilus_model/events/order/rejected/enum.OrderRejectedBuilderError.html b/nightly/core/nautilus_model/events/order/rejected/enum.OrderRejectedBuilderError.html index 0a93bafb1ce2..6c856c2145b9 100644 --- a/nightly/core/nautilus_model/events/order/rejected/enum.OrderRejectedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/rejected/enum.OrderRejectedBuilderError.html @@ -1,11 +1,11 @@ -OrderRejectedBuilderError in nautilus_model::events::order::rejected - Rust +OrderRejectedBuilderError in nautilus_model::events::order::rejected - Rust
    #[non_exhaustive]
    pub enum OrderRejectedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderRejectedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderRejectedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderRejectedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderRejectedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderRejectedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/rejected/index.html b/nightly/core/nautilus_model/events/order/rejected/index.html index 05134755115b..10f9100539d2 100644 --- a/nightly/core/nautilus_model/events/order/rejected/index.html +++ b/nightly/core/nautilus_model/events/order/rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::rejected - Rust +nautilus_model::events::order::rejected - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejected.html b/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejected.html index 7a8ec8eb9013..6abba0296a21 100644 --- a/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejected.html +++ b/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejected.html @@ -1,4 +1,4 @@ -OrderRejected in nautilus_model::events::order::rejected - Rust +OrderRejected in nautilus_model::events::order::rejected - Rust
    #[repr(C)]
    pub struct OrderRejected { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -25,7 +25,7 @@ __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderRejected

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderRejected

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderRejected

    source§

    fn eq(&self, other: &OrderRejected) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderRejected

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderRejected

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderRejected>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderRejected> for PyClassImplCollector<OrderRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderRejected

    §

    type Holder = Option<PyRef<'py, OrderRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderRejected

    §

    type Holder = Option<PyRefMut<'py, OrderRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderRejected> for PyClassImplCollector<OrderRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderRejected

    §

    type AsRefTarget = PyCell<OrderRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderRejected> for PyClassImplCollector<OrderRejected>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderRejected

    §

    type Holder = Option<PyRef<'py, OrderRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderRejected

    §

    type Holder = Option<PyRefMut<'py, OrderRejected>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderRejected> for PyClassImplCollector<OrderRejected>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderRejected

    §

    type AsRefTarget = PyCell<OrderRejected>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderRejected"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderRejected

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderRejected

    source§

    impl Eq for OrderRejected

    source§

    impl StructuralPartialEq for OrderRejected

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejectedBuilder.html b/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejectedBuilder.html index 2a158a6c1d24..b24db1e7a30f 100644 --- a/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejectedBuilder.html +++ b/nightly/core/nautilus_model/events/order/rejected/struct.OrderRejectedBuilder.html @@ -1,4 +1,4 @@ -OrderRejectedBuilder in nautilus_model::events::order::rejected - Rust +OrderRejectedBuilder in nautilus_model::events::order::rejected - Rust
    pub struct OrderRejectedBuilder { /* private fields */ }
    Expand description

    Builder for OrderRejected.

    Implementations§

    source§

    impl OrderRejectedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn reason(&mut self, value: Ustr) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderRejected, OrderRejectedBuilderError>

    Builds a new OrderRejected.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/released/enum.OrderReleasedBuilderError.html b/nightly/core/nautilus_model/events/order/released/enum.OrderReleasedBuilderError.html index bb69f3344b17..3a483cc6788e 100644 --- a/nightly/core/nautilus_model/events/order/released/enum.OrderReleasedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/released/enum.OrderReleasedBuilderError.html @@ -1,11 +1,11 @@ -OrderReleasedBuilderError in nautilus_model::events::order::released - Rust +OrderReleasedBuilderError in nautilus_model::events::order::released - Rust
    #[non_exhaustive]
    pub enum OrderReleasedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderReleasedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderReleasedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderReleasedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderReleasedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderReleasedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderReleasedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderReleasedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderReleasedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderReleasedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderReleasedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderReleasedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/released/index.html b/nightly/core/nautilus_model/events/order/released/index.html index 9bf89c9a1907..49107f9d4b16 100644 --- a/nightly/core/nautilus_model/events/order/released/index.html +++ b/nightly/core/nautilus_model/events/order/released/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::released - Rust +nautilus_model::events::order::released - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/released/struct.OrderReleased.html b/nightly/core/nautilus_model/events/order/released/struct.OrderReleased.html index 98b103edfaee..863dba1e3f66 100644 --- a/nightly/core/nautilus_model/events/order/released/struct.OrderReleased.html +++ b/nightly/core/nautilus_model/events/order/released/struct.OrderReleased.html @@ -1,4 +1,4 @@ -OrderReleased in nautilus_model::events::order::released - Rust +OrderReleased in nautilus_model::events::order::released - Rust
    #[repr(C)]
    pub struct OrderReleased { pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/released/struct.OrderReleasedBuilder.html b/nightly/core/nautilus_model/events/order/released/struct.OrderReleasedBuilder.html index 769e28f87edb..e4481fe61951 100644 --- a/nightly/core/nautilus_model/events/order/released/struct.OrderReleasedBuilder.html +++ b/nightly/core/nautilus_model/events/order/released/struct.OrderReleasedBuilder.html @@ -1,4 +1,4 @@ -OrderReleasedBuilder in nautilus_model::events::order::released - Rust +OrderReleasedBuilder in nautilus_model::events::order::released - Rust
    pub struct OrderReleasedBuilder { /* private fields */ }
    Expand description

    Builder for OrderReleased.

    Implementations§

    source§

    impl OrderReleasedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn released_price(&mut self, value: Price) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderReleased, OrderReleasedBuilderError>

    Builds a new OrderReleased.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_accepted.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_accepted.html index 06da15a0b44c..06cb70fed786 100644 --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_accepted.html +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_accepted.html @@ -1,4 +1,4 @@ -order_accepted in nautilus_model::events::order::stubs - Rust +order_accepted in nautilus_model::events::order::stubs - Rust
    pub fn order_accepted(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_cancel_rejected.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_cancel_rejected.html
    index 10f59c0a6413..a935dbd90c56 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_cancel_rejected.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_cancel_rejected.html
    @@ -1,4 +1,4 @@
    -order_cancel_rejected in nautilus_model::events::order::stubs - Rust
    +order_cancel_rejected in nautilus_model::events::order::stubs - Rust
         
    pub fn order_cancel_rejected(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_denied_max_submitted_rate.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_denied_max_submitted_rate.html
    index 768eeecacafb..f9f615e0c838 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_denied_max_submitted_rate.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_denied_max_submitted_rate.html
    @@ -1,4 +1,4 @@
    -order_denied_max_submitted_rate in nautilus_model::events::order::stubs - Rust
    +order_denied_max_submitted_rate in nautilus_model::events::order::stubs - Rust
         
    pub fn order_denied_max_submitted_rate(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_emulated.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_emulated.html
    index 08bd5339c63f..99551a877278 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_emulated.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_emulated.html
    @@ -1,4 +1,4 @@
    -order_emulated in nautilus_model::events::order::stubs - Rust
    +order_emulated in nautilus_model::events::order::stubs - Rust
         
    pub fn order_emulated(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_expired.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_expired.html
    index 687d80ea56ff..9a50d56bf01a 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_expired.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_expired.html
    @@ -1,4 +1,4 @@
    -order_expired in nautilus_model::events::order::stubs - Rust
    +order_expired in nautilus_model::events::order::stubs - Rust
         
    pub fn order_expired(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_filled.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_filled.html
    index d4c4e6fa7b08..581a16c7acad 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_filled.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_filled.html
    @@ -1,4 +1,4 @@
    -order_filled in nautilus_model::events::order::stubs - Rust
    +order_filled in nautilus_model::events::order::stubs - Rust
         
    pub fn order_filled(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_initialized_buy_limit.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_initialized_buy_limit.html
    index bc9f2a403367..a2f9421478bf 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_initialized_buy_limit.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_initialized_buy_limit.html
    @@ -1,4 +1,4 @@
    -order_initialized_buy_limit in nautilus_model::events::order::stubs - Rust
    +order_initialized_buy_limit in nautilus_model::events::order::stubs - Rust
         
    pub fn order_initialized_buy_limit(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_modify_rejected.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_modify_rejected.html
    index dcfb65deb1d3..4e838510545f 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_modify_rejected.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_modify_rejected.html
    @@ -1,4 +1,4 @@
    -order_modify_rejected in nautilus_model::events::order::stubs - Rust
    +order_modify_rejected in nautilus_model::events::order::stubs - Rust
         
    pub fn order_modify_rejected(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_cancel.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_cancel.html
    index f8975726f7eb..325f7d253c14 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_cancel.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_cancel.html
    @@ -1,4 +1,4 @@
    -order_pending_cancel in nautilus_model::events::order::stubs - Rust
    +order_pending_cancel in nautilus_model::events::order::stubs - Rust
         
    pub fn order_pending_cancel(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_update.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_update.html
    index 06e908560bd7..bc0be7506d8b 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_update.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_pending_update.html
    @@ -1,4 +1,4 @@
    -order_pending_update in nautilus_model::events::order::stubs - Rust
    +order_pending_update in nautilus_model::events::order::stubs - Rust
         
    pub fn order_pending_update(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_rejected_insufficient_margin.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_rejected_insufficient_margin.html
    index 0ca2fde9dd7d..3192f08e7004 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_rejected_insufficient_margin.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_rejected_insufficient_margin.html
    @@ -1,4 +1,4 @@
    -order_rejected_insufficient_margin in nautilus_model::events::order::stubs - Rust
    +order_rejected_insufficient_margin in nautilus_model::events::order::stubs - Rust
         
    pub fn order_rejected_insufficient_margin(
         trader_id: TraderId,
         account_id: AccountId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_released.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_released.html
    index 27dccd7289ec..3c7ead8b22fa 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_released.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_released.html
    @@ -1,4 +1,4 @@
    -order_released in nautilus_model::events::order::stubs - Rust
    +order_released in nautilus_model::events::order::stubs - Rust
         
    pub fn order_released(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_submitted.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_submitted.html
    index 55599b98413c..72e97943fdf0 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_submitted.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_submitted.html
    @@ -1,4 +1,4 @@
    -order_submitted in nautilus_model::events::order::stubs - Rust
    +order_submitted in nautilus_model::events::order::stubs - Rust
         
    pub fn order_submitted(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_triggered.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_triggered.html
    index 02c1065d9a2b..de0c4aa9fa2a 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_triggered.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_triggered.html
    @@ -1,4 +1,4 @@
    -order_triggered in nautilus_model::events::order::stubs - Rust
    +order_triggered in nautilus_model::events::order::stubs - Rust
         
    pub fn order_triggered(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/fn.order_updated.html b/nightly/core/nautilus_model/events/order/stubs/fn.order_updated.html
    index f7c158e09160..f6201e6fc3e2 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/fn.order_updated.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/fn.order_updated.html
    @@ -1,4 +1,4 @@
    -order_updated in nautilus_model::events::order::stubs - Rust
    +order_updated in nautilus_model::events::order::stubs - Rust
         
    pub fn order_updated(
         trader_id: TraderId,
         strategy_id_ema_cross: StrategyId,
    diff --git a/nightly/core/nautilus_model/events/order/stubs/index.html b/nightly/core/nautilus_model/events/order/stubs/index.html
    index 74ee93ad47ff..4e5921e6e9fe 100644
    --- a/nightly/core/nautilus_model/events/order/stubs/index.html
    +++ b/nightly/core/nautilus_model/events/order/stubs/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::events::order::stubs - Rust
    +nautilus_model::events::order::stubs - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_accepted.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_accepted.html index 08ea2ad2092f..20d6ca9d790a 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_accepted.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_accepted.html @@ -1,4 +1,4 @@ -order_accepted in nautilus_model::events::order::stubs - Rust +order_accepted in nautilus_model::events::order::stubs - Rust
    pub struct order_accepted {}

    Implementations§

    source§

    impl order_accepted

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_cancel_rejected.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_cancel_rejected.html index 1a772f70261a..96575edd5101 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_cancel_rejected.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_cancel_rejected.html @@ -1,4 +1,4 @@ -order_cancel_rejected in nautilus_model::events::order::stubs - Rust +order_cancel_rejected in nautilus_model::events::order::stubs - Rust
    pub struct order_cancel_rejected {}

    Implementations§

    source§

    impl order_cancel_rejected

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_denied_max_submitted_rate.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_denied_max_submitted_rate.html index bedc8c077c40..acc6d1f5126f 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_denied_max_submitted_rate.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_denied_max_submitted_rate.html @@ -1,4 +1,4 @@ -order_denied_max_submitted_rate in nautilus_model::events::order::stubs - Rust +order_denied_max_submitted_rate in nautilus_model::events::order::stubs - Rust
    pub struct order_denied_max_submitted_rate {}

    Implementations§

    source§

    impl order_denied_max_submitted_rate

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_emulated.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_emulated.html index d35c6e378936..6b08121ce417 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_emulated.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_emulated.html @@ -1,4 +1,4 @@ -order_emulated in nautilus_model::events::order::stubs - Rust +order_emulated in nautilus_model::events::order::stubs - Rust
    pub struct order_emulated {}

    Implementations§

    source§

    impl order_emulated

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_expired.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_expired.html index 954fcba94291..00634225eeab 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_expired.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_expired.html @@ -1,4 +1,4 @@ -order_expired in nautilus_model::events::order::stubs - Rust +order_expired in nautilus_model::events::order::stubs - Rust
    pub struct order_expired {}

    Implementations§

    source§

    impl order_expired

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_filled.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_filled.html index 97a8e4bccbf1..87b71a375c9b 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_filled.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_filled.html @@ -1,4 +1,4 @@ -order_filled in nautilus_model::events::order::stubs - Rust +order_filled in nautilus_model::events::order::stubs - Rust
    pub struct order_filled {}

    Implementations§

    source§

    impl order_filled

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_initialized_buy_limit.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_initialized_buy_limit.html index 776a51a5fb8c..5c6a32ba0efc 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_initialized_buy_limit.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_initialized_buy_limit.html @@ -1,4 +1,4 @@ -order_initialized_buy_limit in nautilus_model::events::order::stubs - Rust +order_initialized_buy_limit in nautilus_model::events::order::stubs - Rust
    pub struct order_initialized_buy_limit {}

    Implementations§

    source§

    impl order_initialized_buy_limit

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_modify_rejected.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_modify_rejected.html index f6565d92cb9f..15dce2c08b2d 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_modify_rejected.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_modify_rejected.html @@ -1,4 +1,4 @@ -order_modify_rejected in nautilus_model::events::order::stubs - Rust +order_modify_rejected in nautilus_model::events::order::stubs - Rust
    pub struct order_modify_rejected {}

    Implementations§

    source§

    impl order_modify_rejected

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_cancel.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_cancel.html index 714e716ad164..953f8467b3af 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_cancel.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_cancel.html @@ -1,4 +1,4 @@ -order_pending_cancel in nautilus_model::events::order::stubs - Rust +order_pending_cancel in nautilus_model::events::order::stubs - Rust
    pub struct order_pending_cancel {}

    Implementations§

    source§

    impl order_pending_cancel

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_update.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_update.html index 287d26d87f73..36080c5304b3 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_update.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_pending_update.html @@ -1,4 +1,4 @@ -order_pending_update in nautilus_model::events::order::stubs - Rust +order_pending_update in nautilus_model::events::order::stubs - Rust
    pub struct order_pending_update {}

    Implementations§

    source§

    impl order_pending_update

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_rejected_insufficient_margin.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_rejected_insufficient_margin.html index 218231d738d5..fd95ac33299b 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_rejected_insufficient_margin.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_rejected_insufficient_margin.html @@ -1,4 +1,4 @@ -order_rejected_insufficient_margin in nautilus_model::events::order::stubs - Rust +order_rejected_insufficient_margin in nautilus_model::events::order::stubs - Rust
    pub struct order_rejected_insufficient_margin {}

    Implementations§

    source§

    impl order_rejected_insufficient_margin

    source

    pub fn get( trader_id: TraderId, account_id: AccountId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_released.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_released.html index 0132bcd41ccc..f431333d6163 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_released.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_released.html @@ -1,4 +1,4 @@ -order_released in nautilus_model::events::order::stubs - Rust +order_released in nautilus_model::events::order::stubs - Rust
    pub struct order_released {}

    Implementations§

    source§

    impl order_released

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_submitted.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_submitted.html index a07fb3e86269..92bca66fd8f9 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_submitted.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_submitted.html @@ -1,4 +1,4 @@ -order_submitted in nautilus_model::events::order::stubs - Rust +order_submitted in nautilus_model::events::order::stubs - Rust
    pub struct order_submitted {}

    Implementations§

    source§

    impl order_submitted

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_triggered.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_triggered.html index d54b28a456ce..48f043d55f33 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_triggered.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_triggered.html @@ -1,4 +1,4 @@ -order_triggered in nautilus_model::events::order::stubs - Rust +order_triggered in nautilus_model::events::order::stubs - Rust
    pub struct order_triggered {}

    Implementations§

    source§

    impl order_triggered

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/stubs/struct.order_updated.html b/nightly/core/nautilus_model/events/order/stubs/struct.order_updated.html index 240ea4271887..8797360dae4c 100644 --- a/nightly/core/nautilus_model/events/order/stubs/struct.order_updated.html +++ b/nightly/core/nautilus_model/events/order/stubs/struct.order_updated.html @@ -1,4 +1,4 @@ -order_updated in nautilus_model::events::order::stubs - Rust +order_updated in nautilus_model::events::order::stubs - Rust
    pub struct order_updated {}

    Implementations§

    source§

    impl order_updated

    source

    pub fn get( trader_id: TraderId, strategy_id_ema_cross: StrategyId, diff --git a/nightly/core/nautilus_model/events/order/submitted/enum.OrderSubmittedBuilderError.html b/nightly/core/nautilus_model/events/order/submitted/enum.OrderSubmittedBuilderError.html index b4c21b3d0721..408bfa814d9f 100644 --- a/nightly/core/nautilus_model/events/order/submitted/enum.OrderSubmittedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/submitted/enum.OrderSubmittedBuilderError.html @@ -1,11 +1,11 @@ -OrderSubmittedBuilderError in nautilus_model::events::order::submitted - Rust +OrderSubmittedBuilderError in nautilus_model::events::order::submitted - Rust
    #[non_exhaustive]
    pub enum OrderSubmittedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderSubmittedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderSubmittedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderSubmittedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderSubmittedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderSubmittedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderSubmittedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderSubmittedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderSubmittedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderSubmittedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderSubmittedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderSubmittedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/submitted/index.html b/nightly/core/nautilus_model/events/order/submitted/index.html index 6fde64e83404..17a8d97435d6 100644 --- a/nightly/core/nautilus_model/events/order/submitted/index.html +++ b/nightly/core/nautilus_model/events/order/submitted/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::submitted - Rust +nautilus_model::events::order::submitted - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmitted.html b/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmitted.html index ca0e0cd08be1..9074c092cc9b 100644 --- a/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmitted.html +++ b/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmitted.html @@ -1,4 +1,4 @@ -OrderSubmitted in nautilus_model::events::order::submitted - Rust +OrderSubmitted in nautilus_model::events::order::submitted - Rust
    #[repr(C)]
    pub struct OrderSubmitted { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -17,11 +17,11 @@ event_id: UUID4, ts_event: UnixNanos, ts_init: UnixNanos -) -> Result<OrderSubmitted>

    Trait Implementations§

    source§

    impl Clone for OrderSubmitted

    source§

    fn clone(&self) -> OrderSubmitted

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderSubmitted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderSubmitted

    source§

    fn default() -> OrderSubmitted

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderSubmitted

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderSubmitted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderSubmitted

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderSubmitted

    source§

    fn eq(&self, other: &OrderSubmitted) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderSubmitted>

    Trait Implementations§

    source§

    impl Clone for OrderSubmitted

    source§

    fn clone(&self) -> OrderSubmitted

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderSubmitted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderSubmitted

    source§

    fn default() -> OrderSubmitted

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderSubmitted

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderSubmitted

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderSubmitted

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderSubmitted

    source§

    fn eq(&self, other: &OrderSubmitted) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderSubmitted

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderSubmitted

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderSubmitted>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderSubmitted> for PyClassImplCollector<OrderSubmitted>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderSubmitted

    §

    type Holder = Option<PyRef<'py, OrderSubmitted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderSubmitted

    §

    type Holder = Option<PyRefMut<'py, OrderSubmitted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderSubmitted> for PyClassImplCollector<OrderSubmitted>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderSubmitted

    §

    type AsRefTarget = PyCell<OrderSubmitted>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderSubmitted"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderSubmitted

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderSubmitted> for PyClassImplCollector<OrderSubmitted>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderSubmitted

    §

    type Holder = Option<PyRef<'py, OrderSubmitted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderSubmitted

    §

    type Holder = Option<PyRefMut<'py, OrderSubmitted>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderSubmitted> for PyClassImplCollector<OrderSubmitted>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderSubmitted

    §

    type AsRefTarget = PyCell<OrderSubmitted>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderSubmitted"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderSubmitted

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderSubmitted

    source§

    impl Eq for OrderSubmitted

    source§

    impl StructuralPartialEq for OrderSubmitted

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmittedBuilder.html b/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmittedBuilder.html index d74f5f18f091..f6b2a83e86f5 100644 --- a/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmittedBuilder.html +++ b/nightly/core/nautilus_model/events/order/submitted/struct.OrderSubmittedBuilder.html @@ -1,4 +1,4 @@ -OrderSubmittedBuilder in nautilus_model::events::order::submitted - Rust +OrderSubmittedBuilder in nautilus_model::events::order::submitted - Rust
    pub struct OrderSubmittedBuilder { /* private fields */ }
    Expand description

    Builder for OrderSubmitted.

    Implementations§

    source§

    impl OrderSubmittedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn account_id(&mut self, value: AccountId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderSubmitted, OrderSubmittedBuilderError>

    Builds a new OrderSubmitted.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/triggered/enum.OrderTriggeredBuilderError.html b/nightly/core/nautilus_model/events/order/triggered/enum.OrderTriggeredBuilderError.html index beac872c3973..1b81e9d9a18d 100644 --- a/nightly/core/nautilus_model/events/order/triggered/enum.OrderTriggeredBuilderError.html +++ b/nightly/core/nautilus_model/events/order/triggered/enum.OrderTriggeredBuilderError.html @@ -1,4 +1,4 @@ -OrderTriggeredBuilderError in nautilus_model::events::order::triggered - Rust +OrderTriggeredBuilderError in nautilus_model::events::order::triggered - Rust
    #[non_exhaustive]
    pub enum OrderTriggeredBuilderError { UninitializedField(&'static str), ValidationError(String), diff --git a/nightly/core/nautilus_model/events/order/triggered/index.html b/nightly/core/nautilus_model/events/order/triggered/index.html index cd5532f5a8de..9458531906f5 100644 --- a/nightly/core/nautilus_model/events/order/triggered/index.html +++ b/nightly/core/nautilus_model/events/order/triggered/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::triggered - Rust +nautilus_model::events::order::triggered - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggered.html b/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggered.html index 24d74264824c..2fa2fd6dd075 100644 --- a/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggered.html +++ b/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggered.html @@ -1,4 +1,4 @@ -OrderTriggered in nautilus_model::events::order::triggered - Rust +OrderTriggered in nautilus_model::events::order::triggered - Rust
    #[repr(C)]
    pub struct OrderTriggered { pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -21,11 +21,11 @@ reconciliation: bool, venue_order_id: Option<VenueOrderId>, account_id: Option<AccountId> -) -> Result<OrderTriggered>

    Trait Implementations§

    source§

    impl Clone for OrderTriggered

    source§

    fn clone(&self) -> OrderTriggered

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderTriggered

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderTriggered

    source§

    fn default() -> OrderTriggered

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderTriggered

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderTriggered

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderTriggered

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderTriggered

    source§

    fn eq(&self, other: &OrderTriggered) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderTriggered>

    Trait Implementations§

    source§

    impl Clone for OrderTriggered

    source§

    fn clone(&self) -> OrderTriggered

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderTriggered

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderTriggered

    source§

    fn default() -> OrderTriggered

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderTriggered

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderTriggered

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderTriggered

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderTriggered

    source§

    fn eq(&self, other: &OrderTriggered) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderTriggered

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderTriggered

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderTriggered>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderTriggered> for PyClassImplCollector<OrderTriggered>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderTriggered

    §

    type Holder = Option<PyRef<'py, OrderTriggered>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderTriggered

    §

    type Holder = Option<PyRefMut<'py, OrderTriggered>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderTriggered> for PyClassImplCollector<OrderTriggered>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderTriggered

    §

    type AsRefTarget = PyCell<OrderTriggered>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderTriggered"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderTriggered

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderTriggered> for PyClassImplCollector<OrderTriggered>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderTriggered

    §

    type Holder = Option<PyRef<'py, OrderTriggered>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderTriggered

    §

    type Holder = Option<PyRefMut<'py, OrderTriggered>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderTriggered> for PyClassImplCollector<OrderTriggered>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderTriggered

    §

    type AsRefTarget = PyCell<OrderTriggered>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderTriggered"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderTriggered

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderTriggered

    source§

    impl Eq for OrderTriggered

    source§

    impl StructuralPartialEq for OrderTriggered

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggeredBuilder.html b/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggeredBuilder.html index 8d97f126b8d9..beff809600a7 100644 --- a/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggeredBuilder.html +++ b/nightly/core/nautilus_model/events/order/triggered/struct.OrderTriggeredBuilder.html @@ -1,4 +1,4 @@ -OrderTriggeredBuilder in nautilus_model::events::order::triggered - Rust +OrderTriggeredBuilder in nautilus_model::events::order::triggered - Rust
    pub struct OrderTriggeredBuilder { /* private fields */ }
    Expand description

    Builder for OrderTriggered.

    Implementations§

    source§

    impl OrderTriggeredBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderTriggered, OrderTriggeredBuilderError>

    Builds a new OrderTriggered.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/order/updated/enum.OrderUpdatedBuilderError.html b/nightly/core/nautilus_model/events/order/updated/enum.OrderUpdatedBuilderError.html index f9169faf6f69..25166f1a0820 100644 --- a/nightly/core/nautilus_model/events/order/updated/enum.OrderUpdatedBuilderError.html +++ b/nightly/core/nautilus_model/events/order/updated/enum.OrderUpdatedBuilderError.html @@ -1,11 +1,11 @@ -OrderUpdatedBuilderError in nautilus_model::events::order::updated - Rust +OrderUpdatedBuilderError in nautilus_model::events::order::updated - Rust
    #[non_exhaustive]
    pub enum OrderUpdatedBuilderError { UninitializedField(&'static str), ValidationError(String), }
    Expand description

    Error type for OrderUpdatedBuilder

    Variants (Non-exhaustive)§

    This enum is marked as non-exhaustive
    Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
    §

    UninitializedField(&'static str)

    Uninitialized field

    §

    ValidationError(String)

    Custom validation error

    -

    Trait Implementations§

    source§

    impl Debug for OrderUpdatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderUpdatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderUpdatedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderUpdatedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderUpdatedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Trait Implementations§

    source§

    impl Debug for OrderUpdatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for OrderUpdatedBuilderError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for OrderUpdatedBuilderError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    source§

    impl From<String> for OrderUpdatedBuilderError

    source§

    fn from(s: String) -> Self

    Converts to this type from the input type.
    source§

    impl From<UninitializedFieldError> for OrderUpdatedBuilderError

    source§

    fn from(s: UninitializedFieldError) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/events/order/updated/index.html b/nightly/core/nautilus_model/events/order/updated/index.html index 3bf01c26dd3d..d8d9fddacb5c 100644 --- a/nightly/core/nautilus_model/events/order/updated/index.html +++ b/nightly/core/nautilus_model/events/order/updated/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::order::updated - Rust +nautilus_model::events::order::updated - Rust

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdated.html b/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdated.html index 48760ae3a4e3..4e7d9373d58f 100644 --- a/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdated.html +++ b/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdated.html @@ -1,4 +1,4 @@ -OrderUpdated in nautilus_model::events::order::updated - Rust +OrderUpdated in nautilus_model::events::order::updated - Rust
    #[repr(C)]
    pub struct OrderUpdated {
    Show 13 fields pub trader_id: TraderId, pub strategy_id: StrategyId, @@ -27,11 +27,11 @@ account_id: Option<AccountId>, price: Option<Price>, trigger_price: Option<Price> -) -> Result<OrderUpdated>

    Trait Implementations§

    source§

    impl Clone for OrderUpdated

    source§

    fn clone(&self) -> OrderUpdated

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderUpdated

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderUpdated

    source§

    fn default() -> OrderUpdated

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderUpdated

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderUpdated

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderUpdated

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderUpdated

    source§

    fn eq(&self, other: &OrderUpdated) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<OrderUpdated>

    Trait Implementations§

    source§

    impl Clone for OrderUpdated

    source§

    fn clone(&self) -> OrderUpdated

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderUpdated

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for OrderUpdated

    source§

    fn default() -> OrderUpdated

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for OrderUpdated

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderUpdated

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderUpdated

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for OrderUpdated

    source§

    fn eq(&self, other: &OrderUpdated) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for OrderUpdated

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderUpdated

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderUpdated>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderUpdated> for PyClassImplCollector<OrderUpdated>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderUpdated

    §

    type Holder = Option<PyRef<'py, OrderUpdated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderUpdated

    §

    type Holder = Option<PyRefMut<'py, OrderUpdated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderUpdated> for PyClassImplCollector<OrderUpdated>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderUpdated

    §

    type AsRefTarget = PyCell<OrderUpdated>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderUpdated"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderUpdated

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderUpdated> for PyClassImplCollector<OrderUpdated>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderUpdated

    §

    type Holder = Option<PyRef<'py, OrderUpdated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderUpdated

    §

    type Holder = Option<PyRefMut<'py, OrderUpdated>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderUpdated> for PyClassImplCollector<OrderUpdated>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderUpdated

    §

    type AsRefTarget = PyCell<OrderUpdated>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderUpdated"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderUpdated

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderUpdated

    source§

    impl Eq for OrderUpdated

    source§

    impl StructuralPartialEq for OrderUpdated

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdatedBuilder.html b/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdatedBuilder.html index 441e0048694f..a0d05fef4ff2 100644 --- a/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdatedBuilder.html +++ b/nightly/core/nautilus_model/events/order/updated/struct.OrderUpdatedBuilder.html @@ -1,4 +1,4 @@ -OrderUpdatedBuilder in nautilus_model::events::order::updated - Rust +OrderUpdatedBuilder in nautilus_model::events::order::updated - Rust
    pub struct OrderUpdatedBuilder { /* private fields */ }
    Expand description

    Builder for OrderUpdated.

    Implementations§

    source§

    impl OrderUpdatedBuilder

    source

    pub fn trader_id(&mut self, value: TraderId) -> &mut Self

    source

    pub fn strategy_id(&mut self, value: StrategyId) -> &mut Self

    source

    pub fn instrument_id(&mut self, value: InstrumentId) -> &mut Self

    source

    pub fn client_order_id(&mut self, value: ClientOrderId) -> &mut Self

    source

    pub fn venue_order_id(&mut self, value: Option<VenueOrderId>) -> &mut Self

    source

    pub fn account_id(&mut self, value: Option<AccountId>) -> &mut Self

    source

    pub fn quantity(&mut self, value: Quantity) -> &mut Self

    source

    pub fn price(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn trigger_price(&mut self, value: Option<Price>) -> &mut Self

    source

    pub fn event_id(&mut self, value: UUID4) -> &mut Self

    source

    pub fn ts_event(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn ts_init(&mut self, value: UnixNanos) -> &mut Self

    source

    pub fn reconciliation(&mut self, value: u8) -> &mut Self

    source

    pub fn build(&self) -> Result<OrderUpdated, OrderUpdatedBuilderError>

    Builds a new OrderUpdated.

    §Errors
    diff --git a/nightly/core/nautilus_model/events/position/changed/index.html b/nightly/core/nautilus_model/events/position/changed/index.html index 298ecff1e60a..262d2dd71a8b 100644 --- a/nightly/core/nautilus_model/events/position/changed/index.html +++ b/nightly/core/nautilus_model/events/position/changed/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::position::changed - Rust +nautilus_model::events::position::changed - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/position/changed/struct.PositionChanged.html b/nightly/core/nautilus_model/events/position/changed/struct.PositionChanged.html index 8226b2923cc0..5cf0b227a9fc 100644 --- a/nightly/core/nautilus_model/events/position/changed/struct.PositionChanged.html +++ b/nightly/core/nautilus_model/events/position/changed/struct.PositionChanged.html @@ -1,4 +1,4 @@ -PositionChanged in nautilus_model::events::position::changed - Rust +PositionChanged in nautilus_model::events::position::changed - Rust
    #[repr(C)]
    pub struct PositionChanged {
    Show 22 fields pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/position/closed/index.html b/nightly/core/nautilus_model/events/position/closed/index.html index 01f72dcecfcd..5d267122aac8 100644 --- a/nightly/core/nautilus_model/events/position/closed/index.html +++ b/nightly/core/nautilus_model/events/position/closed/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::position::closed - Rust +nautilus_model::events::position::closed - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/position/closed/struct.PositionClosed.html b/nightly/core/nautilus_model/events/position/closed/struct.PositionClosed.html index 90d4df40afd5..3002fa7f1b56 100644 --- a/nightly/core/nautilus_model/events/position/closed/struct.PositionClosed.html +++ b/nightly/core/nautilus_model/events/position/closed/struct.PositionClosed.html @@ -1,4 +1,4 @@ -PositionClosed in nautilus_model::events::position::closed - Rust +PositionClosed in nautilus_model::events::position::closed - Rust
    #[repr(C)]
    pub struct PositionClosed {
    Show 25 fields pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/position/enum.PositionEvent.html b/nightly/core/nautilus_model/events/position/enum.PositionEvent.html index 18c75f48fc6e..0cd32b8aeb81 100644 --- a/nightly/core/nautilus_model/events/position/enum.PositionEvent.html +++ b/nightly/core/nautilus_model/events/position/enum.PositionEvent.html @@ -1,4 +1,4 @@ -PositionEvent in nautilus_model::events::position - Rust +PositionEvent in nautilus_model::events::position - Rust
    pub enum PositionEvent {
         PositionOpened(PositionOpened),
         PositionChanged(PositionChanged),
    diff --git a/nightly/core/nautilus_model/events/position/index.html b/nightly/core/nautilus_model/events/position/index.html
    index 074cac589da0..4a5cd5b08f46 100644
    --- a/nightly/core/nautilus_model/events/position/index.html
    +++ b/nightly/core/nautilus_model/events/position/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::events::position - Rust
    +nautilus_model::events::position - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/position/opened/index.html b/nightly/core/nautilus_model/events/position/opened/index.html index 62550456c92a..0e169d182a69 100644 --- a/nightly/core/nautilus_model/events/position/opened/index.html +++ b/nightly/core/nautilus_model/events/position/opened/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::position::opened - Rust +nautilus_model::events::position::opened - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/position/opened/struct.PositionOpened.html b/nightly/core/nautilus_model/events/position/opened/struct.PositionOpened.html index 38fbc1381de3..392d563147c9 100644 --- a/nightly/core/nautilus_model/events/position/opened/struct.PositionOpened.html +++ b/nightly/core/nautilus_model/events/position/opened/struct.PositionOpened.html @@ -1,4 +1,4 @@ -PositionOpened in nautilus_model::events::position::opened - Rust +PositionOpened in nautilus_model::events::position::opened - Rust
    #[repr(C)]
    pub struct PositionOpened {
    Show 16 fields pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/events/position/state/index.html b/nightly/core/nautilus_model/events/position/state/index.html index 62e6d6d8e50f..68fbe12713fb 100644 --- a/nightly/core/nautilus_model/events/position/state/index.html +++ b/nightly/core/nautilus_model/events/position/state/index.html @@ -1,2 +1,2 @@ -nautilus_model::events::position::state - Rust +nautilus_model::events::position::state - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/events/position/state/struct.PositionState.html b/nightly/core/nautilus_model/events/position/state/struct.PositionState.html index 8721fd97bdd8..6a7fa547cdbd 100644 --- a/nightly/core/nautilus_model/events/position/state/struct.PositionState.html +++ b/nightly/core/nautilus_model/events/position/state/struct.PositionState.html @@ -1,4 +1,4 @@ -PositionState in nautilus_model::events::position::state - Rust +PositionState in nautilus_model::events::position::state - Rust
    #[repr(C)]
    pub struct PositionState {
    Show 22 fields pub trader_id: TraderId, pub strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_eq.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_eq.html index a5a8bcdbea97..fe06c2376c2c 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_eq.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_eq.html @@ -1,3 +1,3 @@ -bar_eq in nautilus_model::ffi::data::bar - Rust +bar_eq in nautilus_model::ffi::data::bar - Rust

    Function nautilus_model::ffi::data::bar::bar_eq

    source ·
    #[no_mangle]
     pub extern "C" fn bar_eq(lhs: &Bar, rhs: &Bar) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_hash.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_hash.html index 280e381481d5..22b0850bde1e 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_hash.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_hash.html @@ -1,3 +1,3 @@ -bar_hash in nautilus_model::ffi::data::bar - Rust +bar_hash in nautilus_model::ffi::data::bar - Rust

    Function nautilus_model::ffi::data::bar::bar_hash

    source ·
    #[no_mangle]
     pub extern "C" fn bar_hash(bar: &Bar) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new.html index fb231cda2f8b..65c35a53cd2c 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new.html @@ -1,4 +1,4 @@ -bar_new in nautilus_model::ffi::data::bar - Rust +bar_new in nautilus_model::ffi::data::bar - Rust

    Function nautilus_model::ffi::data::bar::bar_new

    source ·
    #[no_mangle]
     pub extern "C" fn bar_new(
         bar_type: BarType,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new_from_raw.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new_from_raw.html
    index b77defc9bee1..9d7c998a37fe 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new_from_raw.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_new_from_raw.html
    @@ -1,4 +1,4 @@
    -bar_new_from_raw in nautilus_model::ffi::data::bar - Rust
    +bar_new_from_raw in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_new_from_raw(
         bar_type: BarType,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_eq.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_eq.html
    index ab4d4dc58880..fd897de35cf8 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_eq.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_eq.html
    @@ -1,4 +1,4 @@
    -bar_specification_eq in nautilus_model::ffi::data::bar - Rust
    +bar_specification_eq in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_eq(
         lhs: &BarSpecification,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_ge.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_ge.html
    index b876e34fea45..5bca1e5fc5be 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_ge.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_ge.html
    @@ -1,4 +1,4 @@
    -bar_specification_ge in nautilus_model::ffi::data::bar - Rust
    +bar_specification_ge in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_ge(
         lhs: &BarSpecification,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_gt.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_gt.html
    index 65794d6cb44d..d5ecc6b18e52 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_gt.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_gt.html
    @@ -1,4 +1,4 @@
    -bar_specification_gt in nautilus_model::ffi::data::bar - Rust
    +bar_specification_gt in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_gt(
         lhs: &BarSpecification,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_hash.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_hash.html
    index a3397eb8fdfb..8bd6adb94222 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_hash.html
    @@ -1,4 +1,4 @@
    -bar_specification_hash in nautilus_model::ffi::data::bar - Rust
    +bar_specification_hash in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_hash(
         bar_spec: &BarSpecification
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_le.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_le.html
    index cf2e57e5df5e..1e783de3f94c 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_le.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_le.html
    @@ -1,4 +1,4 @@
    -bar_specification_le in nautilus_model::ffi::data::bar - Rust
    +bar_specification_le in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_le(
         lhs: &BarSpecification,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_lt.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_lt.html
    index 01918a4edd26..b71d5225f16b 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_lt.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_lt.html
    @@ -1,4 +1,4 @@
    -bar_specification_lt in nautilus_model::ffi::data::bar - Rust
    +bar_specification_lt in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_lt(
         lhs: &BarSpecification,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_new.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_new.html
    index 2ea0acd0039c..a51c1f2d5e26 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_new.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_new.html
    @@ -1,4 +1,4 @@
    -bar_specification_new in nautilus_model::ffi::data::bar - Rust
    +bar_specification_new in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_new(
         step: usize,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_to_cstr.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_to_cstr.html
    index 653000719de0..5e7796bd2a53 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_specification_to_cstr.html
    @@ -1,4 +1,4 @@
    -bar_specification_to_cstr in nautilus_model::ffi::data::bar - Rust
    +bar_specification_to_cstr in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_specification_to_cstr(
         bar_spec: &BarSpecification
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_to_cstr.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_to_cstr.html
    index 59ea3177e471..73b717798493 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_to_cstr.html
    @@ -1,4 +1,4 @@
    -bar_to_cstr in nautilus_model::ffi::data::bar - Rust
    +bar_to_cstr in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_to_cstr(bar: &Bar) -> *const c_char
    Expand description

    Returns a Bar as a C string.

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_check_parsing.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_check_parsing.html index 71c62afc0c6e..039e630c4e88 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_check_parsing.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_check_parsing.html @@ -1,4 +1,4 @@ -bar_type_check_parsing in nautilus_model::ffi::data::bar - Rust +bar_type_check_parsing in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub unsafe extern "C" fn bar_type_check_parsing(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_eq.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_eq.html
    index 7f944b03221d..31c0dc471f73 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_eq.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_eq.html
    @@ -1,3 +1,3 @@
    -bar_type_eq in nautilus_model::ffi::data::bar - Rust
    +bar_type_eq in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_type_eq(lhs: &BarType, rhs: &BarType) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_from_cstr.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_from_cstr.html index b8c07bbc30bd..8f4316cd392f 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_from_cstr.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_from_cstr.html @@ -1,4 +1,4 @@ -bar_type_from_cstr in nautilus_model::ffi::data::bar - Rust +bar_type_from_cstr in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub unsafe extern "C" fn bar_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_ge.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_ge.html
    index 069f41ad7314..6d819d9f50ff 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_ge.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_ge.html
    @@ -1,3 +1,3 @@
    -bar_type_ge in nautilus_model::ffi::data::bar - Rust
    +bar_type_ge in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_type_ge(lhs: &BarType, rhs: &BarType) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_gt.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_gt.html index 987a41b0147a..7415e772ce83 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_gt.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_gt.html @@ -1,3 +1,3 @@ -bar_type_gt in nautilus_model::ffi::data::bar - Rust +bar_type_gt in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub extern "C" fn bar_type_gt(lhs: &BarType, rhs: &BarType) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_hash.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_hash.html index 04b9ba4e0722..523da4d9fbcd 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_hash.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_hash.html @@ -1,3 +1,3 @@ -bar_type_hash in nautilus_model::ffi::data::bar - Rust +bar_type_hash in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub extern "C" fn bar_type_hash(bar_type: &BarType) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_le.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_le.html index f3ac3573671e..e1d199b5d9c3 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_le.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_le.html @@ -1,3 +1,3 @@ -bar_type_le in nautilus_model::ffi::data::bar - Rust +bar_type_le in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub extern "C" fn bar_type_le(lhs: &BarType, rhs: &BarType) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_lt.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_lt.html index 7bace6afae78..e3b73ad7ca3c 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_lt.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_lt.html @@ -1,3 +1,3 @@ -bar_type_lt in nautilus_model::ffi::data::bar - Rust +bar_type_lt in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub extern "C" fn bar_type_lt(lhs: &BarType, rhs: &BarType) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_new.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_new.html index c2bd4bef6179..42b4feca8622 100644 --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_new.html +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_new.html @@ -1,4 +1,4 @@ -bar_type_new in nautilus_model::ffi::data::bar - Rust +bar_type_new in nautilus_model::ffi::data::bar - Rust
    #[no_mangle]
     pub extern "C" fn bar_type_new(
         instrument_id: InstrumentId,
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_to_cstr.html b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_to_cstr.html
    index a180b8568616..7cc14814ec3d 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/fn.bar_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -bar_type_to_cstr in nautilus_model::ffi::data::bar - Rust
    +bar_type_to_cstr in nautilus_model::ffi::data::bar - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_type_to_cstr(
         bar_type: &BarType
    diff --git a/nightly/core/nautilus_model/ffi/data/bar/index.html b/nightly/core/nautilus_model/ffi/data/bar/index.html
    index 7dc7b4e18d62..a30a04c1b2b5 100644
    --- a/nightly/core/nautilus_model/ffi/data/bar/index.html
    +++ b/nightly/core/nautilus_model/ffi/data/bar/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::data::bar - Rust
    +nautilus_model::ffi::data::bar - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_eq.html b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_eq.html index b9cc2c8f5016..034de1454489 100644 --- a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_eq.html +++ b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_eq.html @@ -1,4 +1,4 @@ -orderbook_delta_eq in nautilus_model::ffi::data::delta - Rust +orderbook_delta_eq in nautilus_model::ffi::data::delta - Rust
    #[no_mangle]
     pub extern "C" fn orderbook_delta_eq(
         lhs: &OrderBookDelta,
    diff --git a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_hash.html b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_hash.html
    index 7eba11c4a7d3..ad16f860204f 100644
    --- a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_hash.html
    @@ -1,3 +1,3 @@
    -orderbook_delta_hash in nautilus_model::ffi::data::delta - Rust
    +orderbook_delta_hash in nautilus_model::ffi::data::delta - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_delta_hash(delta: &OrderBookDelta) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_new.html b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_new.html index 1de34560fe03..38e97cf40130 100644 --- a/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_new.html +++ b/nightly/core/nautilus_model/ffi/data/delta/fn.orderbook_delta_new.html @@ -1,4 +1,4 @@ -orderbook_delta_new in nautilus_model::ffi::data::delta - Rust +orderbook_delta_new in nautilus_model::ffi::data::delta - Rust
    #[no_mangle]
     pub extern "C" fn orderbook_delta_new(
         instrument_id: InstrumentId,
    diff --git a/nightly/core/nautilus_model/ffi/data/delta/index.html b/nightly/core/nautilus_model/ffi/data/delta/index.html
    index 852cc017165c..3166778d4a45 100644
    --- a/nightly/core/nautilus_model/ffi/data/delta/index.html
    +++ b/nightly/core/nautilus_model/ffi/data/delta/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::data::delta - Rust
    +nautilus_model::ffi::data::delta - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_drop.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_drop.html index 6c5481d9620e..464bd11c4e7a 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_drop.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_drop.html @@ -1,3 +1,3 @@ -orderbook_deltas_drop in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_drop in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_drop(deltas: OrderBookDeltas_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_flags.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_flags.html index 095f272a91a6..6a357e964a89 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_flags.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_flags.html @@ -1,5 +1,5 @@ -orderbook_deltas_flags in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_flags in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_flags(
         deltas: &OrderBookDeltas_API
     ) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_instrument_id.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_instrument_id.html index 67d8f5950d6a..ef33d00153fb 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_instrument_id.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_instrument_id.html @@ -1,5 +1,5 @@ -orderbook_deltas_instrument_id in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_instrument_id in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_instrument_id(
         deltas: &OrderBookDeltas_API
     ) -> InstrumentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_is_snapshot.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_is_snapshot.html index eecbcd0b0d42..b289801b966b 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_is_snapshot.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_is_snapshot.html @@ -1,5 +1,5 @@ -orderbook_deltas_is_snapshot in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_is_snapshot in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_is_snapshot(
         deltas: &OrderBookDeltas_API
     ) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_new.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_new.html index 47f2582bb1c9..f343cf2b9d57 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_new.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_new.html @@ -1,5 +1,5 @@ -orderbook_deltas_new in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_new in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_new(
         instrument_id: InstrumentId,
         deltas: &CVec
    diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_sequence.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_sequence.html
    index 0d17172898ee..0cb4e4a41487 100644
    --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_sequence.html
    +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_sequence.html
    @@ -1,5 +1,5 @@
    -orderbook_deltas_sequence in nautilus_model::ffi::data::deltas - Rust
    -    
    #[no_mangle]
    +orderbook_deltas_sequence in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_sequence(
         deltas: &OrderBookDeltas_API
     ) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_event.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_event.html index 680e71a8f963..a860e7927d4a 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_event.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_event.html @@ -1,5 +1,5 @@ -orderbook_deltas_ts_event in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_ts_event in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_ts_event(
         deltas: &OrderBookDeltas_API
     ) -> UnixNanos
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_init.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_init.html index a340615172b0..ac53a4dd549f 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_init.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_ts_init.html @@ -1,5 +1,5 @@ -orderbook_deltas_ts_init in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_ts_init in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_ts_init(
         deltas: &OrderBookDeltas_API
     ) -> UnixNanos
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_deltas.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_deltas.html index fd3d3cba722d..bcd2f1bf3b92 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_deltas.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_deltas.html @@ -1,5 +1,5 @@ -orderbook_deltas_vec_deltas in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_vec_deltas in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_vec_deltas(
         deltas: &OrderBookDeltas_API
     ) -> CVec
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_drop.html b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_drop.html index a2dcef4b2c9f..fd0481b2381d 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_drop.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/fn.orderbook_deltas_vec_drop.html @@ -1,3 +1,3 @@ -orderbook_deltas_vec_drop in nautilus_model::ffi::data::deltas - Rust -
    #[no_mangle]
    +orderbook_deltas_vec_drop in nautilus_model::ffi::data::deltas - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_deltas_vec_drop(v: CVec)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/index.html b/nightly/core/nautilus_model/ffi/data/deltas/index.html index f88274b57329..577734f97edc 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/index.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::data::deltas - Rust -
    \ No newline at end of file +nautilus_model::ffi::data::deltas - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/deltas/struct.OrderBookDeltas_API.html b/nightly/core/nautilus_model/ffi/data/deltas/struct.OrderBookDeltas_API.html index 476eb91af957..87f5554023e2 100644 --- a/nightly/core/nautilus_model/ffi/data/deltas/struct.OrderBookDeltas_API.html +++ b/nightly/core/nautilus_model/ffi/data/deltas/struct.OrderBookDeltas_API.html @@ -1,11 +1,11 @@ -OrderBookDeltas_API in nautilus_model::ffi::data::deltas - Rust +OrderBookDeltas_API in nautilus_model::ffi::data::deltas - Rust
    #[repr(C)]
    pub struct OrderBookDeltas_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying OrderBookDeltas.

    This struct wraps OrderBookDeltas in a way that makes it compatible with C function calls, enabling interaction with OrderBookDeltas in a C environment.

    It implements the Deref trait, allowing instances of OrderBookDeltas_API to be dereferenced to OrderBookDeltas, providing access to OrderBookDeltas’s methods without having to manually access the underlying OrderBookDeltas instance.

    -

    Trait Implementations§

    source§

    impl Clone for OrderBookDeltas_API

    source§

    fn clone(&self) -> OrderBookDeltas_API

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDeltas_API

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for OrderBookDeltas_API

    §

    type Target = OrderBookDeltas

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for OrderBookDeltas_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderBookDeltas_API> for Data

    source§

    fn from(value: OrderBookDeltas_API) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    Trait Implementations§

    source§

    impl Clone for OrderBookDeltas_API

    source§

    fn clone(&self) -> OrderBookDeltas_API

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookDeltas_API

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Deref for OrderBookDeltas_API

    §

    type Target = OrderBookDeltas

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for OrderBookDeltas_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderBookDeltas_API> for Data

    source§

    fn from(value: OrderBookDeltas_API) -> Self

    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_ask_counts_array.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_ask_counts_array.html index 59ac2921944f..cf504ade0afa 100644 --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_ask_counts_array.html +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_ask_counts_array.html @@ -1,4 +1,4 @@ -orderbook_depth10_ask_counts_array in nautilus_model::ffi::data::depth - Rust +orderbook_depth10_ask_counts_array in nautilus_model::ffi::data::depth - Rust
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_ask_counts_array(
         depth: &OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_asks_array.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_asks_array.html
    index 75ebe6b248f8..521e0c6c1c2a 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_asks_array.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_asks_array.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_asks_array in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_asks_array in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_asks_array(
         depth: &OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bid_counts_array.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bid_counts_array.html
    index 445896a3be28..857b64f5dcc0 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bid_counts_array.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bid_counts_array.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_bid_counts_array in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_bid_counts_array in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_bid_counts_array(
         depth: &OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bids_array.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bids_array.html
    index 6ba62c7d4f70..32ddb2d773d7 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bids_array.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_bids_array.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_bids_array in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_bids_array in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_bids_array(
         depth: &OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_eq.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_eq.html
    index c7ddaf845364..6651eabb734f 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_eq.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_eq.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_eq in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_eq in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_eq(
         lhs: &OrderBookDepth10,
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_hash.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_hash.html
    index 9ee400bfceee..9d0ea7d5aad5 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_hash.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_hash in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_hash in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub extern "C" fn orderbook_depth10_hash(
         delta: &OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_new.html b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_new.html
    index 9262b22d92ae..a148f25ff573 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_new.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/fn.orderbook_depth10_new.html
    @@ -1,4 +1,4 @@
    -orderbook_depth10_new in nautilus_model::ffi::data::depth - Rust
    +orderbook_depth10_new in nautilus_model::ffi::data::depth - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn orderbook_depth10_new(
         instrument_id: InstrumentId,
    diff --git a/nightly/core/nautilus_model/ffi/data/depth/index.html b/nightly/core/nautilus_model/ffi/data/depth/index.html
    index c4e2349ad2e8..ff96efe82927 100644
    --- a/nightly/core/nautilus_model/ffi/data/depth/index.html
    +++ b/nightly/core/nautilus_model/ffi/data/depth/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::data::depth - Rust
    +nautilus_model::ffi::data::depth - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/index.html b/nightly/core/nautilus_model/ffi/data/index.html index 5143277f4c58..d0cf795abd03 100644 --- a/nightly/core/nautilus_model/ffi/data/index.html +++ b/nightly/core/nautilus_model/ffi/data/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::data - Rust +nautilus_model::ffi::data - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_debug_to_cstr.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_debug_to_cstr.html index 5246664e6fe9..fc1b01d228ba 100644 --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_debug_to_cstr.html +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_debug_to_cstr.html @@ -1,4 +1,4 @@ -book_order_debug_to_cstr in nautilus_model::ffi::data::order - Rust +book_order_debug_to_cstr in nautilus_model::ffi::data::order - Rust
    #[no_mangle]
     pub extern "C" fn book_order_debug_to_cstr(
         order: &BookOrder
    diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_display_to_cstr.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_display_to_cstr.html
    index 55c04bf51c87..788f84e81573 100644
    --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_display_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_display_to_cstr.html
    @@ -1,4 +1,4 @@
    -book_order_display_to_cstr in nautilus_model::ffi::data::order - Rust
    +book_order_display_to_cstr in nautilus_model::ffi::data::order - Rust
         
    #[no_mangle]
     pub extern "C" fn book_order_display_to_cstr(
         order: &BookOrder
    diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_eq.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_eq.html
    index bac43b9e9b09..992476fda287 100644
    --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_eq.html
    +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_eq.html
    @@ -1,4 +1,4 @@
    -book_order_eq in nautilus_model::ffi::data::order - Rust
    +book_order_eq in nautilus_model::ffi::data::order - Rust
         
    #[no_mangle]
     pub extern "C" fn book_order_eq(
         lhs: &BookOrder,
    diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_exposure.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_exposure.html
    index 44a190e3f9bd..2a2f0ad0147a 100644
    --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_exposure.html
    +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_exposure.html
    @@ -1,3 +1,3 @@
    -book_order_exposure in nautilus_model::ffi::data::order - Rust
    +book_order_exposure in nautilus_model::ffi::data::order - Rust
         
    #[no_mangle]
     pub extern "C" fn book_order_exposure(order: &BookOrder) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_from_raw.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_from_raw.html index dc4a0715955c..5eac156a9475 100644 --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_from_raw.html +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_from_raw.html @@ -1,4 +1,4 @@ -book_order_from_raw in nautilus_model::ffi::data::order - Rust +book_order_from_raw in nautilus_model::ffi::data::order - Rust
    #[no_mangle]
     pub extern "C" fn book_order_from_raw(
         order_side: OrderSide,
    diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_hash.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_hash.html
    index 72ad26d5525b..b3ae13f93ad6 100644
    --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_hash.html
    @@ -1,3 +1,3 @@
    -book_order_hash in nautilus_model::ffi::data::order - Rust
    +book_order_hash in nautilus_model::ffi::data::order - Rust
         
    #[no_mangle]
     pub extern "C" fn book_order_hash(order: &BookOrder) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_signed_size.html b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_signed_size.html index 3728b4eb7ae1..7a0d88816815 100644 --- a/nightly/core/nautilus_model/ffi/data/order/fn.book_order_signed_size.html +++ b/nightly/core/nautilus_model/ffi/data/order/fn.book_order_signed_size.html @@ -1,3 +1,3 @@ -book_order_signed_size in nautilus_model::ffi::data::order - Rust +book_order_signed_size in nautilus_model::ffi::data::order - Rust
    #[no_mangle]
     pub extern "C" fn book_order_signed_size(order: &BookOrder) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/order/index.html b/nightly/core/nautilus_model/ffi/data/order/index.html index ab22a7494711..e4877a532a3e 100644 --- a/nightly/core/nautilus_model/ffi/data/order/index.html +++ b/nightly/core/nautilus_model/ffi/data/order/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::data::order - Rust +nautilus_model::ffi::data::order - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_eq.html b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_eq.html index 9b9165a666a6..a19b60107bde 100644 --- a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_eq.html +++ b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_eq.html @@ -1,4 +1,4 @@ -quote_tick_eq in nautilus_model::ffi::data::quote - Rust +quote_tick_eq in nautilus_model::ffi::data::quote - Rust
    #[no_mangle]
     pub extern "C" fn quote_tick_eq(
         lhs: &QuoteTick,
    diff --git a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_hash.html b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_hash.html
    index 668f895b48ed..b95814508751 100644
    --- a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_hash.html
    @@ -1,3 +1,3 @@
    -quote_tick_hash in nautilus_model::ffi::data::quote - Rust
    +quote_tick_hash in nautilus_model::ffi::data::quote - Rust
         
    #[no_mangle]
     pub extern "C" fn quote_tick_hash(delta: &QuoteTick) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_new.html b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_new.html index c76943cfcbe9..f299eba9efdd 100644 --- a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_new.html +++ b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_new.html @@ -1,4 +1,4 @@ -quote_tick_new in nautilus_model::ffi::data::quote - Rust +quote_tick_new in nautilus_model::ffi::data::quote - Rust
    #[no_mangle]
     pub extern "C" fn quote_tick_new(
         instrument_id: InstrumentId,
    diff --git a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_to_cstr.html b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_to_cstr.html
    index cf1ce84a98be..005ca927e6ec 100644
    --- a/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/quote/fn.quote_tick_to_cstr.html
    @@ -1,4 +1,4 @@
    -quote_tick_to_cstr in nautilus_model::ffi::data::quote - Rust
    +quote_tick_to_cstr in nautilus_model::ffi::data::quote - Rust
         
    #[no_mangle]
     pub extern "C" fn quote_tick_to_cstr(
         tick: &QuoteTick
    diff --git a/nightly/core/nautilus_model/ffi/data/quote/index.html b/nightly/core/nautilus_model/ffi/data/quote/index.html
    index e2cc7ddf313c..8c3bd66d3052 100644
    --- a/nightly/core/nautilus_model/ffi/data/quote/index.html
    +++ b/nightly/core/nautilus_model/ffi/data/quote/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::data::quote - Rust
    +nautilus_model::ffi::data::quote - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_eq.html b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_eq.html index e7e945ebb160..9520df39088e 100644 --- a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_eq.html +++ b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_eq.html @@ -1,4 +1,4 @@ -trade_tick_eq in nautilus_model::ffi::data::trade - Rust +trade_tick_eq in nautilus_model::ffi::data::trade - Rust
    #[no_mangle]
     pub extern "C" fn trade_tick_eq(
         lhs: &TradeTick,
    diff --git a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_hash.html b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_hash.html
    index 68aab678a431..6b93cf70d690 100644
    --- a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_hash.html
    +++ b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_hash.html
    @@ -1,3 +1,3 @@
    -trade_tick_hash in nautilus_model::ffi::data::trade - Rust
    +trade_tick_hash in nautilus_model::ffi::data::trade - Rust
         
    #[no_mangle]
     pub extern "C" fn trade_tick_hash(delta: &TradeTick) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_new.html b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_new.html index 07295de41882..8934b8842581 100644 --- a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_new.html +++ b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_new.html @@ -1,4 +1,4 @@ -trade_tick_new in nautilus_model::ffi::data::trade - Rust +trade_tick_new in nautilus_model::ffi::data::trade - Rust
    #[no_mangle]
     pub extern "C" fn trade_tick_new(
         instrument_id: InstrumentId,
    diff --git a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_to_cstr.html b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_to_cstr.html
    index a625ad67dc1b..e8fb40fd67d7 100644
    --- a/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/data/trade/fn.trade_tick_to_cstr.html
    @@ -1,4 +1,4 @@
    -trade_tick_to_cstr in nautilus_model::ffi::data::trade - Rust
    +trade_tick_to_cstr in nautilus_model::ffi::data::trade - Rust
         
    #[no_mangle]
     pub extern "C" fn trade_tick_to_cstr(
         tick: &TradeTick
    diff --git a/nightly/core/nautilus_model/ffi/data/trade/index.html b/nightly/core/nautilus_model/ffi/data/trade/index.html
    index e1fbf87e9889..de4b62abe304 100644
    --- a/nightly/core/nautilus_model/ffi/data/trade/index.html
    +++ b/nightly/core/nautilus_model/ffi/data/trade/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::data::trade - Rust
    +nautilus_model::ffi::data::trade - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/enums/fn.account_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.account_type_from_cstr.html index a154a1c7ef11..2f0b8985a4fb 100644 --- a/nightly/core/nautilus_model/ffi/enums/fn.account_type_from_cstr.html +++ b/nightly/core/nautilus_model/ffi/enums/fn.account_type_from_cstr.html @@ -1,4 +1,4 @@ -account_type_from_cstr in nautilus_model::ffi::enums - Rust +account_type_from_cstr in nautilus_model::ffi::enums - Rust
    #[no_mangle]
     pub unsafe extern "C" fn account_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.account_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.account_type_to_cstr.html
    index c158703ab234..79f289116652 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.account_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.account_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -account_type_to_cstr in nautilus_model::ffi::enums - Rust
    +account_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn account_type_to_cstr(
         value: AccountType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_from_cstr.html
    index 6912e1cd2e4e..ef11bc5030c0 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_from_cstr.html
    @@ -1,4 +1,4 @@
    -aggregation_source_from_cstr in nautilus_model::ffi::enums - Rust
    +aggregation_source_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn aggregation_source_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_to_cstr.html
    index 619a34e78f67..e18854783650 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.aggregation_source_to_cstr.html
    @@ -1,4 +1,4 @@
    -aggregation_source_to_cstr in nautilus_model::ffi::enums - Rust
    +aggregation_source_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn aggregation_source_to_cstr(
         value: AggregationSource
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_from_cstr.html
    index 69ba779d16ef..a39e5745f212 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_from_cstr.html
    @@ -1,4 +1,4 @@
    -aggressor_side_from_cstr in nautilus_model::ffi::enums - Rust
    +aggressor_side_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn aggressor_side_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_to_cstr.html
    index 0373a5d80f8d..6e5d83529bde 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.aggressor_side_to_cstr.html
    @@ -1,4 +1,4 @@
    -aggressor_side_to_cstr in nautilus_model::ffi::enums - Rust
    +aggressor_side_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn aggressor_side_to_cstr(
         value: AggressorSide
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.asset_class_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.asset_class_from_cstr.html
    index 4b74a6ca6aad..d39815d89ac5 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.asset_class_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.asset_class_from_cstr.html
    @@ -1,4 +1,4 @@
    -asset_class_from_cstr in nautilus_model::ffi::enums - Rust
    +asset_class_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn asset_class_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.asset_class_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.asset_class_to_cstr.html
    index ebdc58c8cb1a..b8a2d6bbf183 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.asset_class_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.asset_class_to_cstr.html
    @@ -1,4 +1,4 @@
    -asset_class_to_cstr in nautilus_model::ffi::enums - Rust
    +asset_class_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn asset_class_to_cstr(
         value: AssetClass
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_from_cstr.html
    index cd2bd5c31ac4..ab6633cbe13e 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_from_cstr.html
    @@ -1,4 +1,4 @@
    -bar_aggregation_from_cstr in nautilus_model::ffi::enums - Rust
    +bar_aggregation_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn bar_aggregation_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_to_cstr.html
    index cde5993c057e..e8fd810d34a2 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.bar_aggregation_to_cstr.html
    @@ -1,4 +1,4 @@
    -bar_aggregation_to_cstr in nautilus_model::ffi::enums - Rust
    +bar_aggregation_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn bar_aggregation_to_cstr(
         value: BarAggregation
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.book_action_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.book_action_from_cstr.html
    index cd594b2749ba..3ff16203ae8f 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.book_action_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.book_action_from_cstr.html
    @@ -1,4 +1,4 @@
    -book_action_from_cstr in nautilus_model::ffi::enums - Rust
    +book_action_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn book_action_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.book_action_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.book_action_to_cstr.html
    index 58e22e85c9b3..66e5c3e7618a 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.book_action_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.book_action_to_cstr.html
    @@ -1,4 +1,4 @@
    -book_action_to_cstr in nautilus_model::ffi::enums - Rust
    +book_action_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn book_action_to_cstr(
         value: BookAction
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.book_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.book_type_from_cstr.html
    index a0ee92e0a5a2..96ed41387f53 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.book_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.book_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -book_type_from_cstr in nautilus_model::ffi::enums - Rust
    +book_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn book_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.book_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.book_type_to_cstr.html
    index 8894a87eb6eb..074744526467 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.book_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.book_type_to_cstr.html
    @@ -1,3 +1,3 @@
    -book_type_to_cstr in nautilus_model::ffi::enums - Rust
    +book_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn book_type_to_cstr(value: BookType) -> *const c_char
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_from_cstr.html index 4a4438ed32b9..cc0248a17518 100644 --- a/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_from_cstr.html +++ b/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_from_cstr.html @@ -1,4 +1,4 @@ -contingency_type_from_cstr in nautilus_model::ffi::enums - Rust +contingency_type_from_cstr in nautilus_model::ffi::enums - Rust
    #[no_mangle]
     pub unsafe extern "C" fn contingency_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_to_cstr.html
    index 45ae24127a96..632c9655cfbb 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.contingency_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -contingency_type_to_cstr in nautilus_model::ffi::enums - Rust
    +contingency_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn contingency_type_to_cstr(
         value: ContingencyType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.currency_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.currency_type_from_cstr.html
    index 806be3bcc9ad..b836a5006f40 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.currency_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.currency_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -currency_type_from_cstr in nautilus_model::ffi::enums - Rust
    +currency_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn currency_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.currency_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.currency_type_to_cstr.html
    index b01b9e1440d1..2086238cfd02 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.currency_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.currency_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -currency_type_to_cstr in nautilus_model::ffi::enums - Rust
    +currency_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn currency_type_to_cstr(
         value: CurrencyType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_from_cstr.html
    index bf1054eed09b..f20950b62a11 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_from_cstr.html
    @@ -1,4 +1,4 @@
    -halt_reason_from_cstr in nautilus_model::ffi::enums - Rust
    +halt_reason_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn halt_reason_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_to_cstr.html
    index 8b0751ac5aec..b70b38782bc1 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.halt_reason_to_cstr.html
    @@ -1,4 +1,4 @@
    -halt_reason_to_cstr in nautilus_model::ffi::enums - Rust
    +halt_reason_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn halt_reason_to_cstr(
         value: HaltReason
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_from_cstr.html
    index 61dbeebe43eb..e3b18d491f5a 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_from_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_class_from_cstr in nautilus_model::ffi::enums - Rust
    +instrument_class_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn instrument_class_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_to_cstr.html
    index 7b068d0f7609..4bbf068424d7 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.instrument_class_to_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_class_to_cstr in nautilus_model::ffi::enums - Rust
    +instrument_class_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_class_to_cstr(
         value: InstrumentClass
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_from_cstr.html
    index 397e256fcda9..d9589fcec651 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_close_type_from_cstr in nautilus_model::ffi::enums - Rust
    +instrument_close_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn instrument_close_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_to_cstr.html
    index 5599dcfff12e..9ac58ca1549f 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.instrument_close_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_close_type_to_cstr in nautilus_model::ffi::enums - Rust
    +instrument_close_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_close_type_to_cstr(
         value: InstrumentCloseType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_from_cstr.html
    index cb57e1fa84e2..819ed5801c82 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_from_cstr.html
    @@ -1,4 +1,4 @@
    -liquidity_side_from_cstr in nautilus_model::ffi::enums - Rust
    +liquidity_side_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn liquidity_side_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_to_cstr.html
    index 679a535a802e..d6397cbe2ff6 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.liquidity_side_to_cstr.html
    @@ -1,4 +1,4 @@
    -liquidity_side_to_cstr in nautilus_model::ffi::enums - Rust
    +liquidity_side_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn liquidity_side_to_cstr(
         value: LiquiditySide
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.market_status_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.market_status_from_cstr.html
    index ebe1e1dc22fd..0bc2f5e0711d 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.market_status_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.market_status_from_cstr.html
    @@ -1,4 +1,4 @@
    -market_status_from_cstr in nautilus_model::ffi::enums - Rust
    +market_status_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn market_status_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.market_status_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.market_status_to_cstr.html
    index 86bdc5d88ab0..3538e52de0c1 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.market_status_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.market_status_to_cstr.html
    @@ -1,4 +1,4 @@
    -market_status_to_cstr in nautilus_model::ffi::enums - Rust
    +market_status_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn market_status_to_cstr(
         value: MarketStatus
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.oms_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.oms_type_from_cstr.html
    index 3eafe81a49e4..33c593bdfe9f 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.oms_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.oms_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -oms_type_from_cstr in nautilus_model::ffi::enums - Rust
    +oms_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn oms_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.oms_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.oms_type_to_cstr.html
    index 366ca2d65c3d..51bc9493ba84 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.oms_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.oms_type_to_cstr.html
    @@ -1,3 +1,3 @@
    -oms_type_to_cstr in nautilus_model::ffi::enums - Rust
    +oms_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn oms_type_to_cstr(value: OmsType) -> *const c_char
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/enums/fn.option_kind_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.option_kind_from_cstr.html index 3a7aa3eb5acf..204eaa12d2b1 100644 --- a/nightly/core/nautilus_model/ffi/enums/fn.option_kind_from_cstr.html +++ b/nightly/core/nautilus_model/ffi/enums/fn.option_kind_from_cstr.html @@ -1,4 +1,4 @@ -option_kind_from_cstr in nautilus_model::ffi::enums - Rust +option_kind_from_cstr in nautilus_model::ffi::enums - Rust
    #[no_mangle]
     pub unsafe extern "C" fn option_kind_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.option_kind_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.option_kind_to_cstr.html
    index 11b513e207c6..b91375075fce 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.option_kind_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.option_kind_to_cstr.html
    @@ -1,4 +1,4 @@
    -option_kind_to_cstr in nautilus_model::ffi::enums - Rust
    +option_kind_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn option_kind_to_cstr(
         value: OptionKind
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_side_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_side_from_cstr.html
    index 65e732353796..e9266d8e4ae6 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_side_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_side_from_cstr.html
    @@ -1,4 +1,4 @@
    -order_side_from_cstr in nautilus_model::ffi::enums - Rust
    +order_side_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn order_side_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_side_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_side_to_cstr.html
    index aca8c3871c88..4c7c8b2f6f35 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_side_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_side_to_cstr.html
    @@ -1,4 +1,4 @@
    -order_side_to_cstr in nautilus_model::ffi::enums - Rust
    +order_side_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn order_side_to_cstr(
         value: OrderSide
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_status_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_status_from_cstr.html
    index 324da6479b47..259ccfef9e9b 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_status_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_status_from_cstr.html
    @@ -1,4 +1,4 @@
    -order_status_from_cstr in nautilus_model::ffi::enums - Rust
    +order_status_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn order_status_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_status_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_status_to_cstr.html
    index 27f29b2e3929..be9e047a82d4 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_status_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_status_to_cstr.html
    @@ -1,4 +1,4 @@
    -order_status_to_cstr in nautilus_model::ffi::enums - Rust
    +order_status_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn order_status_to_cstr(
         value: OrderStatus
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_type_from_cstr.html
    index 869485b49755..2b538d5b3d39 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -order_type_from_cstr in nautilus_model::ffi::enums - Rust
    +order_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn order_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.order_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.order_type_to_cstr.html
    index 516177f33dcc..edbf36357ec8 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.order_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.order_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -order_type_to_cstr in nautilus_model::ffi::enums - Rust
    +order_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn order_type_to_cstr(
         value: OrderType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.position_side_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.position_side_from_cstr.html
    index fdcccb22cc9a..7a2fcb4d738b 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.position_side_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.position_side_from_cstr.html
    @@ -1,4 +1,4 @@
    -position_side_from_cstr in nautilus_model::ffi::enums - Rust
    +position_side_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn position_side_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.position_side_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.position_side_to_cstr.html
    index c9760ccd8f92..db4baac2d07a 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.position_side_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.position_side_to_cstr.html
    @@ -1,4 +1,4 @@
    -position_side_to_cstr in nautilus_model::ffi::enums - Rust
    +position_side_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn position_side_to_cstr(
         value: PositionSide
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.price_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.price_type_from_cstr.html
    index 4541872c4126..a5aabb4cd0bc 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.price_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.price_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -price_type_from_cstr in nautilus_model::ffi::enums - Rust
    +price_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn price_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.price_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.price_type_to_cstr.html
    index f19dcbe09ce6..11465f29d6a9 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.price_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.price_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -price_type_to_cstr in nautilus_model::ffi::enums - Rust
    +price_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn price_type_to_cstr(
         value: PriceType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_from_cstr.html
    index 186c50606611..8bec6404278e 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_from_cstr.html
    @@ -1,4 +1,4 @@
    -time_in_force_from_cstr in nautilus_model::ffi::enums - Rust
    +time_in_force_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn time_in_force_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_to_cstr.html
    index beb761a0b3c2..c34526aab7f2 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.time_in_force_to_cstr.html
    @@ -1,4 +1,4 @@
    -time_in_force_to_cstr in nautilus_model::ffi::enums - Rust
    +time_in_force_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn time_in_force_to_cstr(
         value: TimeInForce
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trading_state_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trading_state_from_cstr.html
    index a113c816f472..70836c7dc12f 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trading_state_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trading_state_from_cstr.html
    @@ -1,4 +1,4 @@
    -trading_state_from_cstr in nautilus_model::ffi::enums - Rust
    +trading_state_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn trading_state_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trading_state_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trading_state_to_cstr.html
    index b0a6ac978d18..a4481c8ac042 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trading_state_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trading_state_to_cstr.html
    @@ -1,4 +1,4 @@
    -trading_state_to_cstr in nautilus_model::ffi::enums - Rust
    +trading_state_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn trading_state_to_cstr(
         value: TradingState
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_from_cstr.html
    index 7451b3200abe..b1c28a5428ee 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -trailing_offset_type_from_cstr in nautilus_model::ffi::enums - Rust
    +trailing_offset_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn trailing_offset_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_to_cstr.html
    index 97e611043ca2..dcd5c7b5ad5f 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trailing_offset_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -trailing_offset_type_to_cstr in nautilus_model::ffi::enums - Rust
    +trailing_offset_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn trailing_offset_type_to_cstr(
         value: TrailingOffsetType
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_from_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_from_cstr.html
    index 5ace3ce6bb08..0d783f17ec6a 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_from_cstr.html
    @@ -1,4 +1,4 @@
    -trigger_type_from_cstr in nautilus_model::ffi::enums - Rust
    +trigger_type_from_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn trigger_type_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_to_cstr.html b/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_to_cstr.html
    index a24ef4cd92c8..97a9114fad52 100644
    --- a/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/enums/fn.trigger_type_to_cstr.html
    @@ -1,4 +1,4 @@
    -trigger_type_to_cstr in nautilus_model::ffi::enums - Rust
    +trigger_type_to_cstr in nautilus_model::ffi::enums - Rust
         
    #[no_mangle]
     pub extern "C" fn trigger_type_to_cstr(
         value: TriggerType
    diff --git a/nightly/core/nautilus_model/ffi/enums/index.html b/nightly/core/nautilus_model/ffi/enums/index.html
    index 3085c1731afb..fec3105c8d3e 100644
    --- a/nightly/core/nautilus_model/ffi/enums/index.html
    +++ b/nightly/core/nautilus_model/ffi/enums/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::enums - Rust
    +nautilus_model::ffi::enums - Rust
         

    Module nautilus_model::ffi::enums

    source ·

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/events/index.html b/nightly/core/nautilus_model/ffi/events/index.html index 8f12ecb1c8de..5861ad761368 100644 --- a/nightly/core/nautilus_model/ffi/events/index.html +++ b/nightly/core/nautilus_model/ffi/events/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::events - Rust +nautilus_model::ffi::events - Rust

    Module nautilus_model::ffi::events

    source ·

    Modules§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_accepted_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_accepted_new.html index 893624884cc0..3f6b280dfd3b 100644 --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_accepted_new.html +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_accepted_new.html @@ -1,4 +1,4 @@ -order_accepted_new in nautilus_model::ffi::events::order - Rust +order_accepted_new in nautilus_model::ffi::events::order - Rust
    #[no_mangle]
     pub extern "C" fn order_accepted_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_denied_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_denied_new.html
    index f33e4877acb9..631abfd6cb41 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_denied_new.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_denied_new.html
    @@ -1,4 +1,4 @@
    -order_denied_new in nautilus_model::ffi::events::order - Rust
    +order_denied_new in nautilus_model::ffi::events::order - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn order_denied_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_emulated_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_emulated_new.html
    index d722ae3aabeb..36563fa7a573 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_emulated_new.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_emulated_new.html
    @@ -1,4 +1,4 @@
    -order_emulated_new in nautilus_model::ffi::events::order - Rust
    +order_emulated_new in nautilus_model::ffi::events::order - Rust
         
    #[no_mangle]
     pub extern "C" fn order_emulated_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_rejected_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_rejected_new.html
    index eb2c2c826735..6f9982335a7e 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_rejected_new.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_rejected_new.html
    @@ -1,4 +1,4 @@
    -order_rejected_new in nautilus_model::ffi::events::order - Rust
    +order_rejected_new in nautilus_model::ffi::events::order - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn order_rejected_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_released_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_released_new.html
    index 49d04515cd88..eec67137ddcb 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_released_new.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_released_new.html
    @@ -1,4 +1,4 @@
    -order_released_new in nautilus_model::ffi::events::order - Rust
    +order_released_new in nautilus_model::ffi::events::order - Rust
         
    #[no_mangle]
     pub extern "C" fn order_released_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/fn.order_submitted_new.html b/nightly/core/nautilus_model/ffi/events/order/fn.order_submitted_new.html
    index f62f753d7436..67420a9d8315 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/fn.order_submitted_new.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/fn.order_submitted_new.html
    @@ -1,4 +1,4 @@
    -order_submitted_new in nautilus_model::ffi::events::order - Rust
    +order_submitted_new in nautilus_model::ffi::events::order - Rust
         
    #[no_mangle]
     pub extern "C" fn order_submitted_new(
         trader_id: TraderId,
    diff --git a/nightly/core/nautilus_model/ffi/events/order/index.html b/nightly/core/nautilus_model/ffi/events/order/index.html
    index dd22594a194a..0264ad282888 100644
    --- a/nightly/core/nautilus_model/ffi/events/order/index.html
    +++ b/nightly/core/nautilus_model/ffi/events/order/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::events::order - Rust
    +nautilus_model::ffi::events::order - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_hash.html index ea729cb41510..93167160f167 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_hash.html @@ -1,3 +1,3 @@ -account_id_hash in nautilus_model::ffi::identifiers::account_id - Rust +account_id_hash in nautilus_model::ffi::identifiers::account_id - Rust
    #[no_mangle]
     pub extern "C" fn account_id_hash(id: &AccountId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_new.html index 5beac8440db6..887a1d8db434 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/account_id/fn.account_id_new.html @@ -1,4 +1,4 @@ -account_id_new in nautilus_model::ffi::identifiers::account_id - Rust +account_id_new in nautilus_model::ffi::identifiers::account_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn account_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/account_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/account_id/index.html
    index e72a4cd7eb55..7f82bd4722a4 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/account_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/account_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::account_id - Rust
    +nautilus_model::ffi::identifiers::account_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_hash.html index e68807dcdf07..a96e93f0aa34 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_hash.html @@ -1,3 +1,3 @@ -client_id_hash in nautilus_model::ffi::identifiers::client_id - Rust +client_id_hash in nautilus_model::ffi::identifiers::client_id - Rust
    #[no_mangle]
     pub extern "C" fn client_id_hash(id: &ClientId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_new.html index ed18db863b57..4ab14a43cb33 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/client_id/fn.client_id_new.html @@ -1,4 +1,4 @@ -client_id_new in nautilus_model::ffi::identifiers::client_id - Rust +client_id_new in nautilus_model::ffi::identifiers::client_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn client_id_new(ptr: *const c_char) -> ClientId
    Expand description

    Returns a Nautilus identifier from C string pointer.

    §Safety

    diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/client_id/index.html index 047114427459..d67fc64d8a9e 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/client_id/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/client_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers::client_id - Rust +nautilus_model::ffi::identifiers::client_id - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_hash.html index 930ee9385f50..b042cb4a9e46 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_hash.html @@ -1,3 +1,3 @@ -client_order_id_hash in nautilus_model::ffi::identifiers::client_order_id - Rust +client_order_id_hash in nautilus_model::ffi::identifiers::client_order_id - Rust
    #[no_mangle]
     pub extern "C" fn client_order_id_hash(id: &ClientOrderId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_new.html index bd2cdd665327..c58d99f247e8 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/fn.client_order_id_new.html @@ -1,4 +1,4 @@ -client_order_id_new in nautilus_model::ffi::identifiers::client_order_id - Rust +client_order_id_new in nautilus_model::ffi::identifiers::client_order_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn client_order_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/index.html
    index 146a7ac5e9cf..b84562d59bda 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/client_order_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/client_order_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::client_order_id - Rust
    +nautilus_model::ffi::identifiers::client_order_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_hash.html index de460b0ab86c..12165fc27266 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_hash.html @@ -1,3 +1,3 @@ -component_id_hash in nautilus_model::ffi::identifiers::component_id - Rust +component_id_hash in nautilus_model::ffi::identifiers::component_id - Rust
    #[no_mangle]
     pub extern "C" fn component_id_hash(id: &ComponentId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_new.html index db57c28e96db..d2acea20d389 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/component_id/fn.component_id_new.html @@ -1,4 +1,4 @@ -component_id_new in nautilus_model::ffi::identifiers::component_id - Rust +component_id_new in nautilus_model::ffi::identifiers::component_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn component_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/component_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/component_id/index.html
    index 2b5f66d4d6ab..b0fb4fdbfacb 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/component_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/component_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::component_id - Rust
    +nautilus_model::ffi::identifiers::component_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_hash.html index 76b437114419..388d082b2203 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_hash.html @@ -1,3 +1,3 @@ -exec_algorithm_id_hash in nautilus_model::ffi::identifiers::exec_algorithm_id - Rust +exec_algorithm_id_hash in nautilus_model::ffi::identifiers::exec_algorithm_id - Rust
    #[no_mangle]
     pub extern "C" fn exec_algorithm_id_hash(id: &ExecAlgorithmId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_new.html index c475bb5974fd..35c2a34e19cb 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/fn.exec_algorithm_id_new.html @@ -1,4 +1,4 @@ -exec_algorithm_id_new in nautilus_model::ffi::identifiers::exec_algorithm_id - Rust +exec_algorithm_id_new in nautilus_model::ffi::identifiers::exec_algorithm_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn exec_algorithm_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/index.html
    index 3ded5f7d5029..94d20f39088f 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/exec_algorithm_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::exec_algorithm_id - Rust
    +nautilus_model::ffi::identifiers::exec_algorithm_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/index.html b/nightly/core/nautilus_model/ffi/identifiers/index.html index 6526736b5721..90466e072b03 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers - Rust +nautilus_model::ffi::identifiers - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_check_parsing.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_check_parsing.html index c669fefc6a8c..16afcc7fb64f 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_check_parsing.html +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_check_parsing.html @@ -1,4 +1,4 @@ -instrument_id_check_parsing in nautilus_model::ffi::identifiers::instrument_id - Rust +instrument_id_check_parsing in nautilus_model::ffi::identifiers::instrument_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn instrument_id_check_parsing(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_from_cstr.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_from_cstr.html
    index fc93f1a1e02b..09fd72038bb7 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_from_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_id_from_cstr in nautilus_model::ffi::identifiers::instrument_id - Rust
    +instrument_id_from_cstr in nautilus_model::ffi::identifiers::instrument_id - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn instrument_id_from_cstr(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_hash.html
    index d9ef92210340..118dd872f1f7 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_hash.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_hash.html
    @@ -1,4 +1,4 @@
    -instrument_id_hash in nautilus_model::ffi::identifiers::instrument_id - Rust
    +instrument_id_hash in nautilus_model::ffi::identifiers::instrument_id - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_id_hash(
         instrument_id: &InstrumentId
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_is_synthetic.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_is_synthetic.html
    index f18b57d7319a..c7aa3faa9a47 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_is_synthetic.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_is_synthetic.html
    @@ -1,4 +1,4 @@
    -instrument_id_is_synthetic in nautilus_model::ffi::identifiers::instrument_id - Rust
    +instrument_id_is_synthetic in nautilus_model::ffi::identifiers::instrument_id - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_id_is_synthetic(
         instrument_id: &InstrumentId
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_new.html
    index 252910f5dde8..ec27b10fca17 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_new.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_new.html
    @@ -1,4 +1,4 @@
    -instrument_id_new in nautilus_model::ffi::identifiers::instrument_id - Rust
    +instrument_id_new in nautilus_model::ffi::identifiers::instrument_id - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_id_new(
         symbol: Symbol,
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_to_cstr.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_to_cstr.html
    index db156f6d336a..d27140022a29 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/fn.instrument_id_to_cstr.html
    @@ -1,4 +1,4 @@
    -instrument_id_to_cstr in nautilus_model::ffi::identifiers::instrument_id - Rust
    +instrument_id_to_cstr in nautilus_model::ffi::identifiers::instrument_id - Rust
         
    #[no_mangle]
     pub extern "C" fn instrument_id_to_cstr(
         instrument_id: &InstrumentId
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/index.html
    index a3a496e9908d..787df26fe28a 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/instrument_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/instrument_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::instrument_id - Rust
    +nautilus_model::ffi::identifiers::instrument_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_hash.html index 58dd7b450ae3..8339f3f3325f 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_hash.html @@ -1,3 +1,3 @@ -order_list_id_hash in nautilus_model::ffi::identifiers::order_list_id - Rust +order_list_id_hash in nautilus_model::ffi::identifiers::order_list_id - Rust
    #[no_mangle]
     pub extern "C" fn order_list_id_hash(id: &OrderListId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_new.html index be1622c70968..48c53f2cc1b9 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/fn.order_list_id_new.html @@ -1,4 +1,4 @@ -order_list_id_new in nautilus_model::ffi::identifiers::order_list_id - Rust +order_list_id_new in nautilus_model::ffi::identifiers::order_list_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn order_list_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/index.html
    index 657b40494f96..1bbbb82f4c25 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/order_list_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/order_list_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::order_list_id - Rust
    +nautilus_model::ffi::identifiers::order_list_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_hash.html index e55f8046d282..b03496aed877 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_hash.html @@ -1,3 +1,3 @@ -position_id_hash in nautilus_model::ffi::identifiers::position_id - Rust +position_id_hash in nautilus_model::ffi::identifiers::position_id - Rust
    #[no_mangle]
     pub extern "C" fn position_id_hash(id: &PositionId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_new.html index 2e3fcb0fc2d9..6fefbbcd425e 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/position_id/fn.position_id_new.html @@ -1,4 +1,4 @@ -position_id_new in nautilus_model::ffi::identifiers::position_id - Rust +position_id_new in nautilus_model::ffi::identifiers::position_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn position_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/position_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/position_id/index.html
    index 76302c77c211..447ee578fc10 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/position_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/position_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::position_id - Rust
    +nautilus_model::ffi::identifiers::position_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_hash.html index 5f9f0fb8da57..e27367ad7879 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_hash.html @@ -1,3 +1,3 @@ -strategy_id_hash in nautilus_model::ffi::identifiers::strategy_id - Rust +strategy_id_hash in nautilus_model::ffi::identifiers::strategy_id - Rust
    #[no_mangle]
     pub extern "C" fn strategy_id_hash(id: &StrategyId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_new.html index b9d8dc335454..260619917fac 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/fn.strategy_id_new.html @@ -1,4 +1,4 @@ -strategy_id_new in nautilus_model::ffi::identifiers::strategy_id - Rust +strategy_id_new in nautilus_model::ffi::identifiers::strategy_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn strategy_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/index.html
    index 88bef94cf929..7f699e95d5eb 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/strategy_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/strategy_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::strategy_id - Rust
    +nautilus_model::ffi::identifiers::strategy_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_hash.html b/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_hash.html index 49264e69bb5c..84033fe1697a 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_hash.html @@ -1,3 +1,3 @@ -symbol_hash in nautilus_model::ffi::identifiers::symbol - Rust +symbol_hash in nautilus_model::ffi::identifiers::symbol - Rust
    #[no_mangle]
     pub extern "C" fn symbol_hash(id: &Symbol) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_new.html b/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_new.html index 88aaf24e6520..2e8b79cbaf0a 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/symbol/fn.symbol_new.html @@ -1,4 +1,4 @@ -symbol_new in nautilus_model::ffi::identifiers::symbol - Rust +symbol_new in nautilus_model::ffi::identifiers::symbol - Rust
    #[no_mangle]
     pub unsafe extern "C" fn symbol_new(ptr: *const c_char) -> Symbol
    Expand description

    Returns a Nautilus identifier from a C string pointer.

    §Safety

    diff --git a/nightly/core/nautilus_model/ffi/identifiers/symbol/index.html b/nightly/core/nautilus_model/ffi/identifiers/symbol/index.html index 5ad4214f8e7d..de97de3ee723 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/symbol/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/symbol/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers::symbol - Rust +nautilus_model::ffi::identifiers::symbol - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_hash.html index a9939138a30f..e0c338f5093b 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_hash.html @@ -1,3 +1,3 @@ -trade_id_hash in nautilus_model::ffi::identifiers::trade_id - Rust +trade_id_hash in nautilus_model::ffi::identifiers::trade_id - Rust
    #[no_mangle]
     pub extern "C" fn trade_id_hash(id: &TradeId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_new.html index 3e54fa0cc199..dc1839d0b311 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trade_id/fn.trade_id_new.html @@ -1,4 +1,4 @@ -trade_id_new in nautilus_model::ffi::identifiers::trade_id - Rust +trade_id_new in nautilus_model::ffi::identifiers::trade_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn trade_id_new(ptr: *const c_char) -> TradeId
    Expand description

    Returns a Nautilus identifier from a C string pointer.

    §Safety

    diff --git a/nightly/core/nautilus_model/ffi/identifiers/trade_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/trade_id/index.html index bd325527e2d6..34821f0abdf0 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trade_id/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trade_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers::trade_id - Rust +nautilus_model::ffi::identifiers::trade_id - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_hash.html index 2938f6621803..b24746267a89 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_hash.html @@ -1,3 +1,3 @@ -trader_id_hash in nautilus_model::ffi::identifiers::trader_id - Rust +trader_id_hash in nautilus_model::ffi::identifiers::trader_id - Rust
    #[no_mangle]
     pub extern "C" fn trader_id_hash(id: &TraderId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_new.html index e0c9e36ad38d..d5bcfe2f2f06 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trader_id/fn.trader_id_new.html @@ -1,4 +1,4 @@ -trader_id_new in nautilus_model::ffi::identifiers::trader_id - Rust +trader_id_new in nautilus_model::ffi::identifiers::trader_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn trader_id_new(ptr: *const c_char) -> TraderId
    Expand description

    Returns a Nautilus identifier from a C string pointer.

    §Safety

    diff --git a/nightly/core/nautilus_model/ffi/identifiers/trader_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/trader_id/index.html index d2cabb08b1d2..8ad3a80d8e72 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/trader_id/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/trader_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers::trader_id - Rust +nautilus_model::ffi::identifiers::trader_id - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_hash.html b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_hash.html index 313b4ab2b4a4..7e17ba3a0b4a 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_hash.html @@ -1,3 +1,3 @@ -venue_hash in nautilus_model::ffi::identifiers::venue - Rust +venue_hash in nautilus_model::ffi::identifiers::venue - Rust
    #[no_mangle]
     pub extern "C" fn venue_hash(id: &Venue) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_is_synthetic.html b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_is_synthetic.html index 69f487574a52..14da33bf09e5 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_is_synthetic.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_is_synthetic.html @@ -1,3 +1,3 @@ -venue_is_synthetic in nautilus_model::ffi::identifiers::venue - Rust +venue_is_synthetic in nautilus_model::ffi::identifiers::venue - Rust
    #[no_mangle]
     pub extern "C" fn venue_is_synthetic(venue: &Venue) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_new.html b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_new.html index b33279eff1d1..05f7f0153ecd 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue/fn.venue_new.html @@ -1,4 +1,4 @@ -venue_new in nautilus_model::ffi::identifiers::venue - Rust +venue_new in nautilus_model::ffi::identifiers::venue - Rust
    #[no_mangle]
     pub unsafe extern "C" fn venue_new(ptr: *const c_char) -> Venue
    Expand description

    Returns a Nautilus identifier from a C string pointer.

    §Safety

    diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue/index.html b/nightly/core/nautilus_model/ffi/identifiers/venue/index.html index 51fa74e6b39a..e2387abe24d3 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue/index.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::identifiers::venue - Rust +nautilus_model::ffi::identifiers::venue - Rust

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_hash.html b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_hash.html index 505a9936330c..bf4ace793729 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_hash.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_hash.html @@ -1,3 +1,3 @@ -venue_order_id_hash in nautilus_model::ffi::identifiers::venue_order_id - Rust +venue_order_id_hash in nautilus_model::ffi::identifiers::venue_order_id - Rust
    #[no_mangle]
     pub extern "C" fn venue_order_id_hash(id: &VenueOrderId) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_new.html b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_new.html index 74603c1fb2e3..15a1804a25ce 100644 --- a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_new.html +++ b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/fn.venue_order_id_new.html @@ -1,4 +1,4 @@ -venue_order_id_new in nautilus_model::ffi::identifiers::venue_order_id - Rust +venue_order_id_new in nautilus_model::ffi::identifiers::venue_order_id - Rust
    #[no_mangle]
     pub unsafe extern "C" fn venue_order_id_new(
         ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/index.html b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/index.html
    index ad121314465e..e30300b0f668 100644
    --- a/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/index.html
    +++ b/nightly/core/nautilus_model/ffi/identifiers/venue_order_id/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::identifiers::venue_order_id - Rust
    +nautilus_model::ffi::identifiers::venue_order_id - Rust
         

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/index.html b/nightly/core/nautilus_model/ffi/index.html index 24e41529465a..0a2023570fec 100644 --- a/nightly/core/nautilus_model/ffi/index.html +++ b/nightly/core/nautilus_model/ffi/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi - Rust +nautilus_model::ffi - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/instruments/index.html b/nightly/core/nautilus_model/ffi/instruments/index.html index 8657afad5139..39f505696738 100644 --- a/nightly/core/nautilus_model/ffi/instruments/index.html +++ b/nightly/core/nautilus_model/ffi/instruments/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::instruments - Rust +nautilus_model::ffi::instruments - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_calculate.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_calculate.html index 81c7b3dc8714..055f84e8c39a 100644 --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_calculate.html +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_calculate.html @@ -1,4 +1,4 @@ -synthetic_instrument_calculate in nautilus_model::ffi::instruments::synthetic - Rust +synthetic_instrument_calculate in nautilus_model::ffi::instruments::synthetic - Rust
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_calculate(
         synth: &mut SyntheticInstrument_API,
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_change_formula.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_change_formula.html
    index 73c98d8bacef..4bb2d1dc805e 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_change_formula.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_change_formula.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_change_formula in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_change_formula in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn synthetic_instrument_change_formula(
         synth: &mut SyntheticInstrument_API,
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_count.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_count.html
    index 29b31b6136c3..a04276c60912 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_count.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_count.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_components_count in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_components_count in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_components_count(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_to_cstr.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_to_cstr.html
    index 27b836bb807f..b13554cbf9e9 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_components_to_cstr.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_components_to_cstr in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_components_to_cstr in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_components_to_cstr(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_drop.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_drop.html
    index b088a0193540..5d8f7bf4bec1 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_drop.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_drop.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_drop in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_drop in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_drop(
         synth: SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_formula_to_cstr.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_formula_to_cstr.html
    index 10df1eef6b7f..77cc148996f9 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_formula_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_formula_to_cstr.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_formula_to_cstr in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_formula_to_cstr in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_formula_to_cstr(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_id.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_id.html
    index d2113b292d14..9236b62043a3 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_id.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_id.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_id in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_id in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_id(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_is_valid_formula.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_is_valid_formula.html
    index 9dab99cee546..d142ea7ce51d 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_is_valid_formula.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_is_valid_formula.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_is_valid_formula in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_is_valid_formula in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn synthetic_instrument_is_valid_formula(
         synth: &SyntheticInstrument_API,
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_new.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_new.html
    index a216949a4cda..c6e3fd5e6182 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_new.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_new.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_new in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_new in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn synthetic_instrument_new(
         symbol: Symbol,
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_increment.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_increment.html
    index fe934ae81fa8..9434660a70b1 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_increment.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_increment.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_price_increment in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_price_increment in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_price_increment(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_precision.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_precision.html
    index bcf140bdeee2..fdb39ea24e4f 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_precision.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_price_precision.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_price_precision in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_price_precision in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_price_precision(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_event.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_event.html
    index 4614e8fb0e6d..3ea04dba00b9 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_event.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_event.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_ts_event in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_ts_event in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_ts_event(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_init.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_init.html
    index f0c7d82cec70..84b724ed45ba 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_init.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/fn.synthetic_instrument_ts_init.html
    @@ -1,4 +1,4 @@
    -synthetic_instrument_ts_init in nautilus_model::ffi::instruments::synthetic - Rust
    +synthetic_instrument_ts_init in nautilus_model::ffi::instruments::synthetic - Rust
         
    #[no_mangle]
     pub extern "C" fn synthetic_instrument_ts_init(
         synth: &SyntheticInstrument_API
    diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/index.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/index.html
    index 95402613880c..ba5d93df6fa5 100644
    --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/index.html
    +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/index.html
    @@ -1,3 +1,3 @@
    -nautilus_model::ffi::instruments::synthetic - Rust
    +nautilus_model::ffi::instruments::synthetic - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/instruments/synthetic/struct.SyntheticInstrument_API.html b/nightly/core/nautilus_model/ffi/instruments/synthetic/struct.SyntheticInstrument_API.html index 08124cf6195b..5edf9a0acf66 100644 --- a/nightly/core/nautilus_model/ffi/instruments/synthetic/struct.SyntheticInstrument_API.html +++ b/nightly/core/nautilus_model/ffi/instruments/synthetic/struct.SyntheticInstrument_API.html @@ -1,4 +1,4 @@ -SyntheticInstrument_API in nautilus_model::ffi::instruments::synthetic - Rust +SyntheticInstrument_API in nautilus_model::ffi::instruments::synthetic - Rust
    #[repr(C)]
    pub struct SyntheticInstrument_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying SyntheticInstrument.

    This struct wraps SyntheticInstrument in a way that makes it compatible with C function diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_add.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_add.html index 959e6ed09c5d..8dd555235bda 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_add.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_add.html @@ -1,5 +1,5 @@ -orderbook_add in nautilus_model::ffi::orderbook::book - Rust

    -
    #[no_mangle]
    +orderbook_add in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_add(
         book: &mut OrderBook_API,
         order: BookOrder,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_delta.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_delta.html
    index 7653ad079990..fdfabb7e1a07 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_delta.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_delta.html
    @@ -1,5 +1,5 @@
    -orderbook_apply_delta in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_apply_delta in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_apply_delta(
         book: &mut OrderBook_API,
         delta: OrderBookDelta
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_deltas.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_deltas.html
    index d12cd0927f79..b33a92d21f68 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_deltas.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_deltas.html
    @@ -1,5 +1,5 @@
    -orderbook_apply_deltas in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_apply_deltas in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_apply_deltas(
         book: &mut OrderBook_API,
         deltas: &OrderBookDeltas_API
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_depth.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_depth.html
    index 52ef088fa5cd..41f7665108d9 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_depth.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_apply_depth.html
    @@ -1,5 +1,5 @@
    -orderbook_apply_depth in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_apply_depth in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_apply_depth(
         book: &mut OrderBook_API,
         depth: OrderBookDepth10
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_asks.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_asks.html
    index feeb1377ac84..f96dab775308 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_asks.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_asks.html
    @@ -1,3 +1,3 @@
    -orderbook_asks in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_asks in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_asks(book: &mut OrderBook_API) -> CVec
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_price.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_price.html index 02ad1d14766b..cac026ce6951 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_price.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_price.html @@ -1,5 +1,5 @@ -orderbook_best_ask_price in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_best_ask_price in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_best_ask_price(
         book: &mut OrderBook_API
     ) -> Price
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_size.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_size.html index bcfa0f061670..2c19791333dc 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_size.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_ask_size.html @@ -1,5 +1,5 @@ -orderbook_best_ask_size in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_best_ask_size in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_best_ask_size(
         book: &mut OrderBook_API
     ) -> Quantity
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_price.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_price.html index 224ece1ef541..e80e0afd3184 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_price.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_price.html @@ -1,5 +1,5 @@ -orderbook_best_bid_price in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_best_bid_price in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_best_bid_price(
         book: &mut OrderBook_API
     ) -> Price
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_size.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_size.html index 7ee34f57f05b..35f0ae786a6a 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_size.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_best_bid_size.html @@ -1,5 +1,5 @@ -orderbook_best_bid_size in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_best_bid_size in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_best_bid_size(
         book: &mut OrderBook_API
     ) -> Quantity
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_bids.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_bids.html index 1a64ca3e7d4a..f9fa47e84c12 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_bids.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_bids.html @@ -1,3 +1,3 @@ -orderbook_bids in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_bids in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_bids(book: &mut OrderBook_API) -> CVec
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_book_type.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_book_type.html index 766e442d4fa3..9de71e051e3f 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_book_type.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_book_type.html @@ -1,5 +1,5 @@ -orderbook_book_type in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_book_type in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_book_type(
         book: &OrderBook_API
     ) -> BookType
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_check_integrity.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_check_integrity.html index f63a102f6b25..010c0f317de0 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_check_integrity.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_check_integrity.html @@ -1,3 +1,3 @@ -orderbook_check_integrity in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_check_integrity in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_check_integrity(book: &OrderBook_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear.html index 1c02776556bf..765d6570188b 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear.html @@ -1,5 +1,5 @@ -orderbook_clear in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_clear in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_clear(
         book: &mut OrderBook_API,
         ts_event: u64,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_asks.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_asks.html
    index ff6e8352519b..d537718af29f 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_asks.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_asks.html
    @@ -1,5 +1,5 @@
    -orderbook_clear_asks in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_clear_asks in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_clear_asks(
         book: &mut OrderBook_API,
         ts_event: u64,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_bids.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_bids.html
    index 35062c838374..0f8d19a09bdf 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_bids.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_clear_bids.html
    @@ -1,5 +1,5 @@
    -orderbook_clear_bids in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_clear_bids in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_clear_bids(
         book: &mut OrderBook_API,
         ts_event: u64,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_count.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_count.html
    index 1ca5be4471db..dec0d8ca3557 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_count.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_count.html
    @@ -1,3 +1,3 @@
    -orderbook_count in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_count in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_count(book: &OrderBook_API) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_delete.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_delete.html index 124e94d231fc..b09a8bfc2802 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_delete.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_delete.html @@ -1,5 +1,5 @@ -orderbook_delete in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_delete in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_delete(
         book: &mut OrderBook_API,
         order: BookOrder,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_drop.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_drop.html
    index be59ec052306..fa7e4850dce4 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_drop.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_drop.html
    @@ -1,3 +1,3 @@
    -orderbook_drop in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_drop in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_drop(book: OrderBook_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_avg_px_for_quantity.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_avg_px_for_quantity.html index 9ea316d437ea..47d26a530416 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_avg_px_for_quantity.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_avg_px_for_quantity.html @@ -1,5 +1,5 @@ -orderbook_get_avg_px_for_quantity in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_get_avg_px_for_quantity in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_get_avg_px_for_quantity(
         book: &mut OrderBook_API,
         qty: Quantity,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_quantity_for_price.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_quantity_for_price.html
    index 6cefaf4618c4..ceedad9f2943 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_quantity_for_price.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_get_quantity_for_price.html
    @@ -1,5 +1,5 @@
    -orderbook_get_quantity_for_price in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_get_quantity_for_price in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_get_quantity_for_price(
         book: &mut OrderBook_API,
         price: Price,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_ask.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_ask.html
    index e051b1b7df2f..8fe1dde10351 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_ask.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_ask.html
    @@ -1,3 +1,3 @@
    -orderbook_has_ask in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_has_ask in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_has_ask(book: &mut OrderBook_API) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_bid.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_bid.html index ff17658bdeae..1d58af6f764e 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_bid.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_has_bid.html @@ -1,3 +1,3 @@ -orderbook_has_bid in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_has_bid in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_has_bid(book: &mut OrderBook_API) -> u8
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_instrument_id.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_instrument_id.html index 1640b43d6fe9..7666c5e26853 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_instrument_id.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_instrument_id.html @@ -1,5 +1,5 @@ -orderbook_instrument_id in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_instrument_id in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_instrument_id(
         book: &OrderBook_API
     ) -> InstrumentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_midpoint.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_midpoint.html index 40a990689f68..720d1c8c2219 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_midpoint.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_midpoint.html @@ -1,3 +1,3 @@ -orderbook_midpoint in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_midpoint in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_midpoint(book: &mut OrderBook_API) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_new.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_new.html index 94a3099f72ab..24b28a7c2b23 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_new.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_new.html @@ -1,5 +1,5 @@ -orderbook_new in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_new in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_new(
         instrument_id: InstrumentId,
         book_type: BookType
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_pprint_to_cstr.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_pprint_to_cstr.html
    index b97862b09da1..5dd636b0e756 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_pprint_to_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_pprint_to_cstr.html
    @@ -1,7 +1,7 @@
    -orderbook_pprint_to_cstr in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_pprint_to_cstr in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_pprint_to_cstr(
         book: &OrderBook_API,
         num_levels: usize
    -) -> *const c_char
    Expand description

    Returns a pretty printed OrderBook number of levels per side, as a C string pointer.

    +) -> *const c_char
    Expand description

    Returns a pretty printed [OrderBook] number of levels per side, as a C string pointer.

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_reset.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_reset.html index f13828ff49d1..9e13ca909e13 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_reset.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_reset.html @@ -1,3 +1,3 @@ -orderbook_reset in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_reset in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_reset(book: &mut OrderBook_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_sequence.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_sequence.html index 7011899458ed..7ac5783613cc 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_sequence.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_sequence.html @@ -1,3 +1,3 @@ -orderbook_sequence in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_sequence in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_sequence(book: &OrderBook_API) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_simulate_fills.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_simulate_fills.html index aadf87ea8bf0..80412ad0fa3b 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_simulate_fills.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_simulate_fills.html @@ -1,5 +1,5 @@ -orderbook_simulate_fills in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_simulate_fills in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_simulate_fills(
         book: &OrderBook_API,
         order: BookOrder
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_spread.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_spread.html
    index 1ec3de23b5a9..b5cd46e3dee6 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_spread.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_spread.html
    @@ -1,3 +1,3 @@
    -orderbook_spread in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_spread in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_spread(book: &mut OrderBook_API) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_ts_last.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_ts_last.html index 495ee0f0c01a..c75284aa81d8 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_ts_last.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_ts_last.html @@ -1,3 +1,3 @@ -orderbook_ts_last in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_ts_last in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_ts_last(book: &OrderBook_API) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update.html index 3939d6939164..db49f5c660c4 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update.html @@ -1,5 +1,5 @@ -orderbook_update in nautilus_model::ffi::orderbook::book - Rust -
    #[no_mangle]
    +orderbook_update in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_update(
         book: &mut OrderBook_API,
         order: BookOrder,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_quote_tick.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_quote_tick.html
    index 861034a8fd56..7c326f4267d4 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_quote_tick.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_quote_tick.html
    @@ -1,5 +1,5 @@
    -orderbook_update_quote_tick in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_update_quote_tick in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_update_quote_tick(
         book: &mut OrderBook_API,
         tick: &QuoteTick
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_trade_tick.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_trade_tick.html
    index b82341f87001..c4ebb2b36097 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_trade_tick.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.orderbook_update_trade_tick.html
    @@ -1,5 +1,5 @@
    -orderbook_update_trade_tick in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +orderbook_update_trade_tick in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn orderbook_update_trade_tick(
         book: &mut OrderBook_API,
         tick: &TradeTick
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/fn.vec_fills_drop.html b/nightly/core/nautilus_model/ffi/orderbook/book/fn.vec_fills_drop.html
    index 28740e9bb479..d22128e805d1 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/book/fn.vec_fills_drop.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/book/fn.vec_fills_drop.html
    @@ -1,3 +1,3 @@
    -vec_fills_drop in nautilus_model::ffi::orderbook::book - Rust
    -    
    #[no_mangle]
    +vec_fills_drop in nautilus_model::ffi::orderbook::book - Rust
    +    
    #[no_mangle]
     pub extern "C" fn vec_fills_drop(v: CVec)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/index.html b/nightly/core/nautilus_model/ffi/orderbook/book/index.html index 38aac94a1e68..edba903a4f50 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/index.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::orderbook::book - Rust -
    \ No newline at end of file +nautilus_model::ffi::orderbook::book - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/book/struct.OrderBook_API.html b/nightly/core/nautilus_model/ffi/orderbook/book/struct.OrderBook_API.html index 359de7f52ae3..d9f0c40aa398 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/book/struct.OrderBook_API.html +++ b/nightly/core/nautilus_model/ffi/orderbook/book/struct.OrderBook_API.html @@ -1,16 +1,15 @@ -OrderBook_API in nautilus_model::ffi::orderbook::book - Rust -
    #[repr(C)]
    pub struct OrderBook_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying OrderBook.

    +OrderBook_API in nautilus_model::ffi::orderbook::book - Rust +
    #[repr(C)]
    pub struct OrderBook_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying [OrderBook].

    This struct wraps OrderBook in a way that makes it compatible with C function calls, enabling interaction with OrderBook in a C environment.

    It implements the Deref trait, allowing instances of OrderBook_API to be dereferenced to OrderBook, providing access to OrderBook’s methods without having to manually access the underlying OrderBook instance.

    -

    Methods from Deref<Target = OrderBook>§

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( +

    Methods from Deref<Target = OrderBookContainer>§

    source

    pub fn instrument_id(&self) -> InstrumentId

    source

    pub fn book_type(&self) -> BookType

    source

    pub fn sequence(&self) -> u64

    source

    pub fn ts_last(&self) -> u64

    source

    pub fn count(&self) -> u64

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update_quote_tick(&mut self, quote: &QuoteTick)

    source

    pub fn update_trade_tick(&mut self, trade: &TradeTick)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( &self, qty: Quantity, order_side: OrderSide -) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn update_quote_tick(&mut self, tick: &QuoteTick)

    source

    pub fn update_trade_tick(&mut self, tick: &TradeTick)

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Return a String representation of the order book in a human-readable table format.

    -
    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    Trait Implementations§

    source§

    impl Deref for OrderBook_API

    §

    type Target = OrderBook

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for OrderBook_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Trait Implementations§

    source§

    impl Deref for OrderBook_API

    §

    type Target = OrderBookContainer

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for OrderBook_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/ffi/orderbook/container/index.html b/nightly/core/nautilus_model/ffi/orderbook/container/index.html new file mode 100644 index 000000000000..ef91d39027f1 --- /dev/null +++ b/nightly/core/nautilus_model/ffi/orderbook/container/index.html @@ -0,0 +1,2 @@ +nautilus_model::ffi::orderbook::container - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/container/sidebar-items.js b/nightly/core/nautilus_model/ffi/orderbook/container/sidebar-items.js new file mode 100644 index 000000000000..14d3728c0914 --- /dev/null +++ b/nightly/core/nautilus_model/ffi/orderbook/container/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["OrderBookContainer"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/container/struct.OrderBookContainer.html b/nightly/core/nautilus_model/ffi/orderbook/container/struct.OrderBookContainer.html new file mode 100644 index 000000000000..bede0540341a --- /dev/null +++ b/nightly/core/nautilus_model/ffi/orderbook/container/struct.OrderBookContainer.html @@ -0,0 +1,21 @@ +OrderBookContainer in nautilus_model::ffi::orderbook::container - Rust +
    pub struct OrderBookContainer {
    +    pub instrument_id: InstrumentId,
    +    pub book_type: BookType,
    +    /* private fields */
    +}

    Fields§

    §instrument_id: InstrumentId§book_type: BookType

    Implementations§

    source§

    impl OrderBookContainer

    source

    pub fn new(instrument_id: InstrumentId, book_type: BookType) -> Self

    source

    pub fn instrument_id(&self) -> InstrumentId

    source

    pub fn book_type(&self) -> BookType

    source

    pub fn sequence(&self) -> u64

    source

    pub fn ts_last(&self) -> u64

    source

    pub fn count(&self) -> u64

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update_quote_tick(&mut self, quote: &QuoteTick)

    source

    pub fn update_trade_tick(&mut self, trade: &TradeTick)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( + &self, + qty: Quantity, + order_side: OrderSide +) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/index.html b/nightly/core/nautilus_model/ffi/orderbook/index.html index c720776eacd4..6510008d35f9 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/index.html +++ b/nightly/core/nautilus_model/ffi/orderbook/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::orderbook - Rust -
    \ No newline at end of file +nautilus_model::ffi::orderbook - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_clone.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_clone.html index 37caa63e9087..7b2aaaaf28c1 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_clone.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_clone.html @@ -1,3 +1,3 @@ -level_clone in nautilus_model::ffi::orderbook::level - Rust +level_clone in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_clone(level: &Level_API) -> Level_API
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_drop.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_drop.html index 5bb5c2bf9da2..a1c84d9de7b1 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_drop.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_drop.html @@ -1,3 +1,3 @@ -level_drop in nautilus_model::ffi::orderbook::level - Rust +level_drop in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_drop(level: Level_API)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_exposure.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_exposure.html index b1cfb2e68990..7432a869f5a1 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_exposure.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_exposure.html @@ -1,3 +1,3 @@ -level_exposure in nautilus_model::ffi::orderbook::level - Rust +level_exposure in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_exposure(level: &Level_API) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_new.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_new.html index cb7f4e1dea8c..46427cca5d5b 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_new.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_new.html @@ -1,4 +1,4 @@ -level_new in nautilus_model::ffi::orderbook::level - Rust +level_new in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_new(
         order_side: OrderSide,
    diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_orders.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_orders.html
    index 36dab4b70452..2dd0adf9459a 100644
    --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_orders.html
    +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_orders.html
    @@ -1,3 +1,3 @@
    -level_orders in nautilus_model::ffi::orderbook::level - Rust
    +level_orders in nautilus_model::ffi::orderbook::level - Rust
         
    #[no_mangle]
     pub extern "C" fn level_orders(level: &Level_API) -> CVec
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_price.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_price.html index 5211740ad69e..4e277a908353 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_price.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_price.html @@ -1,3 +1,3 @@ -level_price in nautilus_model::ffi::orderbook::level - Rust +level_price in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_price(level: &Level_API) -> Price
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_size.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_size.html index 7e12ada26e2b..7835e6854856 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_size.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.level_size.html @@ -1,3 +1,3 @@ -level_size in nautilus_model::ffi::orderbook::level - Rust +level_size in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn level_size(level: &Level_API) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_levels_drop.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_levels_drop.html index ea3f42e712fd..eae866c7fa43 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_levels_drop.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_levels_drop.html @@ -1,3 +1,3 @@ -vec_levels_drop in nautilus_model::ffi::orderbook::level - Rust +vec_levels_drop in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn vec_levels_drop(v: CVec)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_orders_drop.html b/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_orders_drop.html index 641e630a4648..00a19f885e56 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_orders_drop.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/fn.vec_orders_drop.html @@ -1,3 +1,3 @@ -vec_orders_drop in nautilus_model::ffi::orderbook::level - Rust +vec_orders_drop in nautilus_model::ffi::orderbook::level - Rust
    #[no_mangle]
     pub extern "C" fn vec_orders_drop(v: CVec)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/index.html b/nightly/core/nautilus_model/ffi/orderbook/level/index.html index 5e56a68acb2f..a3ed0651fed2 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/index.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::orderbook::level - Rust +nautilus_model::ffi::orderbook::level - Rust

    Structs§

    • Provides a C compatible Foreign Function Interface (FFI) for an underlying order bookLevel.

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/orderbook/level/struct.Level_API.html b/nightly/core/nautilus_model/ffi/orderbook/level/struct.Level_API.html index 8c9c7ab0e5ef..9e120f411fed 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/level/struct.Level_API.html +++ b/nightly/core/nautilus_model/ffi/orderbook/level/struct.Level_API.html @@ -1,11 +1,11 @@ -Level_API in nautilus_model::ffi::orderbook::level - Rust +Level_API in nautilus_model::ffi::orderbook::level - Rust
    #[repr(C)]
    pub struct Level_API(/* private fields */);
    Expand description

    Provides a C compatible Foreign Function Interface (FFI) for an underlying order bookLevel.

    This struct wraps Level in a way that makes it compatible with C function calls, enabling interaction with Level in a C environment.

    It implements the Deref trait, allowing instances of Level_API to be dereferenced to Level, providing access to Level’s methods without having to manually acce wss the underlying Level instance.

    -

    Implementations§

    source§

    impl Level_API

    source

    pub fn new(level: Level) -> Self

    Methods from Deref<Target = Level>§

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn first(&self) -> Option<&BookOrder>

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: &BookOrder)

    source

    pub fn remove_by_id(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn size(&self) -> f64

    source

    pub fn size_raw(&self) -> u64

    source

    pub fn exposure(&self) -> f64

    source

    pub fn exposure_raw(&self) -> u64

    Trait Implementations§

    source§

    impl Clone for Level_API

    source§

    fn clone(&self) -> Level_API

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Deref for Level_API

    §

    type Target = Level

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Level_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Implementations§

    source§

    impl Level_API

    source

    pub fn new(level: Level) -> Self

    Methods from Deref<Target = Level>§

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn first(&self) -> Option<&BookOrder>

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: &BookOrder)

    source

    pub fn remove_by_id(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn size(&self) -> f64

    source

    pub fn size_raw(&self) -> u64

    source

    pub fn exposure(&self) -> f64

    source

    pub fn exposure_raw(&self) -> u64

    Trait Implementations§

    source§

    impl Clone for Level_API

    source§

    fn clone(&self) -> Level_API

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Deref for Level_API

    §

    type Target = Level

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for Level_API

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/ffi/orderbook/sidebar-items.js b/nightly/core/nautilus_model/ffi/orderbook/sidebar-items.js index 7cec626e7fab..574378bb5665 100644 --- a/nightly/core/nautilus_model/ffi/orderbook/sidebar-items.js +++ b/nightly/core/nautilus_model/ffi/orderbook/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["book","level"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["book","container","level"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_code_to_cstr.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_code_to_cstr.html index 93dab401f458..bc302686aadc 100644 --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_code_to_cstr.html +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_code_to_cstr.html @@ -1,4 +1,4 @@ -currency_code_to_cstr in nautilus_model::ffi::types::currency - Rust +currency_code_to_cstr in nautilus_model::ffi::types::currency - Rust
    #[no_mangle]
     pub extern "C" fn currency_code_to_cstr(
         currency: &Currency
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_exists.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_exists.html
    index 4d4e0bd7deb9..2b1b630ae79c 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_exists.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_exists.html
    @@ -1,4 +1,4 @@
    -currency_exists in nautilus_model::ffi::types::currency - Rust
    +currency_exists in nautilus_model::ffi::types::currency - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn currency_exists(
         code_ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_cstr.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_cstr.html
    index d350aee7d3e9..1fb47b15ad95 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_cstr.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_cstr.html
    @@ -1,4 +1,4 @@
    -currency_from_cstr in nautilus_model::ffi::types::currency - Rust
    +currency_from_cstr in nautilus_model::ffi::types::currency - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn currency_from_cstr(
         code_ptr: *const c_char
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_py.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_py.html
    index ab170e3d23da..66519a094868 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_py.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_from_py.html
    @@ -1,4 +1,4 @@
    -currency_from_py in nautilus_model::ffi::types::currency - Rust
    +currency_from_py in nautilus_model::ffi::types::currency - Rust
         
    #[no_mangle]
     pub unsafe extern "C" fn currency_from_py(
         code_ptr: *const c_char,
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_hash.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_hash.html
    index d6e884f4993a..2edb7a856118 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_hash.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_hash.html
    @@ -1,3 +1,3 @@
    -currency_hash in nautilus_model::ffi::types::currency - Rust
    +currency_hash in nautilus_model::ffi::types::currency - Rust
         
    #[no_mangle]
     pub extern "C" fn currency_hash(currency: &Currency) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_name_to_cstr.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_name_to_cstr.html index 5339b9235b40..2bca4d771ea7 100644 --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_name_to_cstr.html +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_name_to_cstr.html @@ -1,4 +1,4 @@ -currency_name_to_cstr in nautilus_model::ffi::types::currency - Rust +currency_name_to_cstr in nautilus_model::ffi::types::currency - Rust
    #[no_mangle]
     pub extern "C" fn currency_name_to_cstr(
         currency: &Currency
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_register.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_register.html
    index e14d43a048f8..c241a0e1be27 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_register.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_register.html
    @@ -1,3 +1,3 @@
    -currency_register in nautilus_model::ffi::types::currency - Rust
    +currency_register in nautilus_model::ffi::types::currency - Rust
         
    #[no_mangle]
     pub extern "C" fn currency_register(currency: Currency)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_to_cstr.html b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_to_cstr.html index 7ecb4a8dbcb7..ade4bfa88e51 100644 --- a/nightly/core/nautilus_model/ffi/types/currency/fn.currency_to_cstr.html +++ b/nightly/core/nautilus_model/ffi/types/currency/fn.currency_to_cstr.html @@ -1,4 +1,4 @@ -currency_to_cstr in nautilus_model::ffi::types::currency - Rust +currency_to_cstr in nautilus_model::ffi::types::currency - Rust
    #[no_mangle]
     pub extern "C" fn currency_to_cstr(
         currency: &Currency
    diff --git a/nightly/core/nautilus_model/ffi/types/currency/index.html b/nightly/core/nautilus_model/ffi/types/currency/index.html
    index 34ffa0f8066d..104637d8a548 100644
    --- a/nightly/core/nautilus_model/ffi/types/currency/index.html
    +++ b/nightly/core/nautilus_model/ffi/types/currency/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::ffi::types::currency - Rust
    +nautilus_model::ffi::types::currency - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/index.html b/nightly/core/nautilus_model/ffi/types/index.html index c657cab20d17..d18a2dba5ff8 100644 --- a/nightly/core/nautilus_model/ffi/types/index.html +++ b/nightly/core/nautilus_model/ffi/types/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::types - Rust +nautilus_model::ffi::types - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/money/fn.money_add_assign.html b/nightly/core/nautilus_model/ffi/types/money/fn.money_add_assign.html index 091fe98eec13..8c774d67c9c8 100644 --- a/nightly/core/nautilus_model/ffi/types/money/fn.money_add_assign.html +++ b/nightly/core/nautilus_model/ffi/types/money/fn.money_add_assign.html @@ -1,3 +1,3 @@ -money_add_assign in nautilus_model::ffi::types::money - Rust +money_add_assign in nautilus_model::ffi::types::money - Rust
    #[no_mangle]
     pub extern "C" fn money_add_assign(a: Money, b: Money)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/money/fn.money_as_f64.html b/nightly/core/nautilus_model/ffi/types/money/fn.money_as_f64.html index b031877113b1..16f81be11fac 100644 --- a/nightly/core/nautilus_model/ffi/types/money/fn.money_as_f64.html +++ b/nightly/core/nautilus_model/ffi/types/money/fn.money_as_f64.html @@ -1,3 +1,3 @@ -money_as_f64 in nautilus_model::ffi::types::money - Rust +money_as_f64 in nautilus_model::ffi::types::money - Rust
    #[no_mangle]
     pub extern "C" fn money_as_f64(money: &Money) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/money/fn.money_from_raw.html b/nightly/core/nautilus_model/ffi/types/money/fn.money_from_raw.html index 4c0c8ad6640b..9103659d990e 100644 --- a/nightly/core/nautilus_model/ffi/types/money/fn.money_from_raw.html +++ b/nightly/core/nautilus_model/ffi/types/money/fn.money_from_raw.html @@ -1,4 +1,4 @@ -money_from_raw in nautilus_model::ffi::types::money - Rust +money_from_raw in nautilus_model::ffi::types::money - Rust
    #[no_mangle]
     pub extern "C" fn money_from_raw(
         raw: i64,
    diff --git a/nightly/core/nautilus_model/ffi/types/money/fn.money_new.html b/nightly/core/nautilus_model/ffi/types/money/fn.money_new.html
    index 5f55ddc597c2..5f116f090061 100644
    --- a/nightly/core/nautilus_model/ffi/types/money/fn.money_new.html
    +++ b/nightly/core/nautilus_model/ffi/types/money/fn.money_new.html
    @@ -1,3 +1,3 @@
    -money_new in nautilus_model::ffi::types::money - Rust
    +money_new in nautilus_model::ffi::types::money - Rust
         
    #[no_mangle]
     pub extern "C" fn money_new(amount: f64, currency: Currency) -> Money
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/money/fn.money_sub_assign.html b/nightly/core/nautilus_model/ffi/types/money/fn.money_sub_assign.html index 1cdc57eb94d2..a9b5b8aa0d0b 100644 --- a/nightly/core/nautilus_model/ffi/types/money/fn.money_sub_assign.html +++ b/nightly/core/nautilus_model/ffi/types/money/fn.money_sub_assign.html @@ -1,3 +1,3 @@ -money_sub_assign in nautilus_model::ffi::types::money - Rust +money_sub_assign in nautilus_model::ffi::types::money - Rust
    #[no_mangle]
     pub extern "C" fn money_sub_assign(a: Money, b: Money)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/money/index.html b/nightly/core/nautilus_model/ffi/types/money/index.html index 02f744ec5c20..e5034a09c377 100644 --- a/nightly/core/nautilus_model/ffi/types/money/index.html +++ b/nightly/core/nautilus_model/ffi/types/money/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::types::money - Rust +nautilus_model::ffi::types::money - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/fn.price_add_assign.html b/nightly/core/nautilus_model/ffi/types/price/fn.price_add_assign.html index 82709195f325..a631beaf57b1 100644 --- a/nightly/core/nautilus_model/ffi/types/price/fn.price_add_assign.html +++ b/nightly/core/nautilus_model/ffi/types/price/fn.price_add_assign.html @@ -1,3 +1,3 @@ -price_add_assign in nautilus_model::ffi::types::price - Rust +price_add_assign in nautilus_model::ffi::types::price - Rust
    #[no_mangle]
     pub extern "C" fn price_add_assign(a: Price, b: Price)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/fn.price_as_f64.html b/nightly/core/nautilus_model/ffi/types/price/fn.price_as_f64.html index f65f07ffebc5..54a47b75971a 100644 --- a/nightly/core/nautilus_model/ffi/types/price/fn.price_as_f64.html +++ b/nightly/core/nautilus_model/ffi/types/price/fn.price_as_f64.html @@ -1,3 +1,3 @@ -price_as_f64 in nautilus_model::ffi::types::price - Rust +price_as_f64 in nautilus_model::ffi::types::price - Rust
    #[no_mangle]
     pub extern "C" fn price_as_f64(price: &Price) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/fn.price_from_raw.html b/nightly/core/nautilus_model/ffi/types/price/fn.price_from_raw.html index d43ec10a7b3d..525af052608d 100644 --- a/nightly/core/nautilus_model/ffi/types/price/fn.price_from_raw.html +++ b/nightly/core/nautilus_model/ffi/types/price/fn.price_from_raw.html @@ -1,3 +1,3 @@ -price_from_raw in nautilus_model::ffi::types::price - Rust +price_from_raw in nautilus_model::ffi::types::price - Rust
    #[no_mangle]
     pub extern "C" fn price_from_raw(raw: i64, precision: u8) -> Price
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/fn.price_new.html b/nightly/core/nautilus_model/ffi/types/price/fn.price_new.html index d193a108bd16..c8d5ac07fca8 100644 --- a/nightly/core/nautilus_model/ffi/types/price/fn.price_new.html +++ b/nightly/core/nautilus_model/ffi/types/price/fn.price_new.html @@ -1,3 +1,3 @@ -price_new in nautilus_model::ffi::types::price - Rust +price_new in nautilus_model::ffi::types::price - Rust
    #[no_mangle]
     pub extern "C" fn price_new(value: f64, precision: u8) -> Price
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/fn.price_sub_assign.html b/nightly/core/nautilus_model/ffi/types/price/fn.price_sub_assign.html index 3da0bdcbbbc3..99db4ace0b16 100644 --- a/nightly/core/nautilus_model/ffi/types/price/fn.price_sub_assign.html +++ b/nightly/core/nautilus_model/ffi/types/price/fn.price_sub_assign.html @@ -1,3 +1,3 @@ -price_sub_assign in nautilus_model::ffi::types::price - Rust +price_sub_assign in nautilus_model::ffi::types::price - Rust
    #[no_mangle]
     pub extern "C" fn price_sub_assign(a: Price, b: Price)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/price/index.html b/nightly/core/nautilus_model/ffi/types/price/index.html index 490229e54369..0034793f7950 100644 --- a/nightly/core/nautilus_model/ffi/types/price/index.html +++ b/nightly/core/nautilus_model/ffi/types/price/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::types::price - Rust +nautilus_model::ffi::types::price - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign.html index f4e59c85afcc..d19e45e8b9e6 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign.html @@ -1,3 +1,3 @@ -quantity_add_assign in nautilus_model::ffi::types::quantity - Rust +quantity_add_assign in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_add_assign(a: Quantity, b: Quantity)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign_u64.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign_u64.html index a9b90c7752bf..9e74098f6c15 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign_u64.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_add_assign_u64.html @@ -1,3 +1,3 @@ -quantity_add_assign_u64 in nautilus_model::ffi::types::quantity - Rust +quantity_add_assign_u64 in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_add_assign_u64(a: Quantity, b: u64)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_as_f64.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_as_f64.html index 588f26f93ae0..ab68ec61f2b8 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_as_f64.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_as_f64.html @@ -1,3 +1,3 @@ -quantity_as_f64 in nautilus_model::ffi::types::quantity - Rust +quantity_as_f64 in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_as_f64(qty: &Quantity) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_from_raw.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_from_raw.html index 5c13cfc31560..e2543b09b8da 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_from_raw.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_from_raw.html @@ -1,4 +1,4 @@ -quantity_from_raw in nautilus_model::ffi::types::quantity - Rust +quantity_from_raw in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_from_raw(
         raw: u64,
    diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_new.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_new.html
    index c5a4a43031b0..a5c7d3bfddc6 100644
    --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_new.html
    +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_new.html
    @@ -1,3 +1,3 @@
    -quantity_new in nautilus_model::ffi::types::quantity - Rust
    +quantity_new in nautilus_model::ffi::types::quantity - Rust
         
    #[no_mangle]
     pub extern "C" fn quantity_new(value: f64, precision: u8) -> Quantity
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign.html index 4f61886a8157..1b8d6a943bb6 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign.html @@ -1,3 +1,3 @@ -quantity_sub_assign in nautilus_model::ffi::types::quantity - Rust +quantity_sub_assign in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_sub_assign(a: Quantity, b: Quantity)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign_u64.html b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign_u64.html index a70c65ac7289..4e4bbb876f79 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign_u64.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/fn.quantity_sub_assign_u64.html @@ -1,3 +1,3 @@ -quantity_sub_assign_u64 in nautilus_model::ffi::types::quantity - Rust +quantity_sub_assign_u64 in nautilus_model::ffi::types::quantity - Rust
    #[no_mangle]
     pub extern "C" fn quantity_sub_assign_u64(a: Quantity, b: u64)
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/ffi/types/quantity/index.html b/nightly/core/nautilus_model/ffi/types/quantity/index.html index 06b3994fd879..c6f27821eb6f 100644 --- a/nightly/core/nautilus_model/ffi/types/quantity/index.html +++ b/nightly/core/nautilus_model/ffi/types/quantity/index.html @@ -1,2 +1,2 @@ -nautilus_model::ffi::types::quantity - Rust +nautilus_model::ffi::types::quantity - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/account_id/index.html b/nightly/core/nautilus_model/identifiers/account_id/index.html index 238f16f8a0e4..fcd4c342f581 100644 --- a/nightly/core/nautilus_model/identifiers/account_id/index.html +++ b/nightly/core/nautilus_model/identifiers/account_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::account_id - Rust +nautilus_model::identifiers::account_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/account_id/struct.AccountId.html b/nightly/core/nautilus_model/identifiers/account_id/struct.AccountId.html index 3b17356f67a0..1bcc6a30d45f 100644 --- a/nightly/core/nautilus_model/identifiers/account_id/struct.AccountId.html +++ b/nightly/core/nautilus_model/identifiers/account_id/struct.AccountId.html @@ -1,4 +1,4 @@ -AccountId in nautilus_model::identifiers::account_id - Rust +AccountId in nautilus_model::identifiers::account_id - Rust
    #[repr(C)]
    pub struct AccountId { pub value: Ustr, }
    Expand description

    Represents a valid account ID.

    @@ -7,8 +7,8 @@ separated by a hyphen.

    Example: “IB-D02851908”.

    Fields§

    §value: Ustr

    The account ID value.

    -

    Implementations§

    source§

    impl AccountId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for AccountId

    source§

    fn clone(&self) -> AccountId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AccountId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AccountId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for AccountId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for AccountId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AccountId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl AccountId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for AccountId

    source§

    fn clone(&self) -> AccountId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for AccountId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for AccountId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for AccountId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for AccountId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for AccountId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for AccountId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for AccountId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for AccountId

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for AccountId

    source§

    fn cmp(&self, other: &AccountId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where diff --git a/nightly/core/nautilus_model/identifiers/client_id/index.html b/nightly/core/nautilus_model/identifiers/client_id/index.html index fed82704065f..d31e8a8ef8af 100644 --- a/nightly/core/nautilus_model/identifiers/client_id/index.html +++ b/nightly/core/nautilus_model/identifiers/client_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::client_id - Rust +nautilus_model::identifiers::client_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/client_id/struct.ClientId.html b/nightly/core/nautilus_model/identifiers/client_id/struct.ClientId.html index 259a2a277fc7..45e1210f0633 100644 --- a/nightly/core/nautilus_model/identifiers/client_id/struct.ClientId.html +++ b/nightly/core/nautilus_model/identifiers/client_id/struct.ClientId.html @@ -1,4 +1,4 @@ -ClientId in nautilus_model::identifiers::client_id - Rust +ClientId in nautilus_model::identifiers::client_id - Rust
    #[repr(C)]
    pub struct ClientId { pub value: Ustr, }
    Expand description

    Represents a system client ID.

    @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for ClientId

    source§

    fn partial_cmp(&self, other: &ClientId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for ClientId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for ClientId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<ClientId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ClientId> for PyClassImplCollector<ClientId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ClientId

    §

    type Holder = Option<PyRef<'py, ClientId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ClientId

    §

    type Holder = Option<PyRefMut<'py, ClientId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ClientId> for PyClassImplCollector<ClientId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ClientId

    §

    type AsRefTarget = PyCell<ClientId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ClientId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ClientId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ClientId> for PyClassImplCollector<ClientId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ClientId

    §

    type Holder = Option<PyRef<'py, ClientId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ClientId

    §

    type Holder = Option<PyRefMut<'py, ClientId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ClientId> for PyClassImplCollector<ClientId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ClientId

    §

    type AsRefTarget = PyCell<ClientId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ClientId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ClientId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for ClientId

    source§

    impl Eq for ClientId

    source§

    impl StructuralPartialEq for ClientId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_ustr_to_vec_client_order_ids.html b/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_ustr_to_vec_client_order_ids.html index 2c93ed4da5d7..b1f5f5894c2b 100644 --- a/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_ustr_to_vec_client_order_ids.html +++ b/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_ustr_to_vec_client_order_ids.html @@ -1,4 +1,4 @@ -optional_ustr_to_vec_client_order_ids in nautilus_model::identifiers::client_order_id - Rust +optional_ustr_to_vec_client_order_ids in nautilus_model::identifiers::client_order_id - Rust
    pub fn optional_ustr_to_vec_client_order_ids(
         s: Option<Ustr>
     ) -> Option<Vec<ClientOrderId>>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_vec_client_order_ids_to_ustr.html b/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_vec_client_order_ids_to_ustr.html index 43136c62fc6e..61dfe958e126 100644 --- a/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_vec_client_order_ids_to_ustr.html +++ b/nightly/core/nautilus_model/identifiers/client_order_id/fn.optional_vec_client_order_ids_to_ustr.html @@ -1,4 +1,4 @@ -optional_vec_client_order_ids_to_ustr in nautilus_model::identifiers::client_order_id - Rust +optional_vec_client_order_ids_to_ustr in nautilus_model::identifiers::client_order_id - Rust
    pub fn optional_vec_client_order_ids_to_ustr(
         vec: Option<Vec<ClientOrderId>>
     ) -> Option<Ustr>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/client_order_id/index.html b/nightly/core/nautilus_model/identifiers/client_order_id/index.html index de6200465e1f..4d7ae63fc492 100644 --- a/nightly/core/nautilus_model/identifiers/client_order_id/index.html +++ b/nightly/core/nautilus_model/identifiers/client_order_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::client_order_id - Rust +nautilus_model::identifiers::client_order_id - Rust

    Structs§

    • Represents a valid client order ID (assigned by the Nautilus system).

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/client_order_id/struct.ClientOrderId.html b/nightly/core/nautilus_model/identifiers/client_order_id/struct.ClientOrderId.html index 07fdf9e03dcc..f3064672a3ae 100644 --- a/nightly/core/nautilus_model/identifiers/client_order_id/struct.ClientOrderId.html +++ b/nightly/core/nautilus_model/identifiers/client_order_id/struct.ClientOrderId.html @@ -1,4 +1,4 @@ -ClientOrderId in nautilus_model::identifiers::client_order_id - Rust +ClientOrderId in nautilus_model::identifiers::client_order_id - Rust
    #[repr(C)]
    pub struct ClientOrderId { pub value: Ustr, }
    Expand description

    Represents a valid client order ID (assigned by the Nautilus system).

    diff --git a/nightly/core/nautilus_model/identifiers/component_id/index.html b/nightly/core/nautilus_model/identifiers/component_id/index.html index d8f7da19ac81..dec2743e5657 100644 --- a/nightly/core/nautilus_model/identifiers/component_id/index.html +++ b/nightly/core/nautilus_model/identifiers/component_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::component_id - Rust +nautilus_model::identifiers::component_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/component_id/struct.ComponentId.html b/nightly/core/nautilus_model/identifiers/component_id/struct.ComponentId.html index 483e0972797b..d9694b310c4d 100644 --- a/nightly/core/nautilus_model/identifiers/component_id/struct.ComponentId.html +++ b/nightly/core/nautilus_model/identifiers/component_id/struct.ComponentId.html @@ -1,10 +1,10 @@ -ComponentId in nautilus_model::identifiers::component_id - Rust +ComponentId in nautilus_model::identifiers::component_id - Rust
    #[repr(C)]
    pub struct ComponentId { pub value: Ustr, }
    Expand description

    Represents a valid component ID.

    Fields§

    §value: Ustr

    The component ID value.

    -

    Implementations§

    source§

    impl ComponentId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for ComponentId

    source§

    fn clone(&self) -> ComponentId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for ComponentId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for ComponentId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl ComponentId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for ComponentId

    source§

    fn clone(&self) -> ComponentId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for ComponentId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for ComponentId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for ComponentId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for ComponentId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for ComponentId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for ComponentId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for ComponentId

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for ComponentId

    source§

    fn cmp(&self, other: &ComponentId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for ComponentId

    source§

    fn partial_cmp(&self, other: &ComponentId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for ComponentId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for ComponentId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<ComponentId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ComponentId> for PyClassImplCollector<ComponentId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentId

    §

    type Holder = Option<PyRef<'py, ComponentId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentId

    §

    type Holder = Option<PyRefMut<'py, ComponentId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ComponentId> for PyClassImplCollector<ComponentId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ComponentId

    §

    type AsRefTarget = PyCell<ComponentId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ComponentId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ComponentId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ComponentId> for PyClassImplCollector<ComponentId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ComponentId

    §

    type Holder = Option<PyRef<'py, ComponentId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ComponentId

    §

    type Holder = Option<PyRefMut<'py, ComponentId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ComponentId> for PyClassImplCollector<ComponentId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ComponentId

    §

    type AsRefTarget = PyCell<ComponentId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ComponentId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ComponentId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for ComponentId

    source§

    impl Eq for ComponentId

    source§

    impl StructuralPartialEq for ComponentId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/exec_algorithm_id/index.html b/nightly/core/nautilus_model/identifiers/exec_algorithm_id/index.html index 77abe12bd9a4..8df4fe1c7d4b 100644 --- a/nightly/core/nautilus_model/identifiers/exec_algorithm_id/index.html +++ b/nightly/core/nautilus_model/identifiers/exec_algorithm_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::exec_algorithm_id - Rust +nautilus_model::identifiers::exec_algorithm_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/exec_algorithm_id/struct.ExecAlgorithmId.html b/nightly/core/nautilus_model/identifiers/exec_algorithm_id/struct.ExecAlgorithmId.html index eef9d54f02a5..ab8bb173326e 100644 --- a/nightly/core/nautilus_model/identifiers/exec_algorithm_id/struct.ExecAlgorithmId.html +++ b/nightly/core/nautilus_model/identifiers/exec_algorithm_id/struct.ExecAlgorithmId.html @@ -1,4 +1,4 @@ -ExecAlgorithmId in nautilus_model::identifiers::exec_algorithm_id - Rust +ExecAlgorithmId in nautilus_model::identifiers::exec_algorithm_id - Rust
    #[repr(C)]
    pub struct ExecAlgorithmId { pub value: Ustr, }
    Expand description

    Represents a valid execution algorithm ID.

    @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for ExecAlgorithmId

    source§

    fn partial_cmp(&self, other: &ExecAlgorithmId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for ExecAlgorithmId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for ExecAlgorithmId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<ExecAlgorithmId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ExecAlgorithmId> for PyClassImplCollector<ExecAlgorithmId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ExecAlgorithmId

    §

    type Holder = Option<PyRef<'py, ExecAlgorithmId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ExecAlgorithmId

    §

    type Holder = Option<PyRefMut<'py, ExecAlgorithmId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ExecAlgorithmId> for PyClassImplCollector<ExecAlgorithmId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ExecAlgorithmId

    §

    type AsRefTarget = PyCell<ExecAlgorithmId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ExecAlgorithmId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ExecAlgorithmId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<ExecAlgorithmId> for PyClassImplCollector<ExecAlgorithmId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a ExecAlgorithmId

    §

    type Holder = Option<PyRef<'py, ExecAlgorithmId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut ExecAlgorithmId

    §

    type Holder = Option<PyRefMut<'py, ExecAlgorithmId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<ExecAlgorithmId> for PyClassImplCollector<ExecAlgorithmId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for ExecAlgorithmId

    §

    type AsRefTarget = PyCell<ExecAlgorithmId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "ExecAlgorithmId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for ExecAlgorithmId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for ExecAlgorithmId

    source§

    impl Eq for ExecAlgorithmId

    source§

    impl StructuralPartialEq for ExecAlgorithmId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/fn.interned_string_stats.html b/nightly/core/nautilus_model/identifiers/fn.interned_string_stats.html index 993ff768c220..682419a83148 100644 --- a/nightly/core/nautilus_model/identifiers/fn.interned_string_stats.html +++ b/nightly/core/nautilus_model/identifiers/fn.interned_string_stats.html @@ -1,3 +1,3 @@ -interned_string_stats in nautilus_model::identifiers - Rust +interned_string_stats in nautilus_model::identifiers - Rust
    #[no_mangle]
     pub extern "C" fn interned_string_stats()
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/index.html b/nightly/core/nautilus_model/identifiers/index.html index 6729129b444b..905c940bccbc 100644 --- a/nightly/core/nautilus_model/identifiers/index.html +++ b/nightly/core/nautilus_model/identifiers/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers - Rust +nautilus_model::identifiers - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/instrument_id/index.html b/nightly/core/nautilus_model/identifiers/instrument_id/index.html index 3ece374607e6..bb4ee3d60435 100644 --- a/nightly/core/nautilus_model/identifiers/instrument_id/index.html +++ b/nightly/core/nautilus_model/identifiers/instrument_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::instrument_id - Rust +nautilus_model::identifiers::instrument_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/instrument_id/struct.InstrumentId.html b/nightly/core/nautilus_model/identifiers/instrument_id/struct.InstrumentId.html index 8446612b174a..a14f284c2826 100644 --- a/nightly/core/nautilus_model/identifiers/instrument_id/struct.InstrumentId.html +++ b/nightly/core/nautilus_model/identifiers/instrument_id/struct.InstrumentId.html @@ -1,4 +1,4 @@ -InstrumentId in nautilus_model::identifiers::instrument_id - Rust +InstrumentId in nautilus_model::identifiers::instrument_id - Rust
    #[repr(C)]
    pub struct InstrumentId { pub symbol: Symbol, pub venue: Venue, diff --git a/nightly/core/nautilus_model/identifiers/order_list_id/index.html b/nightly/core/nautilus_model/identifiers/order_list_id/index.html index 0f248eda35eb..8e7b9226632e 100644 --- a/nightly/core/nautilus_model/identifiers/order_list_id/index.html +++ b/nightly/core/nautilus_model/identifiers/order_list_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::order_list_id - Rust +nautilus_model::identifiers::order_list_id - Rust

    Structs§

    • Represents a valid order list ID (assigned by the Nautilus system).
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/order_list_id/struct.OrderListId.html b/nightly/core/nautilus_model/identifiers/order_list_id/struct.OrderListId.html index 3abe5fee6f4e..c1faaff8c14a 100644 --- a/nightly/core/nautilus_model/identifiers/order_list_id/struct.OrderListId.html +++ b/nightly/core/nautilus_model/identifiers/order_list_id/struct.OrderListId.html @@ -1,10 +1,10 @@ -OrderListId in nautilus_model::identifiers::order_list_id - Rust +OrderListId in nautilus_model::identifiers::order_list_id - Rust
    #[repr(C)]
    pub struct OrderListId { pub value: Ustr, }
    Expand description

    Represents a valid order list ID (assigned by the Nautilus system).

    Fields§

    §value: Ustr

    The order list ID value.

    -

    Implementations§

    source§

    impl OrderListId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderListId

    source§

    fn clone(&self) -> OrderListId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderListId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderListId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderListId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for OrderListId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for OrderListId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for OrderListId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl OrderListId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for OrderListId

    source§

    fn clone(&self) -> OrderListId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderListId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for OrderListId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for OrderListId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for OrderListId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for OrderListId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for OrderListId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderListId

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for OrderListId

    source§

    fn cmp(&self, other: &OrderListId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for OrderListId

    source§

    fn partial_cmp(&self, other: &OrderListId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for OrderListId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderListId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderListId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderListId> for PyClassImplCollector<OrderListId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderListId

    §

    type Holder = Option<PyRef<'py, OrderListId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderListId

    §

    type Holder = Option<PyRefMut<'py, OrderListId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderListId> for PyClassImplCollector<OrderListId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderListId

    §

    type AsRefTarget = PyCell<OrderListId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderListId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderListId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderListId> for PyClassImplCollector<OrderListId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderListId

    §

    type Holder = Option<PyRef<'py, OrderListId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderListId

    §

    type Holder = Option<PyRefMut<'py, OrderListId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderListId> for PyClassImplCollector<OrderListId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderListId

    §

    type AsRefTarget = PyCell<OrderListId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderListId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for OrderListId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for OrderListId

    source§

    impl Eq for OrderListId

    source§

    impl StructuralPartialEq for OrderListId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/position_id/index.html b/nightly/core/nautilus_model/identifiers/position_id/index.html index d3f4aa978e3b..0e49ec50ac24 100644 --- a/nightly/core/nautilus_model/identifiers/position_id/index.html +++ b/nightly/core/nautilus_model/identifiers/position_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::position_id - Rust +nautilus_model::identifiers::position_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/position_id/struct.PositionId.html b/nightly/core/nautilus_model/identifiers/position_id/struct.PositionId.html index 7fb7d92347f9..57a269972352 100644 --- a/nightly/core/nautilus_model/identifiers/position_id/struct.PositionId.html +++ b/nightly/core/nautilus_model/identifiers/position_id/struct.PositionId.html @@ -1,10 +1,10 @@ -PositionId in nautilus_model::identifiers::position_id - Rust +PositionId in nautilus_model::identifiers::position_id - Rust
    #[repr(C)]
    pub struct PositionId { pub value: Ustr, }
    Expand description

    Represents a valid position ID.

    Fields§

    §value: Ustr

    The position ID value.

    -

    Implementations§

    source§

    impl PositionId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for PositionId

    source§

    fn clone(&self) -> PositionId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PositionId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PositionId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PositionId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PositionId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for PositionId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for PositionId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PositionId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl PositionId

    source

    pub fn new(s: &str) -> Result<Self>

    Trait Implementations§

    source§

    impl Clone for PositionId

    source§

    fn clone(&self) -> PositionId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for PositionId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for PositionId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for PositionId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for PositionId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for PositionId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for PositionId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for PositionId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for PositionId

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for PositionId

    source§

    fn cmp(&self, other: &PositionId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for PositionId

    source§

    fn partial_cmp(&self, other: &PositionId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for PositionId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for PositionId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<PositionId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PositionId> for PyClassImplCollector<PositionId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PositionId

    §

    type Holder = Option<PyRef<'py, PositionId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PositionId

    §

    type Holder = Option<PyRefMut<'py, PositionId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PositionId> for PyClassImplCollector<PositionId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PositionId

    §

    type AsRefTarget = PyCell<PositionId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PositionId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PositionId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<PositionId> for PyClassImplCollector<PositionId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PositionId

    §

    type Holder = Option<PyRef<'py, PositionId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PositionId

    §

    type Holder = Option<PyRefMut<'py, PositionId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<PositionId> for PyClassImplCollector<PositionId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for PositionId

    §

    type AsRefTarget = PyCell<PositionId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "PositionId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for PositionId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for PositionId

    source§

    impl Eq for PositionId

    source§

    impl StructuralPartialEq for PositionId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/strategy_id/index.html b/nightly/core/nautilus_model/identifiers/strategy_id/index.html index bfade33b75b8..20238a5c891b 100644 --- a/nightly/core/nautilus_model/identifiers/strategy_id/index.html +++ b/nightly/core/nautilus_model/identifiers/strategy_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::strategy_id - Rust +nautilus_model::identifiers::strategy_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/strategy_id/struct.StrategyId.html b/nightly/core/nautilus_model/identifiers/strategy_id/struct.StrategyId.html index 4ee9054ec39b..a5893b5d65c7 100644 --- a/nightly/core/nautilus_model/identifiers/strategy_id/struct.StrategyId.html +++ b/nightly/core/nautilus_model/identifiers/strategy_id/struct.StrategyId.html @@ -1,4 +1,4 @@ -StrategyId in nautilus_model::identifiers::strategy_id - Rust +StrategyId in nautilus_model::identifiers::strategy_id - Rust
    #[repr(C)]
    pub struct StrategyId { pub value: Ustr, }
    Expand description

    Represents a valid strategy ID.

    @@ -20,7 +20,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for StrategyId

    source§

    fn partial_cmp(&self, other: &StrategyId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for StrategyId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for StrategyId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<StrategyId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<StrategyId> for PyClassImplCollector<StrategyId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StrategyId

    §

    type Holder = Option<PyRef<'py, StrategyId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StrategyId

    §

    type Holder = Option<PyRefMut<'py, StrategyId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<StrategyId> for PyClassImplCollector<StrategyId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for StrategyId

    §

    type AsRefTarget = PyCell<StrategyId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "StrategyId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for StrategyId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<StrategyId> for PyClassImplCollector<StrategyId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StrategyId

    §

    type Holder = Option<PyRef<'py, StrategyId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StrategyId

    §

    type Holder = Option<PyRefMut<'py, StrategyId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<StrategyId> for PyClassImplCollector<StrategyId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for StrategyId

    §

    type AsRefTarget = PyCell<StrategyId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "StrategyId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for StrategyId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for StrategyId

    source§

    impl Eq for StrategyId

    source§

    impl StructuralPartialEq for StrategyId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.account_ib.html b/nightly/core/nautilus_model/identifiers/stubs/fn.account_ib.html index e5eee287131d..3698ed516f4d 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.account_ib.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.account_ib.html @@ -1,2 +1,2 @@ -account_ib in nautilus_model::identifiers::stubs - Rust +account_ib in nautilus_model::identifiers::stubs - Rust
    pub fn account_ib() -> AccountId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.account_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.account_id.html index e49317b8165e..9305aa8b4c04 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.account_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.account_id.html @@ -1,2 +1,2 @@ -account_id in nautilus_model::identifiers::stubs - Rust +account_id in nautilus_model::identifiers::stubs - Rust
    pub fn account_id() -> AccountId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_binance.html b/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_binance.html index e7ebb771325b..684f4a52859e 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_binance.html @@ -1,2 +1,2 @@ -client_id_binance in nautilus_model::identifiers::stubs - Rust +client_id_binance in nautilus_model::identifiers::stubs - Rust
    pub fn client_id_binance() -> ClientId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_dydx.html b/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_dydx.html index 6aee2456b51c..d2afe847898b 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_dydx.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.client_id_dydx.html @@ -1,2 +1,2 @@ -client_id_dydx in nautilus_model::identifiers::stubs - Rust +client_id_dydx in nautilus_model::identifiers::stubs - Rust
    pub fn client_id_dydx() -> ClientId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.client_order_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.client_order_id.html index 917b9e9791c0..b150dfc392b3 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.client_order_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.client_order_id.html @@ -1,2 +1,2 @@ -client_order_id in nautilus_model::identifiers::stubs - Rust +client_order_id in nautilus_model::identifiers::stubs - Rust
    pub fn client_order_id() -> ClientOrderId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.component_risk_engine.html b/nightly/core/nautilus_model/identifiers/stubs/fn.component_risk_engine.html index de425df9afe0..810fae951c54 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.component_risk_engine.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.component_risk_engine.html @@ -1,2 +1,2 @@ -component_risk_engine in nautilus_model::identifiers::stubs - Rust +component_risk_engine in nautilus_model::identifiers::stubs - Rust
    pub fn component_risk_engine() -> ComponentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.exec_algorithm_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.exec_algorithm_id.html index e8d3831ebde0..784032d622b8 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.exec_algorithm_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.exec_algorithm_id.html @@ -1,2 +1,2 @@ -exec_algorithm_id in nautilus_model::identifiers::stubs - Rust +exec_algorithm_id in nautilus_model::identifiers::stubs - Rust
    pub fn exec_algorithm_id() -> ExecAlgorithmId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_aud_usd_sim.html b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_aud_usd_sim.html index 527ec0aaef72..5fcb8bf1946b 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_aud_usd_sim.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_aud_usd_sim.html @@ -1,2 +1,2 @@ -instrument_id_aud_usd_sim in nautilus_model::identifiers::stubs - Rust +instrument_id_aud_usd_sim in nautilus_model::identifiers::stubs - Rust
    pub fn instrument_id_aud_usd_sim() -> InstrumentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_btc_usdt.html b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_btc_usdt.html index 875e39599c77..ddc9c1ffc160 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_btc_usdt.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_btc_usdt.html @@ -1,2 +1,2 @@ -instrument_id_btc_usdt in nautilus_model::identifiers::stubs - Rust +instrument_id_btc_usdt in nautilus_model::identifiers::stubs - Rust
    pub fn instrument_id_btc_usdt() -> InstrumentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_eth_usdt_binance.html b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_eth_usdt_binance.html index a789ab975761..ee6ec7dba413 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_eth_usdt_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.instrument_id_eth_usdt_binance.html @@ -1,2 +1,2 @@ -instrument_id_eth_usdt_binance in nautilus_model::identifiers::stubs - Rust +instrument_id_eth_usdt_binance in nautilus_model::identifiers::stubs - Rust
    pub fn instrument_id_eth_usdt_binance() -> InstrumentId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.order_list_id_test.html b/nightly/core/nautilus_model/identifiers/stubs/fn.order_list_id_test.html index 753dd3b6f856..89c4ed888728 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.order_list_id_test.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.order_list_id_test.html @@ -1,2 +1,2 @@ -order_list_id_test in nautilus_model::identifiers::stubs - Rust +order_list_id_test in nautilus_model::identifiers::stubs - Rust
    pub fn order_list_id_test() -> OrderListId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.position_id_test.html b/nightly/core/nautilus_model/identifiers/stubs/fn.position_id_test.html index 43df11310513..023eddcc42de 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.position_id_test.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.position_id_test.html @@ -1,2 +1,2 @@ -position_id_test in nautilus_model::identifiers::stubs - Rust +position_id_test in nautilus_model::identifiers::stubs - Rust
    pub fn position_id_test() -> PositionId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.strategy_id_ema_cross.html b/nightly/core/nautilus_model/identifiers/stubs/fn.strategy_id_ema_cross.html index 1aa303a5394b..624df7fd1a7a 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.strategy_id_ema_cross.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.strategy_id_ema_cross.html @@ -1,2 +1,2 @@ -strategy_id_ema_cross in nautilus_model::identifiers::stubs - Rust +strategy_id_ema_cross in nautilus_model::identifiers::stubs - Rust
    pub fn strategy_id_ema_cross() -> StrategyId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_aud_usd.html b/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_aud_usd.html index 7baf9314e4a0..7abbf9c6cd1d 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_aud_usd.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_aud_usd.html @@ -1,2 +1,2 @@ -symbol_aud_usd in nautilus_model::identifiers::stubs - Rust +symbol_aud_usd in nautilus_model::identifiers::stubs - Rust
    pub fn symbol_aud_usd() -> Symbol
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_eth_perp.html b/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_eth_perp.html index b9f9c1f9ba00..3b6e1865e778 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_eth_perp.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.symbol_eth_perp.html @@ -1,2 +1,2 @@ -symbol_eth_perp in nautilus_model::identifiers::stubs - Rust +symbol_eth_perp in nautilus_model::identifiers::stubs - Rust
    pub fn symbol_eth_perp() -> Symbol
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.trade_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.trade_id.html index fcab8fcff140..049edf4d21b6 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.trade_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.trade_id.html @@ -1,2 +1,2 @@ -trade_id in nautilus_model::identifiers::stubs - Rust +trade_id in nautilus_model::identifiers::stubs - Rust
    pub fn trade_id() -> TradeId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.trader_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.trader_id.html index 46f8f4f4fc23..ef38977bf64e 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.trader_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.trader_id.html @@ -1,2 +1,2 @@ -trader_id in nautilus_model::identifiers::stubs - Rust +trader_id in nautilus_model::identifiers::stubs - Rust
    pub fn trader_id() -> TraderId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.uuid4.html b/nightly/core/nautilus_model/identifiers/stubs/fn.uuid4.html index 627be4729c21..98adaa4a44bd 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.uuid4.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.uuid4.html @@ -1,2 +1,2 @@ -uuid4 in nautilus_model::identifiers::stubs - Rust +uuid4 in nautilus_model::identifiers::stubs - Rust
    pub fn uuid4() -> UUID4
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_binance.html b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_binance.html index 2f55880519c4..f796fb4a5370 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_binance.html @@ -1,2 +1,2 @@ -venue_binance in nautilus_model::identifiers::stubs - Rust +venue_binance in nautilus_model::identifiers::stubs - Rust
    pub fn venue_binance() -> Venue
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_order_id.html b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_order_id.html index 5998719af62b..ed75005dab1d 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_order_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_order_id.html @@ -1,2 +1,2 @@ -venue_order_id in nautilus_model::identifiers::stubs - Rust +venue_order_id in nautilus_model::identifiers::stubs - Rust
    pub fn venue_order_id() -> VenueOrderId
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_sim.html b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_sim.html index 213ba5da8166..526629a2e9a8 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/fn.venue_sim.html +++ b/nightly/core/nautilus_model/identifiers/stubs/fn.venue_sim.html @@ -1,2 +1,2 @@ -venue_sim in nautilus_model::identifiers::stubs - Rust +venue_sim in nautilus_model::identifiers::stubs - Rust
    pub fn venue_sim() -> Venue
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/index.html b/nightly/core/nautilus_model/identifiers/stubs/index.html index d5215cd92265..4aa904c029e5 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/index.html +++ b/nightly/core/nautilus_model/identifiers/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::stubs - Rust +nautilus_model::identifiers::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.account_ib.html b/nightly/core/nautilus_model/identifiers/stubs/struct.account_ib.html index d23bb588d796..4483158b64d4 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.account_ib.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.account_ib.html @@ -1,4 +1,4 @@ -account_ib in nautilus_model::identifiers::stubs - Rust +account_ib in nautilus_model::identifiers::stubs - Rust
    pub struct account_ib {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.account_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.account_id.html index f668632183e0..3a054853e751 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.account_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.account_id.html @@ -1,4 +1,4 @@ -account_id in nautilus_model::identifiers::stubs - Rust +account_id in nautilus_model::identifiers::stubs - Rust
    pub struct account_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_binance.html b/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_binance.html index 565996b1d5be..fe0b1ce72775 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_binance.html @@ -1,4 +1,4 @@ -client_id_binance in nautilus_model::identifiers::stubs - Rust +client_id_binance in nautilus_model::identifiers::stubs - Rust
    pub struct client_id_binance {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_dydx.html b/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_dydx.html index 867999bf6f6a..cfcb92b2e4c7 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_dydx.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.client_id_dydx.html @@ -1,4 +1,4 @@ -client_id_dydx in nautilus_model::identifiers::stubs - Rust +client_id_dydx in nautilus_model::identifiers::stubs - Rust
    pub struct client_id_dydx {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.client_order_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.client_order_id.html index cc8be8ed87be..bd3a4ca6d134 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.client_order_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.client_order_id.html @@ -1,4 +1,4 @@ -client_order_id in nautilus_model::identifiers::stubs - Rust +client_order_id in nautilus_model::identifiers::stubs - Rust
    pub struct client_order_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.component_risk_engine.html b/nightly/core/nautilus_model/identifiers/stubs/struct.component_risk_engine.html index 02b0487411af..148fa44839ea 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.component_risk_engine.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.component_risk_engine.html @@ -1,4 +1,4 @@ -component_risk_engine in nautilus_model::identifiers::stubs - Rust +component_risk_engine in nautilus_model::identifiers::stubs - Rust
    pub struct component_risk_engine {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.exec_algorithm_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.exec_algorithm_id.html index 133bee792db1..d5d97e0149be 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.exec_algorithm_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.exec_algorithm_id.html @@ -1,4 +1,4 @@ -exec_algorithm_id in nautilus_model::identifiers::stubs - Rust +exec_algorithm_id in nautilus_model::identifiers::stubs - Rust
    pub struct exec_algorithm_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_aud_usd_sim.html b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_aud_usd_sim.html index 92c7a478a216..39ef52edbdb6 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_aud_usd_sim.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_aud_usd_sim.html @@ -1,4 +1,4 @@ -instrument_id_aud_usd_sim in nautilus_model::identifiers::stubs - Rust +instrument_id_aud_usd_sim in nautilus_model::identifiers::stubs - Rust
    pub struct instrument_id_aud_usd_sim {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_btc_usdt.html b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_btc_usdt.html index 2fd8cb0c45c9..dfcaf3aab367 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_btc_usdt.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_btc_usdt.html @@ -1,4 +1,4 @@ -instrument_id_btc_usdt in nautilus_model::identifiers::stubs - Rust +instrument_id_btc_usdt in nautilus_model::identifiers::stubs - Rust
    pub struct instrument_id_btc_usdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_eth_usdt_binance.html b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_eth_usdt_binance.html index d8f3ff16db99..fba29cf9b092 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_eth_usdt_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.instrument_id_eth_usdt_binance.html @@ -1,4 +1,4 @@ -instrument_id_eth_usdt_binance in nautilus_model::identifiers::stubs - Rust +instrument_id_eth_usdt_binance in nautilus_model::identifiers::stubs - Rust
    pub struct instrument_id_eth_usdt_binance {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.order_list_id_test.html b/nightly/core/nautilus_model/identifiers/stubs/struct.order_list_id_test.html index 95f860e2ac1a..95932e5bc1b5 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.order_list_id_test.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.order_list_id_test.html @@ -1,4 +1,4 @@ -order_list_id_test in nautilus_model::identifiers::stubs - Rust +order_list_id_test in nautilus_model::identifiers::stubs - Rust
    pub struct order_list_id_test {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.position_id_test.html b/nightly/core/nautilus_model/identifiers/stubs/struct.position_id_test.html index 720e147810bd..638bdb0e8ca5 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.position_id_test.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.position_id_test.html @@ -1,4 +1,4 @@ -position_id_test in nautilus_model::identifiers::stubs - Rust +position_id_test in nautilus_model::identifiers::stubs - Rust
    pub struct position_id_test {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.strategy_id_ema_cross.html b/nightly/core/nautilus_model/identifiers/stubs/struct.strategy_id_ema_cross.html index 163be164fbd4..0f2def8c8da8 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.strategy_id_ema_cross.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.strategy_id_ema_cross.html @@ -1,4 +1,4 @@ -strategy_id_ema_cross in nautilus_model::identifiers::stubs - Rust +strategy_id_ema_cross in nautilus_model::identifiers::stubs - Rust
    pub struct strategy_id_ema_cross {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_aud_usd.html b/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_aud_usd.html index cf573c88dcf6..61358eb79fa5 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_aud_usd.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_aud_usd.html @@ -1,4 +1,4 @@ -symbol_aud_usd in nautilus_model::identifiers::stubs - Rust +symbol_aud_usd in nautilus_model::identifiers::stubs - Rust
    pub struct symbol_aud_usd {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_eth_perp.html b/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_eth_perp.html index 767267c2b575..54823b1ed959 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_eth_perp.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.symbol_eth_perp.html @@ -1,4 +1,4 @@ -symbol_eth_perp in nautilus_model::identifiers::stubs - Rust +symbol_eth_perp in nautilus_model::identifiers::stubs - Rust
    pub struct symbol_eth_perp {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.trade_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.trade_id.html index 47e0ccba6e64..efd5ecce934a 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.trade_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.trade_id.html @@ -1,4 +1,4 @@ -trade_id in nautilus_model::identifiers::stubs - Rust +trade_id in nautilus_model::identifiers::stubs - Rust
    pub struct trade_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.trader_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.trader_id.html index 2b47454dacf4..4e089a4fc415 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.trader_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.trader_id.html @@ -1,4 +1,4 @@ -trader_id in nautilus_model::identifiers::stubs - Rust +trader_id in nautilus_model::identifiers::stubs - Rust
    pub struct trader_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.uuid4.html b/nightly/core/nautilus_model/identifiers/stubs/struct.uuid4.html index e7b1f6d57878..523950f35add 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.uuid4.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.uuid4.html @@ -1,4 +1,4 @@ -uuid4 in nautilus_model::identifiers::stubs - Rust +uuid4 in nautilus_model::identifiers::stubs - Rust
    pub struct uuid4 {}

    Implementations§

    source§

    impl uuid4

    source

    pub fn get() -> UUID4

    source

    pub fn default() -> UUID4

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for uuid4

    §

    impl Send for uuid4

    §

    impl Sync for uuid4

    §

    impl Unpin for uuid4

    §

    impl UnwindSafe for uuid4

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_binance.html b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_binance.html index 912d709f2632..db425d59e152 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_binance.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_binance.html @@ -1,4 +1,4 @@ -venue_binance in nautilus_model::identifiers::stubs - Rust +venue_binance in nautilus_model::identifiers::stubs - Rust
    pub struct venue_binance {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_order_id.html b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_order_id.html index 7bb1c1c7be1b..46017f8d9b05 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_order_id.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_order_id.html @@ -1,4 +1,4 @@ -venue_order_id in nautilus_model::identifiers::stubs - Rust +venue_order_id in nautilus_model::identifiers::stubs - Rust
    pub struct venue_order_id {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_sim.html b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_sim.html index 9259de85dae5..aac821e28102 100644 --- a/nightly/core/nautilus_model/identifiers/stubs/struct.venue_sim.html +++ b/nightly/core/nautilus_model/identifiers/stubs/struct.venue_sim.html @@ -1,4 +1,4 @@ -venue_sim in nautilus_model::identifiers::stubs - Rust +venue_sim in nautilus_model::identifiers::stubs - Rust
    pub struct venue_sim {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/symbol/index.html b/nightly/core/nautilus_model/identifiers/symbol/index.html index 1fed9413239d..2744bcd257e4 100644 --- a/nightly/core/nautilus_model/identifiers/symbol/index.html +++ b/nightly/core/nautilus_model/identifiers/symbol/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::symbol - Rust +nautilus_model::identifiers::symbol - Rust

    Structs§

    • Represents a valid ticker symbol ID for a tradable financial market instrument.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/symbol/struct.Symbol.html b/nightly/core/nautilus_model/identifiers/symbol/struct.Symbol.html index a63575e83351..a88550d37f99 100644 --- a/nightly/core/nautilus_model/identifiers/symbol/struct.Symbol.html +++ b/nightly/core/nautilus_model/identifiers/symbol/struct.Symbol.html @@ -1,10 +1,10 @@ -Symbol in nautilus_model::identifiers::symbol - Rust +Symbol in nautilus_model::identifiers::symbol - Rust
    #[repr(C)]
    pub struct Symbol { pub value: Ustr, }
    Expand description

    Represents a valid ticker symbol ID for a tradable financial market instrument.

    Fields§

    §value: Ustr

    The ticker symbol ID value.

    -

    Implementations§

    source§

    impl Symbol

    source

    pub fn new(s: &str) -> Result<Self>

    source

    pub fn from_str_unchecked(s: &str) -> Self

    Trait Implementations§

    source§

    impl Clone for Symbol

    source§

    fn clone(&self) -> Symbol

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Symbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Symbol

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Symbol

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Symbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for Symbol

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Symbol

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Symbol

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl Symbol

    source

    pub fn new(s: &str) -> Result<Self>

    source

    pub fn from_str_unchecked(s: &str) -> Self

    Trait Implementations§

    source§

    impl Clone for Symbol

    source§

    fn clone(&self) -> Symbol

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Symbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Symbol

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for Symbol

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Symbol

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for Symbol

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Symbol

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Symbol

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Symbol

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for Symbol

    source§

    fn cmp(&self, other: &Symbol) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for Symbol

    source§

    fn partial_cmp(&self, other: &Symbol) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for Symbol

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for Symbol

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<Symbol>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Symbol> for PyClassImplCollector<Symbol>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Symbol

    §

    type Holder = Option<PyRef<'py, Symbol>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Symbol

    §

    type Holder = Option<PyRefMut<'py, Symbol>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Symbol> for PyClassImplCollector<Symbol>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Symbol

    §

    type AsRefTarget = PyCell<Symbol>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Symbol"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Symbol

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Symbol> for PyClassImplCollector<Symbol>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Symbol

    §

    type Holder = Option<PyRef<'py, Symbol>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Symbol

    §

    type Holder = Option<PyRefMut<'py, Symbol>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Symbol> for PyClassImplCollector<Symbol>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Symbol

    §

    type AsRefTarget = PyCell<Symbol>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Symbol"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Symbol

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for Symbol

    source§

    impl Eq for Symbol

    source§

    impl StructuralPartialEq for Symbol

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/trade_id/index.html b/nightly/core/nautilus_model/identifiers/trade_id/index.html index 82400af030a5..23c9125deda9 100644 --- a/nightly/core/nautilus_model/identifiers/trade_id/index.html +++ b/nightly/core/nautilus_model/identifiers/trade_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::trade_id - Rust +nautilus_model::identifiers::trade_id - Rust

    Structs§

    • Represents a valid trade match ID (assigned by a trading venue).
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/trade_id/struct.TradeId.html b/nightly/core/nautilus_model/identifiers/trade_id/struct.TradeId.html index 782c38db22bd..bfff5bc9badc 100644 --- a/nightly/core/nautilus_model/identifiers/trade_id/struct.TradeId.html +++ b/nightly/core/nautilus_model/identifiers/trade_id/struct.TradeId.html @@ -1,4 +1,4 @@ -TradeId in nautilus_model::identifiers::trade_id - Rust +TradeId in nautilus_model::identifiers::trade_id - Rust
    #[repr(C)]
    pub struct TradeId { pub value: Ustr, }
    Expand description

    Represents a valid trade match ID (assigned by a trading venue).

    diff --git a/nightly/core/nautilus_model/identifiers/trader_id/index.html b/nightly/core/nautilus_model/identifiers/trader_id/index.html index 9c64155009a6..f86a975d6944 100644 --- a/nightly/core/nautilus_model/identifiers/trader_id/index.html +++ b/nightly/core/nautilus_model/identifiers/trader_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::trader_id - Rust +nautilus_model::identifiers::trader_id - Rust

    Structs§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/trader_id/struct.TraderId.html b/nightly/core/nautilus_model/identifiers/trader_id/struct.TraderId.html index 1a224c8f8aa2..a8c52d3da0df 100644 --- a/nightly/core/nautilus_model/identifiers/trader_id/struct.TraderId.html +++ b/nightly/core/nautilus_model/identifiers/trader_id/struct.TraderId.html @@ -1,4 +1,4 @@ -TraderId in nautilus_model::identifiers::trader_id - Rust +TraderId in nautilus_model::identifiers::trader_id - Rust
    #[repr(C)]
    pub struct TraderId { pub value: Ustr, }
    Expand description

    Represents a valid trader ID.

    @@ -9,8 +9,8 @@ The reason for the numerical component of the ID is so that order and position IDs do not collide with those from another node instance.

    Fields§

    §value: Ustr

    The trader ID value.

    -

    Implementations§

    source§

    impl TraderId

    source

    pub fn new(s: &str) -> Result<Self>

    source

    pub fn get_tag(&self) -> &str

    Trait Implementations§

    source§

    impl Clone for TraderId

    source§

    fn clone(&self) -> TraderId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraderId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TraderId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TraderId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TraderId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for TraderId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for TraderId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TraderId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +

    Implementations§

    source§

    impl TraderId

    source

    pub fn new(s: &str) -> Result<Self>

    source

    pub fn get_tag(&self) -> &str

    Trait Implementations§

    source§

    impl Clone for TraderId

    source§

    fn clone(&self) -> TraderId

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for TraderId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for TraderId

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl<'de> Deserialize<'de> for TraderId

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for TraderId

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&str> for TraderId

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for TraderId

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for TraderId

    source§

    fn hash<__H: Hasher>(&self, state: &mut __H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for TraderId

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for TraderId

    source§

    fn cmp(&self, other: &TraderId) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where @@ -20,7 +20,7 @@ sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for TraderId

    source§

    fn partial_cmp(&self, other: &TraderId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for TraderId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TraderId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TraderId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TraderId> for PyClassImplCollector<TraderId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TraderId

    §

    type Holder = Option<PyRef<'py, TraderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TraderId

    §

    type Holder = Option<PyRefMut<'py, TraderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TraderId> for PyClassImplCollector<TraderId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TraderId

    §

    type AsRefTarget = PyCell<TraderId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TraderId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TraderId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TraderId> for PyClassImplCollector<TraderId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TraderId

    §

    type Holder = Option<PyRef<'py, TraderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TraderId

    §

    type Holder = Option<PyRefMut<'py, TraderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TraderId> for PyClassImplCollector<TraderId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TraderId

    §

    type AsRefTarget = PyCell<TraderId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TraderId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for TraderId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for TraderId

    source§

    impl Eq for TraderId

    source§

    impl StructuralPartialEq for TraderId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/identifiers/venue/constant.SYNTHETIC_VENUE.html b/nightly/core/nautilus_model/identifiers/venue/constant.SYNTHETIC_VENUE.html index ad83e3024005..f0d46e18cc85 100644 --- a/nightly/core/nautilus_model/identifiers/venue/constant.SYNTHETIC_VENUE.html +++ b/nightly/core/nautilus_model/identifiers/venue/constant.SYNTHETIC_VENUE.html @@ -1,2 +1,2 @@ -SYNTHETIC_VENUE in nautilus_model::identifiers::venue - Rust +SYNTHETIC_VENUE in nautilus_model::identifiers::venue - Rust
    pub const SYNTHETIC_VENUE: &str = "SYNTH";
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/venue/index.html b/nightly/core/nautilus_model/identifiers/venue/index.html index 645010c74cd6..ee90292d0296 100644 --- a/nightly/core/nautilus_model/identifiers/venue/index.html +++ b/nightly/core/nautilus_model/identifiers/venue/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::venue - Rust +nautilus_model::identifiers::venue - Rust

    Structs§

    • Represents a valid trading venue ID.

    Constants§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/venue/struct.Venue.html b/nightly/core/nautilus_model/identifiers/venue/struct.Venue.html index 2f8f10af5db8..ea813a91a334 100644 --- a/nightly/core/nautilus_model/identifiers/venue/struct.Venue.html +++ b/nightly/core/nautilus_model/identifiers/venue/struct.Venue.html @@ -1,4 +1,4 @@ -Venue in nautilus_model::identifiers::venue - Rust +Venue in nautilus_model::identifiers::venue - Rust
    #[repr(C)]
    pub struct Venue { pub value: Ustr, }
    Expand description

    Represents a valid trading venue ID.

    diff --git a/nightly/core/nautilus_model/identifiers/venue_order_id/index.html b/nightly/core/nautilus_model/identifiers/venue_order_id/index.html index 4f6f3656df80..21fa0440536f 100644 --- a/nightly/core/nautilus_model/identifiers/venue_order_id/index.html +++ b/nightly/core/nautilus_model/identifiers/venue_order_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::identifiers::venue_order_id - Rust +nautilus_model::identifiers::venue_order_id - Rust

    Structs§

    • Represents a valid venue order ID (assigned by a trading venue).
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/identifiers/venue_order_id/struct.VenueOrderId.html b/nightly/core/nautilus_model/identifiers/venue_order_id/struct.VenueOrderId.html index 64e00bf351e0..bc3e5e738db7 100644 --- a/nightly/core/nautilus_model/identifiers/venue_order_id/struct.VenueOrderId.html +++ b/nightly/core/nautilus_model/identifiers/venue_order_id/struct.VenueOrderId.html @@ -1,4 +1,4 @@ -VenueOrderId in nautilus_model::identifiers::venue_order_id - Rust +VenueOrderId in nautilus_model::identifiers::venue_order_id - Rust
    #[repr(C)]
    pub struct VenueOrderId { pub value: Ustr, }
    Expand description

    Represents a valid venue order ID (assigned by a trading venue).

    @@ -14,7 +14,7 @@ sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for VenueOrderId

    source§

    fn partial_cmp(&self, other: &VenueOrderId) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
    source§

    impl PyClass for VenueOrderId

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for VenueOrderId

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<VenueOrderId>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<VenueOrderId> for PyClassImplCollector<VenueOrderId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a VenueOrderId

    §

    type Holder = Option<PyRef<'py, VenueOrderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut VenueOrderId

    §

    type Holder = Option<PyRefMut<'py, VenueOrderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<VenueOrderId> for PyClassImplCollector<VenueOrderId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for VenueOrderId

    §

    type AsRefTarget = PyCell<VenueOrderId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "VenueOrderId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for VenueOrderId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<VenueOrderId> for PyClassImplCollector<VenueOrderId>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a VenueOrderId

    §

    type Holder = Option<PyRef<'py, VenueOrderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut VenueOrderId

    §

    type Holder = Option<PyRefMut<'py, VenueOrderId>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<VenueOrderId> for PyClassImplCollector<VenueOrderId>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for VenueOrderId

    §

    type AsRefTarget = PyCell<VenueOrderId>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "VenueOrderId"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for VenueOrderId

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for VenueOrderId

    source§

    impl Eq for VenueOrderId

    source§

    impl StructuralPartialEq for VenueOrderId

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/index.html b/nightly/core/nautilus_model/index.html index 692d91289388..10a195607bb5 100644 --- a/nightly/core/nautilus_model/index.html +++ b/nightly/core/nautilus_model/index.html @@ -1,3 +1,3 @@ -nautilus_model - Rust

    Returns the equivalent quantity of the base asset.

    source§

    impl IntoPy<Py<PyAny>> for CryptoFuture

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for CryptoFuture

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for CryptoFuture

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for CryptoFuture

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<CryptoFuture>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<CryptoFuture> for PyClassImplCollector<CryptoFuture>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CryptoFuture

    §

    type Holder = Option<PyRef<'py, CryptoFuture>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CryptoFuture

    §

    type Holder = Option<PyRefMut<'py, CryptoFuture>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<CryptoFuture> for PyClassImplCollector<CryptoFuture>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for CryptoFuture

    §

    type AsRefTarget = PyCell<CryptoFuture>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "CryptoFuture"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for CryptoFuture

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<CryptoFuture> for PyClassImplCollector<CryptoFuture>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a CryptoFuture

    §

    type Holder = Option<PyRef<'py, CryptoFuture>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut CryptoFuture

    §

    type Holder = Option<PyRefMut<'py, CryptoFuture>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<CryptoFuture> for PyClassImplCollector<CryptoFuture>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for CryptoFuture

    §

    type AsRefTarget = PyCell<CryptoFuture>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "CryptoFuture"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for CryptoFuture

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for CryptoFuture

    source§

    impl Eq for CryptoFuture

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/crypto_perpetual/index.html b/nightly/core/nautilus_model/instruments/crypto_perpetual/index.html index 9e7b52a12b3e..35be1381558a 100644 --- a/nightly/core/nautilus_model/instruments/crypto_perpetual/index.html +++ b/nightly/core/nautilus_model/instruments/crypto_perpetual/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::crypto_perpetual - Rust +nautilus_model::instruments::crypto_perpetual - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/crypto_perpetual/struct.CryptoPerpetual.html b/nightly/core/nautilus_model/instruments/crypto_perpetual/struct.CryptoPerpetual.html index 8c43be262d9d..3957558a3356 100644 --- a/nightly/core/nautilus_model/instruments/crypto_perpetual/struct.CryptoPerpetual.html +++ b/nightly/core/nautilus_model/instruments/crypto_perpetual/struct.CryptoPerpetual.html @@ -1,4 +1,4 @@ -CryptoPerpetual in nautilus_model::instruments::crypto_perpetual - Rust +CryptoPerpetual in nautilus_model::instruments::crypto_perpetual - Rust
    #[repr(C)]
    pub struct CryptoPerpetual {
    Show 23 fields pub id: InstrumentId, pub raw_symbol: Symbol, diff --git a/nightly/core/nautilus_model/instruments/currency_pair/index.html b/nightly/core/nautilus_model/instruments/currency_pair/index.html index 2ce5cd19a4e5..ebf1fbdbdc17 100644 --- a/nightly/core/nautilus_model/instruments/currency_pair/index.html +++ b/nightly/core/nautilus_model/instruments/currency_pair/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::currency_pair - Rust +nautilus_model::instruments::currency_pair - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/currency_pair/struct.CurrencyPair.html b/nightly/core/nautilus_model/instruments/currency_pair/struct.CurrencyPair.html index 392378f17db2..5d7230ae31e5 100644 --- a/nightly/core/nautilus_model/instruments/currency_pair/struct.CurrencyPair.html +++ b/nightly/core/nautilus_model/instruments/currency_pair/struct.CurrencyPair.html @@ -1,4 +1,4 @@ -CurrencyPair in nautilus_model::instruments::currency_pair - Rust +CurrencyPair in nautilus_model::instruments::currency_pair - Rust
    #[repr(C)]
    pub struct CurrencyPair {
    Show 21 fields pub id: InstrumentId, pub raw_symbol: Symbol, diff --git a/nightly/core/nautilus_model/instruments/equity/index.html b/nightly/core/nautilus_model/instruments/equity/index.html index c73f16a3266e..24733aa90a65 100644 --- a/nightly/core/nautilus_model/instruments/equity/index.html +++ b/nightly/core/nautilus_model/instruments/equity/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::equity - Rust +nautilus_model::instruments::equity - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/equity/struct.Equity.html b/nightly/core/nautilus_model/instruments/equity/struct.Equity.html index 016aaebe79b7..e0b42b32f358 100644 --- a/nightly/core/nautilus_model/instruments/equity/struct.Equity.html +++ b/nightly/core/nautilus_model/instruments/equity/struct.Equity.html @@ -1,4 +1,4 @@ -Equity in nautilus_model::instruments::equity - Rust +Equity in nautilus_model::instruments::equity - Rust
    #[repr(C)]
    pub struct Equity {
    Show 13 fields pub id: InstrumentId, pub raw_symbol: Symbol, diff --git a/nightly/core/nautilus_model/instruments/futures_contract/index.html b/nightly/core/nautilus_model/instruments/futures_contract/index.html index 2f22e79d2255..62dc48cdf40f 100644 --- a/nightly/core/nautilus_model/instruments/futures_contract/index.html +++ b/nightly/core/nautilus_model/instruments/futures_contract/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::futures_contract - Rust +nautilus_model::instruments::futures_contract - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/futures_contract/struct.FuturesContract.html b/nightly/core/nautilus_model/instruments/futures_contract/struct.FuturesContract.html index 96f157b24d65..ce8bbbe525ab 100644 --- a/nightly/core/nautilus_model/instruments/futures_contract/struct.FuturesContract.html +++ b/nightly/core/nautilus_model/instruments/futures_contract/struct.FuturesContract.html @@ -1,4 +1,4 @@ -FuturesContract in nautilus_model::instruments::futures_contract - Rust +FuturesContract in nautilus_model::instruments::futures_contract - Rust
    #[repr(C)]
    pub struct FuturesContract {
    Show 17 fields pub id: InstrumentId, pub raw_symbol: Symbol, diff --git a/nightly/core/nautilus_model/instruments/index.html b/nightly/core/nautilus_model/instruments/index.html index bca71b2d6286..9276a42f489d 100644 --- a/nightly/core/nautilus_model/instruments/index.html +++ b/nightly/core/nautilus_model/instruments/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments - Rust +nautilus_model::instruments - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/options_contract/index.html b/nightly/core/nautilus_model/instruments/options_contract/index.html index 9e0467396ee8..f2c355d4913e 100644 --- a/nightly/core/nautilus_model/instruments/options_contract/index.html +++ b/nightly/core/nautilus_model/instruments/options_contract/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::options_contract - Rust +nautilus_model::instruments::options_contract - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/options_contract/struct.OptionsContract.html b/nightly/core/nautilus_model/instruments/options_contract/struct.OptionsContract.html index 32c6a62464a8..b796c388f1f7 100644 --- a/nightly/core/nautilus_model/instruments/options_contract/struct.OptionsContract.html +++ b/nightly/core/nautilus_model/instruments/options_contract/struct.OptionsContract.html @@ -1,4 +1,4 @@ -OptionsContract in nautilus_model::instruments::options_contract - Rust +OptionsContract in nautilus_model::instruments::options_contract - Rust
    #[repr(C)]
    pub struct OptionsContract {
    Show 19 fields pub id: InstrumentId, pub raw_symbol: Symbol, diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.audusd_sim.html b/nightly/core/nautilus_model/instruments/stubs/fn.audusd_sim.html index 5a9ec9fd73e6..3d8a732b1e8d 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.audusd_sim.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.audusd_sim.html @@ -1,2 +1,2 @@ -audusd_sim in nautilus_model::instruments::stubs - Rust +audusd_sim in nautilus_model::instruments::stubs - Rust
    pub fn audusd_sim() -> CurrencyPair
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.crypto_future_btcusdt.html b/nightly/core/nautilus_model/instruments/stubs/fn.crypto_future_btcusdt.html index 8a84fbcd07ee..2920adce7b26 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.crypto_future_btcusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.crypto_future_btcusdt.html @@ -1,2 +1,2 @@ -crypto_future_btcusdt in nautilus_model::instruments::stubs - Rust +crypto_future_btcusdt in nautilus_model::instruments::stubs - Rust
    pub fn crypto_future_btcusdt() -> CryptoFuture
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.crypto_perpetual_ethusdt.html b/nightly/core/nautilus_model/instruments/stubs/fn.crypto_perpetual_ethusdt.html index b229df7f167b..6d231f59743a 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.crypto_perpetual_ethusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.crypto_perpetual_ethusdt.html @@ -1,2 +1,2 @@ -crypto_perpetual_ethusdt in nautilus_model::instruments::stubs - Rust +crypto_perpetual_ethusdt in nautilus_model::instruments::stubs - Rust
    pub fn crypto_perpetual_ethusdt() -> CryptoPerpetual
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_btcusdt.html b/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_btcusdt.html index b06e0bc30ff8..471b22e40e36 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_btcusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_btcusdt.html @@ -1,2 +1,2 @@ -currency_pair_btcusdt in nautilus_model::instruments::stubs - Rust +currency_pair_btcusdt in nautilus_model::instruments::stubs - Rust
    pub fn currency_pair_btcusdt() -> CurrencyPair
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_ethusdt.html b/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_ethusdt.html index 5331928c07ec..929a9fff7786 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_ethusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.currency_pair_ethusdt.html @@ -1,2 +1,2 @@ -currency_pair_ethusdt in nautilus_model::instruments::stubs - Rust +currency_pair_ethusdt in nautilus_model::instruments::stubs - Rust
    pub fn currency_pair_ethusdt() -> CurrencyPair
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.default_fx_ccy.html b/nightly/core/nautilus_model/instruments/stubs/fn.default_fx_ccy.html index a21e5c7071be..eb81d2baa005 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.default_fx_ccy.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.default_fx_ccy.html @@ -1,2 +1,2 @@ -default_fx_ccy in nautilus_model::instruments::stubs - Rust +default_fx_ccy in nautilus_model::instruments::stubs - Rust
    pub fn default_fx_ccy(symbol: Symbol, venue: Option<Venue>) -> CurrencyPair
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.equity_aapl.html b/nightly/core/nautilus_model/instruments/stubs/fn.equity_aapl.html index 31ceeb0102f4..dea61af4145a 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.equity_aapl.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.equity_aapl.html @@ -1,2 +1,2 @@ -equity_aapl in nautilus_model::instruments::stubs - Rust +equity_aapl in nautilus_model::instruments::stubs - Rust
    pub fn equity_aapl() -> Equity
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.ethusdt_bitmex.html b/nightly/core/nautilus_model/instruments/stubs/fn.ethusdt_bitmex.html index d6934e9699c9..9815555755c7 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.ethusdt_bitmex.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.ethusdt_bitmex.html @@ -1,2 +1,2 @@ -ethusdt_bitmex in nautilus_model::instruments::stubs - Rust +ethusdt_bitmex in nautilus_model::instruments::stubs - Rust
    pub fn ethusdt_bitmex() -> CryptoPerpetual
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.futures_contract_es.html b/nightly/core/nautilus_model/instruments/stubs/fn.futures_contract_es.html index b33d2aaef0ab..7ab7e1b0bc6a 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.futures_contract_es.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.futures_contract_es.html @@ -1,2 +1,2 @@ -futures_contract_es in nautilus_model::instruments::stubs - Rust +futures_contract_es in nautilus_model::instruments::stubs - Rust
    pub fn futures_contract_es() -> FuturesContract
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.options_contract_appl.html b/nightly/core/nautilus_model/instruments/stubs/fn.options_contract_appl.html index 2716dd882111..5cb358d03406 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.options_contract_appl.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.options_contract_appl.html @@ -1,2 +1,2 @@ -options_contract_appl in nautilus_model::instruments::stubs - Rust +options_contract_appl in nautilus_model::instruments::stubs - Rust
    pub fn options_contract_appl() -> OptionsContract
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.usdjpy_idealpro.html b/nightly/core/nautilus_model/instruments/stubs/fn.usdjpy_idealpro.html index 6b80c9ada4e6..d65572963034 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.usdjpy_idealpro.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.usdjpy_idealpro.html @@ -1,2 +1,2 @@ -usdjpy_idealpro in nautilus_model::instruments::stubs - Rust +usdjpy_idealpro in nautilus_model::instruments::stubs - Rust
    pub fn usdjpy_idealpro() -> CurrencyPair
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/fn.xbtusd_bitmex.html b/nightly/core/nautilus_model/instruments/stubs/fn.xbtusd_bitmex.html index 062bf8232fe4..57171c2ba098 100644 --- a/nightly/core/nautilus_model/instruments/stubs/fn.xbtusd_bitmex.html +++ b/nightly/core/nautilus_model/instruments/stubs/fn.xbtusd_bitmex.html @@ -1,2 +1,2 @@ -xbtusd_bitmex in nautilus_model::instruments::stubs - Rust +xbtusd_bitmex in nautilus_model::instruments::stubs - Rust
    pub fn xbtusd_bitmex() -> CryptoPerpetual
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/index.html b/nightly/core/nautilus_model/instruments/stubs/index.html index 2f4581e1ac3f..fe5a0b8eaee6 100644 --- a/nightly/core/nautilus_model/instruments/stubs/index.html +++ b/nightly/core/nautilus_model/instruments/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::instruments::stubs - Rust +nautilus_model::instruments::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.audusd_sim.html b/nightly/core/nautilus_model/instruments/stubs/struct.audusd_sim.html index 3ba8b30bb24d..7c6e5e59063b 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.audusd_sim.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.audusd_sim.html @@ -1,4 +1,4 @@ -audusd_sim in nautilus_model::instruments::stubs - Rust +audusd_sim in nautilus_model::instruments::stubs - Rust
    pub struct audusd_sim {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.crypto_future_btcusdt.html b/nightly/core/nautilus_model/instruments/stubs/struct.crypto_future_btcusdt.html index 2b8230351813..2f99a6f0d66f 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.crypto_future_btcusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.crypto_future_btcusdt.html @@ -1,4 +1,4 @@ -crypto_future_btcusdt in nautilus_model::instruments::stubs - Rust +crypto_future_btcusdt in nautilus_model::instruments::stubs - Rust
    pub struct crypto_future_btcusdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.crypto_perpetual_ethusdt.html b/nightly/core/nautilus_model/instruments/stubs/struct.crypto_perpetual_ethusdt.html index f031933c2c81..fc30961b689d 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.crypto_perpetual_ethusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.crypto_perpetual_ethusdt.html @@ -1,4 +1,4 @@ -crypto_perpetual_ethusdt in nautilus_model::instruments::stubs - Rust +crypto_perpetual_ethusdt in nautilus_model::instruments::stubs - Rust
    pub struct crypto_perpetual_ethusdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_btcusdt.html b/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_btcusdt.html index 85a6a95b94ee..0651fdd04402 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_btcusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_btcusdt.html @@ -1,4 +1,4 @@ -currency_pair_btcusdt in nautilus_model::instruments::stubs - Rust +currency_pair_btcusdt in nautilus_model::instruments::stubs - Rust
    pub struct currency_pair_btcusdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_ethusdt.html b/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_ethusdt.html index 3c13a40f912b..17da316d0a0e 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_ethusdt.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.currency_pair_ethusdt.html @@ -1,4 +1,4 @@ -currency_pair_ethusdt in nautilus_model::instruments::stubs - Rust +currency_pair_ethusdt in nautilus_model::instruments::stubs - Rust
    pub struct currency_pair_ethusdt {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.equity_aapl.html b/nightly/core/nautilus_model/instruments/stubs/struct.equity_aapl.html index 728567941f15..45abf654c237 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.equity_aapl.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.equity_aapl.html @@ -1,4 +1,4 @@ -equity_aapl in nautilus_model::instruments::stubs - Rust +equity_aapl in nautilus_model::instruments::stubs - Rust
    pub struct equity_aapl {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.ethusdt_bitmex.html b/nightly/core/nautilus_model/instruments/stubs/struct.ethusdt_bitmex.html index 584a437dba7f..5aa6bb821968 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.ethusdt_bitmex.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.ethusdt_bitmex.html @@ -1,4 +1,4 @@ -ethusdt_bitmex in nautilus_model::instruments::stubs - Rust +ethusdt_bitmex in nautilus_model::instruments::stubs - Rust
    pub struct ethusdt_bitmex {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.futures_contract_es.html b/nightly/core/nautilus_model/instruments/stubs/struct.futures_contract_es.html index e93d3da84e77..d6dff92c8796 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.futures_contract_es.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.futures_contract_es.html @@ -1,4 +1,4 @@ -futures_contract_es in nautilus_model::instruments::stubs - Rust +futures_contract_es in nautilus_model::instruments::stubs - Rust
    pub struct futures_contract_es {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.options_contract_appl.html b/nightly/core/nautilus_model/instruments/stubs/struct.options_contract_appl.html index 13bdb3b595f4..015983a85765 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.options_contract_appl.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.options_contract_appl.html @@ -1,4 +1,4 @@ -options_contract_appl in nautilus_model::instruments::stubs - Rust +options_contract_appl in nautilus_model::instruments::stubs - Rust
    pub struct options_contract_appl {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.usdjpy_idealpro.html b/nightly/core/nautilus_model/instruments/stubs/struct.usdjpy_idealpro.html index 6d01a9f8dd2e..292f3c2ce6e6 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.usdjpy_idealpro.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.usdjpy_idealpro.html @@ -1,4 +1,4 @@ -usdjpy_idealpro in nautilus_model::instruments::stubs - Rust +usdjpy_idealpro in nautilus_model::instruments::stubs - Rust
    pub struct usdjpy_idealpro {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/stubs/struct.xbtusd_bitmex.html b/nightly/core/nautilus_model/instruments/stubs/struct.xbtusd_bitmex.html index be345ac78f7f..fd0da040dec6 100644 --- a/nightly/core/nautilus_model/instruments/stubs/struct.xbtusd_bitmex.html +++ b/nightly/core/nautilus_model/instruments/stubs/struct.xbtusd_bitmex.html @@ -1,4 +1,4 @@ -xbtusd_bitmex in nautilus_model::instruments::stubs - Rust +xbtusd_bitmex in nautilus_model::instruments::stubs - Rust
    pub struct xbtusd_bitmex {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/instruments/synthetic/index.html b/nightly/core/nautilus_model/instruments/synthetic/index.html index e299a905177b..f96b752d5125 100644 --- a/nightly/core/nautilus_model/instruments/synthetic/index.html +++ b/nightly/core/nautilus_model/instruments/synthetic/index.html @@ -1,3 +1,3 @@ -nautilus_model::instruments::synthetic - Rust +nautilus_model::instruments::synthetic - Rust

    Structs§

    • Represents a synthetic instrument with prices derived from component instruments using a formula.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/instruments/synthetic/struct.SyntheticInstrument.html b/nightly/core/nautilus_model/instruments/synthetic/struct.SyntheticInstrument.html index 13b88947f6ab..75ed014ece98 100644 --- a/nightly/core/nautilus_model/instruments/synthetic/struct.SyntheticInstrument.html +++ b/nightly/core/nautilus_model/instruments/synthetic/struct.SyntheticInstrument.html @@ -1,4 +1,4 @@ -SyntheticInstrument in nautilus_model::instruments::synthetic - Rust +SyntheticInstrument in nautilus_model::instruments::synthetic - Rust
    pub struct SyntheticInstrument {
         pub id: InstrumentId,
         pub price_precision: u8,
    @@ -29,7 +29,7 @@
         Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl IntoPy<Py<PyAny>> for SyntheticInstrument

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for SyntheticInstrument

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for SyntheticInstrument

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for SyntheticInstrument

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<SyntheticInstrument>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SyntheticInstrument

    §

    type Holder = Option<PyRef<'py, SyntheticInstrument>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SyntheticInstrument

    §

    type Holder = Option<PyRefMut<'py, SyntheticInstrument>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for SyntheticInstrument

    §

    type AsRefTarget = PyCell<SyntheticInstrument>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "SyntheticInstrument"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for SyntheticInstrument

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a SyntheticInstrument

    §

    type Holder = Option<PyRef<'py, SyntheticInstrument>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut SyntheticInstrument

    §

    type Holder = Option<PyRefMut<'py, SyntheticInstrument>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for SyntheticInstrument

    §

    type AsRefTarget = PyCell<SyntheticInstrument>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "SyntheticInstrument"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for SyntheticInstrument

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_model/instruments/trait.Instrument.html b/nightly/core/nautilus_model/instruments/trait.Instrument.html index 112fb3815b70..687d1d2172d0 100644 --- a/nightly/core/nautilus_model/instruments/trait.Instrument.html +++ b/nightly/core/nautilus_model/instruments/trait.Instrument.html @@ -1,4 +1,4 @@ -Instrument in nautilus_model::instruments - Rust +Instrument in nautilus_model::instruments - Rust
    pub trait Instrument: Any + 'static + Send {
     
    Show 31 methods // Required methods fn id(&self) -> InstrumentId; diff --git a/nightly/core/nautilus_model/macro.enum_for_python.html b/nightly/core/nautilus_model/macro.enum_for_python.html index 7128953f0a82..1c663674b19d 100644 --- a/nightly/core/nautilus_model/macro.enum_for_python.html +++ b/nightly/core/nautilus_model/macro.enum_for_python.html @@ -1,4 +1,4 @@ -enum_for_python in nautilus_model - Rust +enum_for_python in nautilus_model - Rust
    macro_rules! enum_for_python {
         ($type:ty) => { ... };
     }
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/macro.enum_strum_serde.html b/nightly/core/nautilus_model/macro.enum_strum_serde.html index c7c025e9a783..0c03e67fc8f6 100644 --- a/nightly/core/nautilus_model/macro.enum_strum_serde.html +++ b/nightly/core/nautilus_model/macro.enum_strum_serde.html @@ -1,4 +1,4 @@ -enum_strum_serde in nautilus_model - Rust +enum_strum_serde in nautilus_model - Rust
    macro_rules! enum_strum_serde {
         ($type:ty) => { ... };
     }
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/macro.identifier_for_python.html b/nightly/core/nautilus_model/macro.identifier_for_python.html index 455f0d41799f..3390280b9ba6 100644 --- a/nightly/core/nautilus_model/macro.identifier_for_python.html +++ b/nightly/core/nautilus_model/macro.identifier_for_python.html @@ -1,4 +1,4 @@ -identifier_for_python in nautilus_model - Rust +identifier_for_python in nautilus_model - Rust
    macro_rules! identifier_for_python {
         ($ty:ty) => { ... };
     }
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/macros/index.html b/nightly/core/nautilus_model/macros/index.html index 5dbd9b87f3b1..19669afe484d 100644 --- a/nightly/core/nautilus_model/macros/index.html +++ b/nightly/core/nautilus_model/macros/index.html @@ -1,2 +1,2 @@ -nautilus_model::macros - Rust +nautilus_model::macros - Rust

    Module nautilus_model::macros

    source ·
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book/enum.BookIntegrityError.html b/nightly/core/nautilus_model/orderbook/book/enum.BookIntegrityError.html index 0098e77f71d1..97f6e980a179 100644 --- a/nightly/core/nautilus_model/orderbook/book/enum.BookIntegrityError.html +++ b/nightly/core/nautilus_model/orderbook/book/enum.BookIntegrityError.html @@ -1,11 +1,11 @@ -BookIntegrityError in nautilus_model::orderbook::book - Rust -
    pub enum BookIntegrityError {
    +BookIntegrityError in nautilus_model::orderbook::book - Rust
    +    
    pub enum BookIntegrityError {
         OrderNotFound(u64, u64, u64),
         NoOrderSide,
         OrdersCrossed(BookPrice, BookPrice),
         TooManyOrders(OrderSide, usize),
         TooManyLevels(OrderSide, usize),
    -}

    Variants§

    §

    OrderNotFound(u64, u64, u64)

    §

    NoOrderSide

    §

    OrdersCrossed(BookPrice, BookPrice)

    §

    TooManyOrders(OrderSide, usize)

    §

    TooManyLevels(OrderSide, usize)

    Trait Implementations§

    source§

    impl Debug for BookIntegrityError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BookIntegrityError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BookIntegrityError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    OrderNotFound(u64, u64, u64)

    §

    NoOrderSide

    §

    OrdersCrossed(BookPrice, BookPrice)

    §

    TooManyOrders(OrderSide, usize)

    §

    TooManyLevels(OrderSide, usize)

    Trait Implementations§

    source§

    impl Debug for BookIntegrityError

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BookIntegrityError

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for BookIntegrityError

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orderbook/book/enum.InvalidBookOperation.html b/nightly/core/nautilus_model/orderbook/book/enum.InvalidBookOperation.html index 6356112065c1..ae3dd83389ea 100644 --- a/nightly/core/nautilus_model/orderbook/book/enum.InvalidBookOperation.html +++ b/nightly/core/nautilus_model/orderbook/book/enum.InvalidBookOperation.html @@ -1,8 +1,8 @@ -InvalidBookOperation in nautilus_model::orderbook::book - Rust -
    pub enum InvalidBookOperation {
    +InvalidBookOperation in nautilus_model::orderbook::book - Rust
    +    
    pub enum InvalidBookOperation {
         PreProcessOrder(BookType),
         Add(BookType),
    -}

    Variants§

    §

    PreProcessOrder(BookType)

    §

    Add(BookType)

    Trait Implementations§

    source§

    impl Debug for InvalidBookOperation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for InvalidBookOperation

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for InvalidBookOperation

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +}

    Variants§

    §

    PreProcessOrder(BookType)

    §

    Add(BookType)

    Trait Implementations§

    source§

    impl Debug for InvalidBookOperation

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for InvalidBookOperation

    source§

    fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Error for InvalidBookOperation

    1.30.0 · source§

    fn source(&self) -> Option<&(dyn Error + 'static)>

    The lower-level source of this error, if any. Read more
    1.0.0 · source§

    fn description(&self) -> &str

    👎Deprecated since 1.42.0: use the Display impl or to_string()
    1.0.0 · source§

    fn cause(&self) -> Option<&dyn Error>

    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    source§

    fn provide<'a>(&'a self, request: &mut Request<'a>)

    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orderbook/book/fn.get_avg_px_for_quantity.html b/nightly/core/nautilus_model/orderbook/book/fn.get_avg_px_for_quantity.html new file mode 100644 index 000000000000..72549141a2e4 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book/fn.get_avg_px_for_quantity.html @@ -0,0 +1,5 @@ +get_avg_px_for_quantity in nautilus_model::orderbook::book - Rust +
    pub fn get_avg_px_for_quantity(
    +    qty: Quantity,
    +    levels: &BTreeMap<BookPrice, Level>
    +) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book/fn.get_quantity_for_price.html b/nightly/core/nautilus_model/orderbook/book/fn.get_quantity_for_price.html new file mode 100644 index 000000000000..93aa5526d76c --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book/fn.get_quantity_for_price.html @@ -0,0 +1,6 @@ +get_quantity_for_price in nautilus_model::orderbook::book - Rust +
    pub fn get_quantity_for_price(
    +    price: Price,
    +    order_side: OrderSide,
    +    levels: &BTreeMap<BookPrice, Level>
    +) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book/index.html b/nightly/core/nautilus_model/orderbook/book/index.html index d5ec01431b81..e6f52682e42d 100644 --- a/nightly/core/nautilus_model/orderbook/book/index.html +++ b/nightly/core/nautilus_model/orderbook/book/index.html @@ -1,2 +1,2 @@ -nautilus_model::orderbook::book - Rust -

    Structs§

    • Provides an order book which can handle L1/L2/L3 granularity data.

    Enums§

    \ No newline at end of file +nautilus_model::orderbook::book - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book/sidebar-items.js b/nightly/core/nautilus_model/orderbook/book/sidebar-items.js index 80ffe81b153e..e344b8e10c90 100644 --- a/nightly/core/nautilus_model/orderbook/book/sidebar-items.js +++ b/nightly/core/nautilus_model/orderbook/book/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":["BookIntegrityError","InvalidBookOperation"],"struct":["OrderBook"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":["BookIntegrityError","InvalidBookOperation"],"fn":["get_avg_px_for_quantity","get_quantity_for_price"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book/struct.OrderBook.html b/nightly/core/nautilus_model/orderbook/book/struct.OrderBook.html deleted file mode 100644 index a336ced138ec..000000000000 --- a/nightly/core/nautilus_model/orderbook/book/struct.OrderBook.html +++ /dev/null @@ -1,26 +0,0 @@ -OrderBook in nautilus_model::orderbook::book - Rust -
    pub struct OrderBook {
    -    pub instrument_id: InstrumentId,
    -    pub book_type: BookType,
    -    pub sequence: u64,
    -    pub ts_last: UnixNanos,
    -    pub count: u64,
    -    /* private fields */
    -}
    Expand description

    Provides an order book which can handle L1/L2/L3 granularity data.

    -

    Fields§

    §instrument_id: InstrumentId§book_type: BookType§sequence: u64§ts_last: UnixNanos§count: u64

    Implementations§

    source§

    impl OrderBook

    source

    pub fn new(instrument_id: InstrumentId, book_type: BookType) -> Self

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( - &self, - qty: Quantity, - order_side: OrderSide -) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn update_quote_tick(&mut self, tick: &QuoteTick)

    source

    pub fn update_trade_tick(&mut self, tick: &TradeTick)

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Return a String representation of the order book in a human-readable table format.

    -
    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    -

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbo/index.html b/nightly/core/nautilus_model/orderbook/book_mbo/index.html new file mode 100644 index 000000000000..8d59fed7f9a6 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbo/index.html @@ -0,0 +1,2 @@ +nautilus_model::orderbook::book_mbo - Rust +

    Structs§

    • Provides an order book which can handle MBO/L3 granularity data.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbo/sidebar-items.js b/nightly/core/nautilus_model/orderbook/book_mbo/sidebar-items.js new file mode 100644 index 000000000000..cb8d6c929ca0 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbo/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["OrderBookMbo"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbo/struct.OrderBookMbo.html b/nightly/core/nautilus_model/orderbook/book_mbo/struct.OrderBookMbo.html new file mode 100644 index 000000000000..1c830282d97d --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbo/struct.OrderBookMbo.html @@ -0,0 +1,29 @@ +OrderBookMbo in nautilus_model::orderbook::book_mbo - Rust +
    pub struct OrderBookMbo {
    +    pub instrument_id: InstrumentId,
    +    pub sequence: u64,
    +    pub ts_last: UnixNanos,
    +    pub count: u64,
    +    /* private fields */
    +}
    Expand description

    Provides an order book which can handle MBO/L3 granularity data.

    +

    Fields§

    §instrument_id: InstrumentId§sequence: u64§ts_last: UnixNanos§count: u64

    Implementations§

    source§

    impl OrderBookMbo

    source

    pub fn new(instrument_id: InstrumentId) -> Self

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( + &self, + qty: Quantity, + order_side: OrderSide +) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Return a String representation of the order book in a human-readable table format.

    +
    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    Trait Implementations§

    source§

    impl Clone for OrderBookMbo

    source§

    fn clone(&self) -> OrderBookMbo

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookMbo

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookMbo

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for OrderBookMbo

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookMbo

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookMbo>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookMbo

    §

    type Holder = Option<PyRef<'py, OrderBookMbo>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookMbo

    §

    type Holder = Option<PyRefMut<'py, OrderBookMbo>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for OrderBookMbo

    §

    type AsRefTarget = PyCell<OrderBookMbo>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookMbo"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<'a, T> FromPyObject<'a> for T
    where + T: PyClass + Clone,

    §

    fn extract(obj: &'a PyAny) -> Result<T, PyErr>

    Extracts Self from the source PyObject.
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> PyErrArguments for T
    where + T: IntoPy<Py<PyAny>> + Send + Sync,

    §

    fn arguments(self, py: Python<'_>) -> Py<PyAny>

    Arguments for exception
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbp/index.html b/nightly/core/nautilus_model/orderbook/book_mbp/index.html new file mode 100644 index 000000000000..c0efac039255 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbp/index.html @@ -0,0 +1,2 @@ +nautilus_model::orderbook::book_mbp - Rust +

    Structs§

    • Provides an order book which can handle MBP/L2 or L1 (top only) granularity data.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbp/sidebar-items.js b/nightly/core/nautilus_model/orderbook/book_mbp/sidebar-items.js new file mode 100644 index 000000000000..a8b3f95ab9fd --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbp/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["OrderBookMbp"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/book_mbp/struct.OrderBookMbp.html b/nightly/core/nautilus_model/orderbook/book_mbp/struct.OrderBookMbp.html new file mode 100644 index 000000000000..147072530fa1 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/book_mbp/struct.OrderBookMbp.html @@ -0,0 +1,30 @@ +OrderBookMbp in nautilus_model::orderbook::book_mbp - Rust +
    pub struct OrderBookMbp {
    +    pub instrument_id: InstrumentId,
    +    pub top_only: bool,
    +    pub sequence: u64,
    +    pub ts_last: UnixNanos,
    +    pub count: u64,
    +    /* private fields */
    +}
    Expand description

    Provides an order book which can handle MBP/L2 or L1 (top only) granularity data.

    +

    Fields§

    §instrument_id: InstrumentId§top_only: bool§sequence: u64§ts_last: UnixNanos§count: u64

    Implementations§

    source§

    impl OrderBookMbp

    source

    pub fn new(instrument_id: InstrumentId, top_only: bool) -> Self

    source

    pub fn reset(&mut self)

    source

    pub fn add(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn update_quote_tick(&mut self, quote: &QuoteTick)

    source

    pub fn update_trade_tick(&mut self, trade: &TradeTick)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn clear(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_bids(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn clear_asks(&mut self, ts_event: u64, sequence: u64)

    source

    pub fn apply_delta(&mut self, delta: OrderBookDelta)

    source

    pub fn apply_deltas(&mut self, deltas: OrderBookDeltas)

    source

    pub fn apply_depth(&mut self, depth: OrderBookDepth10)

    source

    pub fn bids(&self) -> Vec<&Level>

    source

    pub fn asks(&self) -> Vec<&Level>

    source

    pub fn has_bid(&self) -> bool

    source

    pub fn has_ask(&self) -> bool

    source

    pub fn best_bid_price(&self) -> Option<Price>

    source

    pub fn best_ask_price(&self) -> Option<Price>

    source

    pub fn best_bid_size(&self) -> Option<Quantity>

    source

    pub fn best_ask_size(&self) -> Option<Quantity>

    source

    pub fn spread(&self) -> Option<f64>

    source

    pub fn midpoint(&self) -> Option<f64>

    source

    pub fn get_avg_px_for_quantity( + &self, + qty: Quantity, + order_side: OrderSide +) -> f64

    source

    pub fn get_quantity_for_price(&self, price: Price, order_side: OrderSide) -> f64

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    source

    pub fn pprint(&self, num_levels: usize) -> String

    Return a String representation of the order book in a human-readable table format.

    +
    source

    pub fn check_integrity(&self) -> Result<(), BookIntegrityError>

    Trait Implementations§

    source§

    impl Clone for OrderBookMbp

    source§

    fn clone(&self) -> OrderBookMbp

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for OrderBookMbp

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for OrderBookMbp

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for OrderBookMbp

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookMbp

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookMbp>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookMbp> for PyClassImplCollector<OrderBookMbp>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookMbp

    §

    type Holder = Option<PyRef<'py, OrderBookMbp>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookMbp

    §

    type Holder = Option<PyRefMut<'py, OrderBookMbp>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookMbp> for PyClassImplCollector<OrderBookMbp>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookMbp

    §

    type AsRefTarget = PyCell<OrderBookMbp>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookMbp"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    §

    impl<'a, T> FromPyObject<'a> for T
    where + T: PyClass + Clone,

    §

    fn extract(obj: &'a PyAny) -> Result<T, PyErr>

    Extracts Self from the source PyObject.
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    §

    impl<T> PyErrArguments for T
    where + T: IntoPy<Py<PyAny>> + Send + Sync,

    §

    fn arguments(self, py: Python<'_>) -> Py<PyAny>

    Arguments for exception
    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/display/fn.pprint_book.html b/nightly/core/nautilus_model/orderbook/display/fn.pprint_book.html new file mode 100644 index 000000000000..e4fda617422a --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/display/fn.pprint_book.html @@ -0,0 +1,3 @@ +pprint_book in nautilus_model::orderbook::display - Rust +
    pub fn pprint_book(bids: &Ladder, asks: &Ladder, num_levels: usize) -> String
    Expand description

    Return a String representation of the order book in a human-readable table format.

    +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/display/index.html b/nightly/core/nautilus_model/orderbook/display/index.html new file mode 100644 index 000000000000..b1c1d9c67fe8 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/display/index.html @@ -0,0 +1,2 @@ +nautilus_model::orderbook::display - Rust +

    Functions§

    • Return a String representation of the order book in a human-readable table format.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/display/sidebar-items.js b/nightly/core/nautilus_model/orderbook/display/sidebar-items.js new file mode 100644 index 000000000000..f559b3e24379 --- /dev/null +++ b/nightly/core/nautilus_model/orderbook/display/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"fn":["pprint_book"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/index.html b/nightly/core/nautilus_model/orderbook/index.html index a73b4d722954..8eed91388aca 100644 --- a/nightly/core/nautilus_model/orderbook/index.html +++ b/nightly/core/nautilus_model/orderbook/index.html @@ -1,2 +1,2 @@ -nautilus_model::orderbook - Rust -
    \ No newline at end of file +nautilus_model::orderbook - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/ladder/index.html b/nightly/core/nautilus_model/orderbook/ladder/index.html index da20d852a97f..e4d16159628a 100644 --- a/nightly/core/nautilus_model/orderbook/ladder/index.html +++ b/nightly/core/nautilus_model/orderbook/ladder/index.html @@ -1,2 +1,2 @@ -nautilus_model::orderbook::ladder - Rust -

    Structs§

    • Represents a price level with a specified side in an order books ladder.
    • Represents one side of an order book as a ladder of price levels.
    \ No newline at end of file +nautilus_model::orderbook::ladder - Rust +

    Structs§

    • Represents a price level with a specified side in an order books ladder.
    • Represents one side of an order book as a ladder of price levels.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/ladder/struct.BookPrice.html b/nightly/core/nautilus_model/orderbook/ladder/struct.BookPrice.html index 9dd8932f5c32..637be2a4abb4 100644 --- a/nightly/core/nautilus_model/orderbook/ladder/struct.BookPrice.html +++ b/nightly/core/nautilus_model/orderbook/ladder/struct.BookPrice.html @@ -1,16 +1,17 @@ -BookPrice in nautilus_model::orderbook::ladder - Rust -
    pub struct BookPrice {
    +BookPrice in nautilus_model::orderbook::ladder - Rust
    +    
    pub struct BookPrice {
         pub value: Price,
         pub side: OrderSide,
     }
    Expand description

    Represents a price level with a specified side in an order books ladder.

    -

    Fields§

    §value: Price§side: OrderSide

    Implementations§

    source§

    impl BookPrice

    source

    pub fn new(value: Price, side: OrderSide) -> Self

    Trait Implementations§

    source§

    impl Clone for BookPrice

    source§

    fn clone(&self) -> BookPrice

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookPrice

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BookPrice

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for BookPrice

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +

    Fields§

    §value: Price§side: OrderSide

    Implementations§

    source§

    impl BookPrice

    source

    pub fn new(value: Price, side: OrderSide) -> Self

    Trait Implementations§

    source§

    impl Clone for BookPrice

    source§

    fn clone(&self) -> BookPrice

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for BookPrice

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Display for BookPrice

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for BookPrice

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for BookPrice

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for BookPrice

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for BookPrice

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for BookPrice

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for BookPrice

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    1.0.0 · source§

    fn lt(&self, other: &Rhs) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    1.0.0 · source§

    fn le(&self, other: &Rhs) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    1.0.0 · source§

    fn gt(&self, other: &Rhs) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    1.0.0 · source§

    fn ge(&self, other: &Rhs) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Copy for BookPrice

    source§

    impl Eq for BookPrice

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +operator. Read more

    source§

    impl PyClass for BookPrice

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BookPrice

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BookPrice>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BookPrice

    §

    type Holder = Option<PyRef<'py, BookPrice>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BookPrice

    §

    type Holder = Option<PyRefMut<'py, BookPrice>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for BookPrice

    §

    type AsRefTarget = PyCell<BookPrice>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BookPrice"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Copy for BookPrice

    source§

    impl Eq for BookPrice

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where @@ -20,11 +21,13 @@ K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where +

    §

    impl<'a, T> FromPyObject<'a> for T
    where + T: PyClass + Clone,

    §

    fn extract(obj: &'a PyAny) -> Result<T, PyErr>

    Extracts Self from the source PyObject.
    source§

    impl<T, U> Into<U> for T
    where U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> Separable for T
    where +

    §

    impl<T> PyErrArguments for T
    where + T: IntoPy<Py<PyAny>> + Send + Sync,

    §

    fn arguments(self, py: Python<'_>) -> Py<PyAny>

    Arguments for exception
    source§

    impl<T> Separable for T
    where T: Display,

    source§

    fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String

    Adds separators according to the given SeparatorPolicy. Read more
    source§

    fn separate_with_commas(&self) -> String

    Inserts a comma every three digits from the right. Read more
    source§

    fn separate_with_spaces(&self) -> String

    Inserts a space every three digits from the right. Read more
    source§

    fn separate_with_dots(&self) -> String

    Inserts a period every three digits from the right. Read more
    source§

    fn separate_with_underscores(&self) -> String

    Inserts an underscore every three digits from the right. Read more
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T> ToString for T
    where T: Display + ?Sized,

    source§

    default fn to_string(&self) -> String

    Converts the given value to a String. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where diff --git a/nightly/core/nautilus_model/orderbook/ladder/struct.Ladder.html b/nightly/core/nautilus_model/orderbook/ladder/struct.Ladder.html index 0e1b8b711e6a..1765f52acd3c 100644 --- a/nightly/core/nautilus_model/orderbook/ladder/struct.Ladder.html +++ b/nightly/core/nautilus_model/orderbook/ladder/struct.Ladder.html @@ -1,10 +1,10 @@ -Ladder in nautilus_model::orderbook::ladder - Rust -
    pub struct Ladder {
    +Ladder in nautilus_model::orderbook::ladder - Rust
    +    
    pub struct Ladder {
         pub side: OrderSide,
         pub levels: BTreeMap<BookPrice, Level>,
         pub cache: HashMap<u64, BookPrice>,
     }
    Expand description

    Represents one side of an order book as a ladder of price levels.

    -

    Fields§

    §side: OrderSide§levels: BTreeMap<BookPrice, Level>§cache: HashMap<u64, BookPrice>

    Implementations§

    source§

    impl Ladder

    source

    pub fn new(side: OrderSide) -> Self

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn clear(&mut self)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn remove(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn sizes(&self) -> f64

    source

    pub fn exposures(&self) -> f64

    source

    pub fn top(&self) -> Option<&Level>

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +

    Fields§

    §side: OrderSide§levels: BTreeMap<BookPrice, Level>§cache: HashMap<u64, BookPrice>

    Implementations§

    source§

    impl Ladder

    source

    pub fn new(side: OrderSide) -> Self

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn clear(&mut self)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: BookOrder, ts_event: u64, sequence: u64)

    source

    pub fn remove(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn sizes(&self) -> f64

    source

    pub fn exposures(&self) -> f64

    source

    pub fn top(&self) -> Option<&Level>

    source

    pub fn simulate_fills(&self, order: &BookOrder) -> Vec<(Price, Quantity)>

    Trait Implementations§

    source§

    impl Clone for Ladder

    source§

    fn clone(&self) -> Ladder

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Ladder

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    @@ -12,7 +12,8 @@ U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where +

    source§

    impl<T> ToOwned for T
    where + T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/level/index.html b/nightly/core/nautilus_model/orderbook/level/index.html index 6e35c3605f28..9bf881cfcae7 100644 --- a/nightly/core/nautilus_model/orderbook/level/index.html +++ b/nightly/core/nautilus_model/orderbook/level/index.html @@ -1,2 +1,2 @@ -nautilus_model::orderbook::level - Rust -
    \ No newline at end of file +nautilus_model::orderbook::level - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orderbook/level/struct.Level.html b/nightly/core/nautilus_model/orderbook/level/struct.Level.html index 63b2f7ab97dd..a3dfd2533437 100644 --- a/nightly/core/nautilus_model/orderbook/level/struct.Level.html +++ b/nightly/core/nautilus_model/orderbook/level/struct.Level.html @@ -1,16 +1,17 @@ -Level in nautilus_model::orderbook::level - Rust -
    pub struct Level {
    +Level in nautilus_model::orderbook::level - Rust
    +    
    pub struct Level {
         pub price: BookPrice,
         pub orders: BTreeMap<OrderId, BookOrder>,
         /* private fields */
    -}

    Fields§

    §price: BookPrice§orders: BTreeMap<OrderId, BookOrder>

    Implementations§

    source§

    impl Level

    source

    pub fn new(price: BookPrice) -> Self

    source

    pub fn from_order(order: BookOrder) -> Self

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn first(&self) -> Option<&BookOrder>

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: &BookOrder)

    source

    pub fn remove_by_id(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn size(&self) -> f64

    source

    pub fn size_raw(&self) -> u64

    source

    pub fn exposure(&self) -> f64

    source

    pub fn exposure_raw(&self) -> u64

    Trait Implementations§

    source§

    impl Clone for Level

    source§

    fn clone(&self) -> Level

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Level

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Ord for Level

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where +}

    Fields§

    §price: BookPrice§orders: BTreeMap<OrderId, BookOrder>

    Implementations§

    source§

    impl Level

    source

    pub fn new(price: BookPrice) -> Self

    source

    pub fn from_order(order: BookOrder) -> Self

    source

    pub fn len(&self) -> usize

    source

    pub fn is_empty(&self) -> bool

    source

    pub fn first(&self) -> Option<&BookOrder>

    source

    pub fn add_bulk(&mut self, orders: Vec<BookOrder>)

    source

    pub fn add(&mut self, order: BookOrder)

    source

    pub fn update(&mut self, order: BookOrder)

    source

    pub fn delete(&mut self, order: &BookOrder)

    source

    pub fn remove_by_id(&mut self, order_id: OrderId, ts_event: u64, sequence: u64)

    source

    pub fn size(&self) -> f64

    source

    pub fn size_raw(&self) -> u64

    source

    pub fn exposure(&self) -> f64

    source

    pub fn exposure_raw(&self) -> u64

    Trait Implementations§

    source§

    impl Clone for Level

    source§

    fn clone(&self) -> Level

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Level

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for Level

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Ord for Level

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where - Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Level

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used + Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more

    source§

    impl PartialEq for Level

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
    source§

    impl PartialOrd for Level

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    source§

    fn lt(&self, other: &Self) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    source§

    fn le(&self, other: &Self) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= -operator. Read more
    source§

    fn gt(&self, other: &Self) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    source§

    fn ge(&self, other: &Self) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    source§

    impl Eq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +sufficient, and should not be overridden without very good reason.

    source§

    impl PartialOrd for Level

    source§

    fn partial_cmp(&self, other: &Self) -> Option<Ordering>

    This method returns an ordering between self and other values if one exists. Read more
    source§

    fn lt(&self, other: &Self) -> bool

    This method tests less than (for self and other) and is used by the < operator. Read more
    source§

    fn le(&self, other: &Self) -> bool

    This method tests less than or equal to (for self and other) and is used by the <= +operator. Read more
    source§

    fn gt(&self, other: &Self) -> bool

    This method tests greater than (for self and other) and is used by the > operator. Read more
    source§

    fn ge(&self, other: &Self) -> bool

    This method tests greater than or equal to (for self and other) and is used by the >= +operator. Read more
    source§

    impl PyClass for Level

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for Level

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<Level>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Level

    §

    type Holder = Option<PyRef<'py, Level>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Level

    §

    type Holder = Option<PyRefMut<'py, Level>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for Level

    §

    type AsRefTarget = PyCell<Level>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Level"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Eq for Level

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Level

    §

    impl Send for Level

    §

    impl Sync for Level

    §

    impl Unpin for Level

    §

    impl UnwindSafe for Level

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where @@ -20,11 +21,13 @@ K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Checks if this value is equivalent to the given key. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

    §

    fn equivalent(&self, key: &K) -> bool

    Compare self to key and return true if they are equal.
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where +

    §

    impl<'a, T> FromPyObject<'a> for T
    where + T: PyClass + Clone,

    §

    fn extract(obj: &'a PyAny) -> Result<T, PyErr>

    Extracts Self from the source PyObject.
    source§

    impl<T, U> Into<U> for T
    where U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    source§

    impl<T> ToOwned for T
    where +

    §

    impl<T> PyErrArguments for T
    where + T: IntoPy<Py<PyAny>> + Send + Sync,

    §

    fn arguments(self, py: Python<'_>) -> Py<PyAny>

    Arguments for exception
    source§

    impl<T> ToOwned for T
    where T: Clone,

    §

    type Owned = T

    The resulting type after obtaining ownership.
    source§

    fn to_owned(&self) -> T

    Creates owned data from borrowed data, usually by cloning. Read more
    source§

    fn clone_into(&self, target: &mut T)

    Uses borrowed data to replace owned data, usually by cloning. Read more
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where diff --git a/nightly/core/nautilus_model/orderbook/sidebar-items.js b/nightly/core/nautilus_model/orderbook/sidebar-items.js index fdd69f17262e..7814655d42c7 100644 --- a/nightly/core/nautilus_model/orderbook/sidebar-items.js +++ b/nightly/core/nautilus_model/orderbook/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"mod":["book","ladder","level"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"mod":["book","book_mbo","book_mbp","display","ladder","level"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/base/enum.OrderError.html b/nightly/core/nautilus_model/orders/base/enum.OrderError.html index c18cb896629b..ebf478217f6f 100644 --- a/nightly/core/nautilus_model/orders/base/enum.OrderError.html +++ b/nightly/core/nautilus_model/orders/base/enum.OrderError.html @@ -1,4 +1,4 @@ -OrderError in nautilus_model::orders::base - Rust +OrderError in nautilus_model::orders::base - Rust
    pub enum OrderError {
         InvalidStateTransition,
         InvalidOrderEvent,
    diff --git a/nightly/core/nautilus_model/orders/base/fn.str_hashmap_to_ustr.html b/nightly/core/nautilus_model/orders/base/fn.str_hashmap_to_ustr.html
    index fa1fe5ce7ee9..d90ae84b28b0 100644
    --- a/nightly/core/nautilus_model/orders/base/fn.str_hashmap_to_ustr.html
    +++ b/nightly/core/nautilus_model/orders/base/fn.str_hashmap_to_ustr.html
    @@ -1,2 +1,2 @@
    -str_hashmap_to_ustr in nautilus_model::orders::base - Rust
    +str_hashmap_to_ustr in nautilus_model::orders::base - Rust
         
    pub fn str_hashmap_to_ustr(h: HashMap<String, String>) -> HashMap<Ustr, Ustr>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/base/fn.ustr_hashmap_to_str.html b/nightly/core/nautilus_model/orders/base/fn.ustr_hashmap_to_str.html index b7cb81b416c4..b24a1773926f 100644 --- a/nightly/core/nautilus_model/orders/base/fn.ustr_hashmap_to_str.html +++ b/nightly/core/nautilus_model/orders/base/fn.ustr_hashmap_to_str.html @@ -1,2 +1,2 @@ -ustr_hashmap_to_str in nautilus_model::orders::base - Rust +ustr_hashmap_to_str in nautilus_model::orders::base - Rust
    pub fn ustr_hashmap_to_str(h: HashMap<Ustr, Ustr>) -> HashMap<String, String>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/base/index.html b/nightly/core/nautilus_model/orders/base/index.html index 951a8f5336fb..0b17853816e1 100644 --- a/nightly/core/nautilus_model/orders/base/index.html +++ b/nightly/core/nautilus_model/orders/base/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::base - Rust +nautilus_model::orders::base - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/base/struct.OrderCore.html b/nightly/core/nautilus_model/orders/base/struct.OrderCore.html index b5dbb56986e1..a0076dc41730 100644 --- a/nightly/core/nautilus_model/orders/base/struct.OrderCore.html +++ b/nightly/core/nautilus_model/orders/base/struct.OrderCore.html @@ -1,4 +1,4 @@ -OrderCore in nautilus_model::orders::base - Rust +OrderCore in nautilus_model::orders::base - Rust
    pub struct OrderCore {
    Show 37 fields pub events: Vec<OrderEvent>, pub commissions: HashMap<Currency, Money>, diff --git a/nightly/core/nautilus_model/orders/base/trait.Order.html b/nightly/core/nautilus_model/orders/base/trait.Order.html index b9c2226fe169..6bde56d39642 100644 --- a/nightly/core/nautilus_model/orders/base/trait.Order.html +++ b/nightly/core/nautilus_model/orders/base/trait.Order.html @@ -1,4 +1,4 @@ -Order in nautilus_model::orders::base - Rust +Order in nautilus_model::orders::base - Rust
    pub trait Order {
     
    Show 68 methods // Required methods fn status(&self) -> OrderStatus; diff --git a/nightly/core/nautilus_model/orders/default/index.html b/nightly/core/nautilus_model/orders/default/index.html index c18201f338df..d8d049b430bb 100644 --- a/nightly/core/nautilus_model/orders/default/index.html +++ b/nightly/core/nautilus_model/orders/default/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::default - Rust +nautilus_model::orders::default - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/index.html b/nightly/core/nautilus_model/orders/index.html index 0b6c06eaae8c..d2ad86045591 100644 --- a/nightly/core/nautilus_model/orders/index.html +++ b/nightly/core/nautilus_model/orders/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders - Rust +nautilus_model::orders - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/limit/index.html b/nightly/core/nautilus_model/orders/limit/index.html index 12b20c8568f9..5b0a7015de43 100644 --- a/nightly/core/nautilus_model/orders/limit/index.html +++ b/nightly/core/nautilus_model/orders/limit/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::limit - Rust +nautilus_model::orders::limit - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/limit/struct.LimitOrder.html b/nightly/core/nautilus_model/orders/limit/struct.LimitOrder.html index bd10e70300df..a3563525a983 100644 --- a/nightly/core/nautilus_model/orders/limit/struct.LimitOrder.html +++ b/nightly/core/nautilus_model/orders/limit/struct.LimitOrder.html @@ -1,4 +1,4 @@ -LimitOrder in nautilus_model::orders::limit - Rust +LimitOrder in nautilus_model::orders::limit - Rust
    pub struct LimitOrder {
         pub price: Price,
         pub expire_time: Option<UnixNanos>,
    @@ -38,7 +38,7 @@
         position_qty: Quantity
     ) -> bool

    source

    pub fn commission(&self, currency: &Currency) -> Option<Money>

    source

    pub fn commissions(&self) -> HashMap<Currency, Money>

    Trait Implementations§

    source§

    impl Default for LimitOrder

    Provides a default LimitOrder used for testing.

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for LimitOrder

    §

    type Target = OrderCore

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for LimitOrder

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderInitialized> for LimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for LimitOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Order for LimitOrder

    source§

    fn status(&self) -> OrderStatus

    source§

    fn trader_id(&self) -> TraderId

    source§

    fn strategy_id(&self) -> StrategyId

    source§

    fn instrument_id(&self) -> InstrumentId

    source§

    fn symbol(&self) -> Symbol

    source§

    fn venue(&self) -> Venue

    source§

    fn client_order_id(&self) -> ClientOrderId

    source§

    fn venue_order_id(&self) -> Option<VenueOrderId>

    source§

    fn position_id(&self) -> Option<PositionId>

    source§

    fn account_id(&self) -> Option<AccountId>

    source§

    fn last_trade_id(&self) -> Option<TradeId>

    source§

    fn side(&self) -> OrderSide

    source§

    fn order_type(&self) -> OrderType

    source§

    fn quantity(&self) -> Quantity

    source§

    fn time_in_force(&self) -> TimeInForce

    source§

    fn expire_time(&self) -> Option<UnixNanos>

    source§

    fn price(&self) -> Option<Price>

    source§

    fn trigger_price(&self) -> Option<Price>

    source§

    fn trigger_type(&self) -> Option<TriggerType>

    source§

    fn liquidity_side(&self) -> Option<LiquiditySide>

    source§

    fn is_post_only(&self) -> bool

    source§

    fn is_reduce_only(&self) -> bool

    source§

    fn is_quote_quantity(&self) -> bool

    source§

    fn display_qty(&self) -> Option<Quantity>

    source§

    fn limit_offset(&self) -> Option<Price>

    source§

    fn trailing_offset(&self) -> Option<Price>

    source§

    fn trailing_offset_type(&self) -> Option<TrailingOffsetType>

    source§

    fn emulation_trigger(&self) -> Option<TriggerType>

    source§

    fn trigger_instrument_id(&self) -> Option<InstrumentId>

    source§

    fn contingency_type(&self) -> Option<ContingencyType>

    source§

    fn order_list_id(&self) -> Option<OrderListId>

    source§

    fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>

    source§

    fn parent_order_id(&self) -> Option<ClientOrderId>

    source§

    fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>

    source§

    fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>

    source§

    fn exec_spawn_id(&self) -> Option<ClientOrderId>

    source§

    fn tags(&self) -> Option<Ustr>

    source§

    fn filled_qty(&self) -> Quantity

    source§

    fn leaves_qty(&self) -> Quantity

    source§

    fn avg_px(&self) -> Option<f64>

    source§

    fn slippage(&self) -> Option<f64>

    source§

    fn init_id(&self) -> UUID4

    source§

    fn ts_init(&self) -> UnixNanos

    source§

    fn ts_last(&self) -> UnixNanos

    source§

    fn events(&self) -> Vec<&OrderEvent>

    source§

    fn venue_order_ids(&self) -> Vec<&VenueOrderId>

    source§

    fn trade_ids(&self) -> Vec<&TradeId>

    source§

    fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>

    source§

    fn update(&mut self, event: &OrderUpdated)

    source§

    fn last_event(&self) -> &OrderEvent

    source§

    fn event_count(&self) -> usize

    source§

    fn is_buy(&self) -> bool

    source§

    fn is_sell(&self) -> bool

    source§

    fn is_passive(&self) -> bool

    source§

    fn is_aggressive(&self) -> bool

    source§

    fn is_emulated(&self) -> bool

    source§

    fn is_active_local(&self) -> bool

    source§

    fn is_primary(&self) -> bool

    source§

    fn is_secondary(&self) -> bool

    source§

    fn is_contingency(&self) -> bool

    source§

    fn is_parent_order(&self) -> bool

    source§

    fn is_child_order(&self) -> bool

    source§

    fn is_open(&self) -> bool

    source§

    fn is_canceled(&self) -> bool

    source§

    fn is_closed(&self) -> bool

    source§

    fn is_inflight(&self) -> bool

    source§

    fn is_pending_update(&self) -> bool

    source§

    fn is_pending_cancel(&self) -> bool

    source§

    impl PyClass for LimitOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for LimitOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<LimitOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitOrder

    §

    type Holder = Option<PyRef<'py, LimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitOrder

    §

    type Holder = Option<PyRefMut<'py, LimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LimitOrder

    §

    type AsRefTarget = PyCell<LimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitOrder

    §

    type Holder = Option<PyRef<'py, LimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitOrder

    §

    type Holder = Option<PyRefMut<'py, LimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LimitOrder

    §

    type AsRefTarget = PyCell<LimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orders/limit_if_touched/index.html b/nightly/core/nautilus_model/orders/limit_if_touched/index.html index bf9915fe89ef..98d1b6dc7e46 100644 --- a/nightly/core/nautilus_model/orders/limit_if_touched/index.html +++ b/nightly/core/nautilus_model/orders/limit_if_touched/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::limit_if_touched - Rust +nautilus_model::orders::limit_if_touched - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html b/nightly/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html index 9508966f3b17..0e6b96d7addb 100644 --- a/nightly/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html +++ b/nightly/core/nautilus_model/orders/limit_if_touched/struct.LimitIfTouchedOrder.html @@ -1,4 +1,4 @@ -LimitIfTouchedOrder in nautilus_model::orders::limit_if_touched - Rust +LimitIfTouchedOrder in nautilus_model::orders::limit_if_touched - Rust
    pub struct LimitIfTouchedOrder {
         pub price: Price,
         pub trigger_price: Price,
    @@ -44,7 +44,7 @@
         position_qty: Quantity
     ) -> bool

    source

    pub fn commission(&self, currency: &Currency) -> Option<Money>

    source

    pub fn commissions(&self) -> HashMap<Currency, Money>

    Trait Implementations§

    source§

    impl Default for LimitIfTouchedOrder

    Provides a default LimitIfTouchedOrder used for testing.

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for LimitIfTouchedOrder

    §

    type Target = OrderCore

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for LimitIfTouchedOrder

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderInitialized> for LimitIfTouchedOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for LimitIfTouchedOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Order for LimitIfTouchedOrder

    source§

    fn status(&self) -> OrderStatus

    source§

    fn trader_id(&self) -> TraderId

    source§

    fn strategy_id(&self) -> StrategyId

    source§

    fn instrument_id(&self) -> InstrumentId

    source§

    fn symbol(&self) -> Symbol

    source§

    fn venue(&self) -> Venue

    source§

    fn client_order_id(&self) -> ClientOrderId

    source§

    fn venue_order_id(&self) -> Option<VenueOrderId>

    source§

    fn position_id(&self) -> Option<PositionId>

    source§

    fn account_id(&self) -> Option<AccountId>

    source§

    fn last_trade_id(&self) -> Option<TradeId>

    source§

    fn side(&self) -> OrderSide

    source§

    fn order_type(&self) -> OrderType

    source§

    fn quantity(&self) -> Quantity

    source§

    fn time_in_force(&self) -> TimeInForce

    source§

    fn expire_time(&self) -> Option<UnixNanos>

    source§

    fn price(&self) -> Option<Price>

    source§

    fn trigger_price(&self) -> Option<Price>

    source§

    fn trigger_type(&self) -> Option<TriggerType>

    source§

    fn liquidity_side(&self) -> Option<LiquiditySide>

    source§

    fn is_post_only(&self) -> bool

    source§

    fn is_reduce_only(&self) -> bool

    source§

    fn is_quote_quantity(&self) -> bool

    source§

    fn display_qty(&self) -> Option<Quantity>

    source§

    fn limit_offset(&self) -> Option<Price>

    source§

    fn trailing_offset(&self) -> Option<Price>

    source§

    fn trailing_offset_type(&self) -> Option<TrailingOffsetType>

    source§

    fn emulation_trigger(&self) -> Option<TriggerType>

    source§

    fn trigger_instrument_id(&self) -> Option<InstrumentId>

    source§

    fn contingency_type(&self) -> Option<ContingencyType>

    source§

    fn order_list_id(&self) -> Option<OrderListId>

    source§

    fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>

    source§

    fn parent_order_id(&self) -> Option<ClientOrderId>

    source§

    fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>

    source§

    fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>

    source§

    fn exec_spawn_id(&self) -> Option<ClientOrderId>

    source§

    fn tags(&self) -> Option<Ustr>

    source§

    fn filled_qty(&self) -> Quantity

    source§

    fn leaves_qty(&self) -> Quantity

    source§

    fn avg_px(&self) -> Option<f64>

    source§

    fn slippage(&self) -> Option<f64>

    source§

    fn init_id(&self) -> UUID4

    source§

    fn ts_init(&self) -> UnixNanos

    source§

    fn ts_last(&self) -> UnixNanos

    source§

    fn events(&self) -> Vec<&OrderEvent>

    source§

    fn venue_order_ids(&self) -> Vec<&VenueOrderId>

    source§

    fn trade_ids(&self) -> Vec<&TradeId>

    source§

    fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>

    source§

    fn update(&mut self, event: &OrderUpdated)

    source§

    fn last_event(&self) -> &OrderEvent

    source§

    fn event_count(&self) -> usize

    source§

    fn is_buy(&self) -> bool

    source§

    fn is_sell(&self) -> bool

    source§

    fn is_passive(&self) -> bool

    source§

    fn is_aggressive(&self) -> bool

    source§

    fn is_emulated(&self) -> bool

    source§

    fn is_active_local(&self) -> bool

    source§

    fn is_primary(&self) -> bool

    source§

    fn is_secondary(&self) -> bool

    source§

    fn is_contingency(&self) -> bool

    source§

    fn is_parent_order(&self) -> bool

    source§

    fn is_child_order(&self) -> bool

    source§

    fn is_open(&self) -> bool

    source§

    fn is_canceled(&self) -> bool

    source§

    fn is_closed(&self) -> bool

    source§

    fn is_inflight(&self) -> bool

    source§

    fn is_pending_update(&self) -> bool

    source§

    fn is_pending_cancel(&self) -> bool

    source§

    impl PyClass for LimitIfTouchedOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for LimitIfTouchedOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<LimitIfTouchedOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder

    §

    type Holder = Option<PyRef<'py, LimitIfTouchedOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder

    §

    type Holder = Option<PyRefMut<'py, LimitIfTouchedOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LimitIfTouchedOrder

    §

    type AsRefTarget = PyCell<LimitIfTouchedOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LimitIfTouchedOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a LimitIfTouchedOrder

    §

    type Holder = Option<PyRef<'py, LimitIfTouchedOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut LimitIfTouchedOrder

    §

    type Holder = Option<PyRefMut<'py, LimitIfTouchedOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for LimitIfTouchedOrder

    §

    type AsRefTarget = PyCell<LimitIfTouchedOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "LimitIfTouchedOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orders/market/index.html b/nightly/core/nautilus_model/orders/market/index.html index 61b11b0c675f..9ec266bc74d0 100644 --- a/nightly/core/nautilus_model/orders/market/index.html +++ b/nightly/core/nautilus_model/orders/market/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::market - Rust +nautilus_model::orders::market - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/market/struct.MarketOrder.html b/nightly/core/nautilus_model/orders/market/struct.MarketOrder.html index d1ff48d5304e..ba622f885417 100644 --- a/nightly/core/nautilus_model/orders/market/struct.MarketOrder.html +++ b/nightly/core/nautilus_model/orders/market/struct.MarketOrder.html @@ -1,4 +1,4 @@ -MarketOrder in nautilus_model::orders::market - Rust +MarketOrder in nautilus_model::orders::market - Rust
    pub struct MarketOrder { /* private fields */ }

    Implementations§

    source§

    impl MarketOrder

    source

    pub fn new( trader_id: TraderId, strategy_id: StrategyId, diff --git a/nightly/core/nautilus_model/orders/market_if_touched/index.html b/nightly/core/nautilus_model/orders/market_if_touched/index.html index 5a4e3baaae13..e68c1744b976 100644 --- a/nightly/core/nautilus_model/orders/market_if_touched/index.html +++ b/nightly/core/nautilus_model/orders/market_if_touched/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::market_if_touched - Rust +nautilus_model::orders::market_if_touched - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/market_if_touched/struct.MarketIfTouchedOrder.html b/nightly/core/nautilus_model/orders/market_if_touched/struct.MarketIfTouchedOrder.html index 4833278c8327..bfc07539e2ff 100644 --- a/nightly/core/nautilus_model/orders/market_if_touched/struct.MarketIfTouchedOrder.html +++ b/nightly/core/nautilus_model/orders/market_if_touched/struct.MarketIfTouchedOrder.html @@ -1,4 +1,4 @@ -MarketIfTouchedOrder in nautilus_model::orders::market_if_touched - Rust +MarketIfTouchedOrder in nautilus_model::orders::market_if_touched - Rust
    pub struct MarketIfTouchedOrder {
         pub trigger_price: Price,
         pub trigger_type: TriggerType,
    diff --git a/nightly/core/nautilus_model/orders/market_to_limit/index.html b/nightly/core/nautilus_model/orders/market_to_limit/index.html
    index a29b3bb88967..3a655a9dba25 100644
    --- a/nightly/core/nautilus_model/orders/market_to_limit/index.html
    +++ b/nightly/core/nautilus_model/orders/market_to_limit/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::orders::market_to_limit - Rust
    +nautilus_model::orders::market_to_limit - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/market_to_limit/struct.MarketToLimitOrder.html b/nightly/core/nautilus_model/orders/market_to_limit/struct.MarketToLimitOrder.html index da551bb360c0..93e4e1aed8d5 100644 --- a/nightly/core/nautilus_model/orders/market_to_limit/struct.MarketToLimitOrder.html +++ b/nightly/core/nautilus_model/orders/market_to_limit/struct.MarketToLimitOrder.html @@ -1,4 +1,4 @@ -MarketToLimitOrder in nautilus_model::orders::market_to_limit - Rust +MarketToLimitOrder in nautilus_model::orders::market_to_limit - Rust
    pub struct MarketToLimitOrder {
         pub price: Option<Price>,
         pub expire_time: Option<UnixNanos>,
    @@ -34,7 +34,7 @@
         position_qty: Quantity
     ) -> bool

    source

    pub fn commission(&self, currency: &Currency) -> Option<Money>

    source

    pub fn commissions(&self) -> HashMap<Currency, Money>

    Trait Implementations§

    source§

    impl Default for MarketToLimitOrder

    Provides a default MarketToLimitOrder used for testing.

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for MarketToLimitOrder

    §

    type Target = OrderCore

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for MarketToLimitOrder

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderInitialized> for MarketToLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for MarketToLimitOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Order for MarketToLimitOrder

    source§

    fn status(&self) -> OrderStatus

    source§

    fn trader_id(&self) -> TraderId

    source§

    fn strategy_id(&self) -> StrategyId

    source§

    fn instrument_id(&self) -> InstrumentId

    source§

    fn symbol(&self) -> Symbol

    source§

    fn venue(&self) -> Venue

    source§

    fn client_order_id(&self) -> ClientOrderId

    source§

    fn venue_order_id(&self) -> Option<VenueOrderId>

    source§

    fn position_id(&self) -> Option<PositionId>

    source§

    fn account_id(&self) -> Option<AccountId>

    source§

    fn last_trade_id(&self) -> Option<TradeId>

    source§

    fn side(&self) -> OrderSide

    source§

    fn order_type(&self) -> OrderType

    source§

    fn quantity(&self) -> Quantity

    source§

    fn time_in_force(&self) -> TimeInForce

    source§

    fn expire_time(&self) -> Option<UnixNanos>

    source§

    fn price(&self) -> Option<Price>

    source§

    fn trigger_price(&self) -> Option<Price>

    source§

    fn trigger_type(&self) -> Option<TriggerType>

    source§

    fn liquidity_side(&self) -> Option<LiquiditySide>

    source§

    fn is_post_only(&self) -> bool

    source§

    fn is_reduce_only(&self) -> bool

    source§

    fn is_quote_quantity(&self) -> bool

    source§

    fn display_qty(&self) -> Option<Quantity>

    source§

    fn limit_offset(&self) -> Option<Price>

    source§

    fn trailing_offset(&self) -> Option<Price>

    source§

    fn trailing_offset_type(&self) -> Option<TrailingOffsetType>

    source§

    fn emulation_trigger(&self) -> Option<TriggerType>

    source§

    fn trigger_instrument_id(&self) -> Option<InstrumentId>

    source§

    fn contingency_type(&self) -> Option<ContingencyType>

    source§

    fn order_list_id(&self) -> Option<OrderListId>

    source§

    fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>

    source§

    fn parent_order_id(&self) -> Option<ClientOrderId>

    source§

    fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>

    source§

    fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>

    source§

    fn exec_spawn_id(&self) -> Option<ClientOrderId>

    source§

    fn tags(&self) -> Option<Ustr>

    source§

    fn filled_qty(&self) -> Quantity

    source§

    fn leaves_qty(&self) -> Quantity

    source§

    fn avg_px(&self) -> Option<f64>

    source§

    fn slippage(&self) -> Option<f64>

    source§

    fn init_id(&self) -> UUID4

    source§

    fn ts_init(&self) -> UnixNanos

    source§

    fn ts_last(&self) -> UnixNanos

    source§

    fn events(&self) -> Vec<&OrderEvent>

    source§

    fn venue_order_ids(&self) -> Vec<&VenueOrderId>

    source§

    fn trade_ids(&self) -> Vec<&TradeId>

    source§

    fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>

    source§

    fn update(&mut self, event: &OrderUpdated)

    source§

    fn last_event(&self) -> &OrderEvent

    source§

    fn event_count(&self) -> usize

    source§

    fn is_buy(&self) -> bool

    source§

    fn is_sell(&self) -> bool

    source§

    fn is_passive(&self) -> bool

    source§

    fn is_aggressive(&self) -> bool

    source§

    fn is_emulated(&self) -> bool

    source§

    fn is_active_local(&self) -> bool

    source§

    fn is_primary(&self) -> bool

    source§

    fn is_secondary(&self) -> bool

    source§

    fn is_contingency(&self) -> bool

    source§

    fn is_parent_order(&self) -> bool

    source§

    fn is_child_order(&self) -> bool

    source§

    fn is_open(&self) -> bool

    source§

    fn is_canceled(&self) -> bool

    source§

    fn is_closed(&self) -> bool

    source§

    fn is_inflight(&self) -> bool

    source§

    fn is_pending_update(&self) -> bool

    source§

    fn is_pending_cancel(&self) -> bool

    source§

    impl PyClass for MarketToLimitOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for MarketToLimitOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<MarketToLimitOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarketToLimitOrder

    §

    type Holder = Option<PyRef<'py, MarketToLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarketToLimitOrder

    §

    type Holder = Option<PyRefMut<'py, MarketToLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for MarketToLimitOrder

    §

    type AsRefTarget = PyCell<MarketToLimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarketToLimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarketToLimitOrder

    §

    type Holder = Option<PyRef<'py, MarketToLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarketToLimitOrder

    §

    type Holder = Option<PyRefMut<'py, MarketToLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for MarketToLimitOrder

    §

    type AsRefTarget = PyCell<MarketToLimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarketToLimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orders/stop_limit/index.html b/nightly/core/nautilus_model/orders/stop_limit/index.html index bc01f7820674..ccf51366e05b 100644 --- a/nightly/core/nautilus_model/orders/stop_limit/index.html +++ b/nightly/core/nautilus_model/orders/stop_limit/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::stop_limit - Rust +nautilus_model::orders::stop_limit - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html b/nightly/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html index 91f1077c9ab0..2fd2241dbd26 100644 --- a/nightly/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html +++ b/nightly/core/nautilus_model/orders/stop_limit/struct.StopLimitOrder.html @@ -1,4 +1,4 @@ -StopLimitOrder in nautilus_model::orders::stop_limit - Rust +StopLimitOrder in nautilus_model::orders::stop_limit - Rust
    pub struct StopLimitOrder {
         pub price: Price,
         pub trigger_price: Price,
    diff --git a/nightly/core/nautilus_model/orders/stop_market/index.html b/nightly/core/nautilus_model/orders/stop_market/index.html
    index 8c5a18d1f8b1..9d60045a4708 100644
    --- a/nightly/core/nautilus_model/orders/stop_market/index.html
    +++ b/nightly/core/nautilus_model/orders/stop_market/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::orders::stop_market - Rust
    +nautilus_model::orders::stop_market - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/stop_market/struct.StopMarketOrder.html b/nightly/core/nautilus_model/orders/stop_market/struct.StopMarketOrder.html index 8fd396ade54c..4e62043c2abf 100644 --- a/nightly/core/nautilus_model/orders/stop_market/struct.StopMarketOrder.html +++ b/nightly/core/nautilus_model/orders/stop_market/struct.StopMarketOrder.html @@ -1,4 +1,4 @@ -StopMarketOrder in nautilus_model::orders::stop_market - Rust +StopMarketOrder in nautilus_model::orders::stop_market - Rust
    pub struct StopMarketOrder {
         pub trigger_price: Price,
         pub trigger_type: TriggerType,
    @@ -40,7 +40,7 @@
         position_qty: Quantity
     ) -> bool

    source

    pub fn commission(&self, currency: &Currency) -> Option<Money>

    source

    pub fn commissions(&self) -> HashMap<Currency, Money>

    Trait Implementations§

    source§

    impl Default for StopMarketOrder

    Provides a default StopMarketOrder used for testing.

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for StopMarketOrder

    §

    type Target = OrderCore

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for StopMarketOrder

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderInitialized> for StopMarketOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for StopMarketOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Order for StopMarketOrder

    source§

    fn status(&self) -> OrderStatus

    source§

    fn trader_id(&self) -> TraderId

    source§

    fn strategy_id(&self) -> StrategyId

    source§

    fn instrument_id(&self) -> InstrumentId

    source§

    fn symbol(&self) -> Symbol

    source§

    fn venue(&self) -> Venue

    source§

    fn client_order_id(&self) -> ClientOrderId

    source§

    fn venue_order_id(&self) -> Option<VenueOrderId>

    source§

    fn position_id(&self) -> Option<PositionId>

    source§

    fn account_id(&self) -> Option<AccountId>

    source§

    fn last_trade_id(&self) -> Option<TradeId>

    source§

    fn side(&self) -> OrderSide

    source§

    fn order_type(&self) -> OrderType

    source§

    fn quantity(&self) -> Quantity

    source§

    fn time_in_force(&self) -> TimeInForce

    source§

    fn expire_time(&self) -> Option<UnixNanos>

    source§

    fn price(&self) -> Option<Price>

    source§

    fn trigger_price(&self) -> Option<Price>

    source§

    fn trigger_type(&self) -> Option<TriggerType>

    source§

    fn liquidity_side(&self) -> Option<LiquiditySide>

    source§

    fn is_post_only(&self) -> bool

    source§

    fn is_reduce_only(&self) -> bool

    source§

    fn is_quote_quantity(&self) -> bool

    source§

    fn display_qty(&self) -> Option<Quantity>

    source§

    fn limit_offset(&self) -> Option<Price>

    source§

    fn trailing_offset(&self) -> Option<Price>

    source§

    fn trailing_offset_type(&self) -> Option<TrailingOffsetType>

    source§

    fn emulation_trigger(&self) -> Option<TriggerType>

    source§

    fn trigger_instrument_id(&self) -> Option<InstrumentId>

    source§

    fn contingency_type(&self) -> Option<ContingencyType>

    source§

    fn order_list_id(&self) -> Option<OrderListId>

    source§

    fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>

    source§

    fn parent_order_id(&self) -> Option<ClientOrderId>

    source§

    fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>

    source§

    fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>

    source§

    fn exec_spawn_id(&self) -> Option<ClientOrderId>

    source§

    fn tags(&self) -> Option<Ustr>

    source§

    fn filled_qty(&self) -> Quantity

    source§

    fn leaves_qty(&self) -> Quantity

    source§

    fn avg_px(&self) -> Option<f64>

    source§

    fn slippage(&self) -> Option<f64>

    source§

    fn init_id(&self) -> UUID4

    source§

    fn ts_init(&self) -> UnixNanos

    source§

    fn ts_last(&self) -> UnixNanos

    source§

    fn events(&self) -> Vec<&OrderEvent>

    source§

    fn venue_order_ids(&self) -> Vec<&VenueOrderId>

    source§

    fn trade_ids(&self) -> Vec<&TradeId>

    source§

    fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>

    source§

    fn update(&mut self, event: &OrderUpdated)

    source§

    fn last_event(&self) -> &OrderEvent

    source§

    fn event_count(&self) -> usize

    source§

    fn is_buy(&self) -> bool

    source§

    fn is_sell(&self) -> bool

    source§

    fn is_passive(&self) -> bool

    source§

    fn is_aggressive(&self) -> bool

    source§

    fn is_emulated(&self) -> bool

    source§

    fn is_active_local(&self) -> bool

    source§

    fn is_primary(&self) -> bool

    source§

    fn is_secondary(&self) -> bool

    source§

    fn is_contingency(&self) -> bool

    source§

    fn is_parent_order(&self) -> bool

    source§

    fn is_child_order(&self) -> bool

    source§

    fn is_open(&self) -> bool

    source§

    fn is_canceled(&self) -> bool

    source§

    fn is_closed(&self) -> bool

    source§

    fn is_inflight(&self) -> bool

    source§

    fn is_pending_update(&self) -> bool

    source§

    fn is_pending_cancel(&self) -> bool

    source§

    impl PyClass for StopMarketOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for StopMarketOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<StopMarketOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopMarketOrder

    §

    type Holder = Option<PyRef<'py, StopMarketOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopMarketOrder

    §

    type Holder = Option<PyRefMut<'py, StopMarketOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for StopMarketOrder

    §

    type AsRefTarget = PyCell<StopMarketOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "StopMarketOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a StopMarketOrder

    §

    type Holder = Option<PyRef<'py, StopMarketOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut StopMarketOrder

    §

    type Holder = Option<PyRefMut<'py, StopMarketOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for StopMarketOrder

    §

    type AsRefTarget = PyCell<StopMarketOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "StopMarketOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orders/stubs/index.html b/nightly/core/nautilus_model/orders/stubs/index.html index e4eec8cabb15..3f352457dadb 100644 --- a/nightly/core/nautilus_model/orders/stubs/index.html +++ b/nightly/core/nautilus_model/orders/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::stubs - Rust +nautilus_model::orders::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/stubs/struct.TestOrderEventStubs.html b/nightly/core/nautilus_model/orders/stubs/struct.TestOrderEventStubs.html index a04fce83a3a7..f106a778191e 100644 --- a/nightly/core/nautilus_model/orders/stubs/struct.TestOrderEventStubs.html +++ b/nightly/core/nautilus_model/orders/stubs/struct.TestOrderEventStubs.html @@ -1,4 +1,4 @@ -TestOrderEventStubs in nautilus_model::orders::stubs - Rust +TestOrderEventStubs in nautilus_model::orders::stubs - Rust
    pub struct TestOrderEventStubs;

    Implementations§

    source§

    impl TestOrderEventStubs

    source

    pub fn order_filled<T: Order, I: Instrument>( order: &T, instrument: &I, diff --git a/nightly/core/nautilus_model/orders/stubs/struct.TestOrderStubs.html b/nightly/core/nautilus_model/orders/stubs/struct.TestOrderStubs.html index 89ffca18b499..70e3dc5759a5 100644 --- a/nightly/core/nautilus_model/orders/stubs/struct.TestOrderStubs.html +++ b/nightly/core/nautilus_model/orders/stubs/struct.TestOrderStubs.html @@ -1,4 +1,4 @@ -TestOrderStubs in nautilus_model::orders::stubs - Rust +TestOrderStubs in nautilus_model::orders::stubs - Rust
    pub struct TestOrderStubs;

    Implementations§

    source§

    impl TestOrderStubs

    source

    pub fn market_order( instrument_id: InstrumentId, order_side: OrderSide, diff --git a/nightly/core/nautilus_model/orders/trailing_stop_limit/index.html b/nightly/core/nautilus_model/orders/trailing_stop_limit/index.html index 7eaa04a81d6f..c91541774de7 100644 --- a/nightly/core/nautilus_model/orders/trailing_stop_limit/index.html +++ b/nightly/core/nautilus_model/orders/trailing_stop_limit/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::trailing_stop_limit - Rust +nautilus_model::orders::trailing_stop_limit - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html b/nightly/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html index e1f964575437..918a2e0d662c 100644 --- a/nightly/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html +++ b/nightly/core/nautilus_model/orders/trailing_stop_limit/struct.TrailingStopLimitOrder.html @@ -1,4 +1,4 @@ -TrailingStopLimitOrder in nautilus_model::orders::trailing_stop_limit - Rust +TrailingStopLimitOrder in nautilus_model::orders::trailing_stop_limit - Rust
    pub struct TrailingStopLimitOrder {
         pub price: Price,
         pub trigger_price: Price,
    @@ -50,7 +50,7 @@
         position_qty: Quantity
     ) -> bool

    source

    pub fn commission(&self, currency: &Currency) -> Option<Money>

    source

    pub fn commissions(&self) -> HashMap<Currency, Money>

    Trait Implementations§

    source§

    impl Default for TrailingStopLimitOrder

    Provides a default TrailingStopLimitOrder used for testing.

    source§

    fn default() -> Self

    Returns the “default value” for a type. Read more
    source§

    impl Deref for TrailingStopLimitOrder

    §

    type Target = OrderCore

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl DerefMut for TrailingStopLimitOrder

    source§

    fn deref_mut(&mut self) -> &mut Self::Target

    Mutably dereferences the value.
    source§

    impl From<OrderInitialized> for TrailingStopLimitOrder

    source§

    fn from(event: OrderInitialized) -> Self

    Converts to this type from the input type.
    source§

    impl IntoPy<Py<PyAny>> for TrailingStopLimitOrder

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Order for TrailingStopLimitOrder

    source§

    fn status(&self) -> OrderStatus

    source§

    fn trader_id(&self) -> TraderId

    source§

    fn strategy_id(&self) -> StrategyId

    source§

    fn instrument_id(&self) -> InstrumentId

    source§

    fn symbol(&self) -> Symbol

    source§

    fn venue(&self) -> Venue

    source§

    fn client_order_id(&self) -> ClientOrderId

    source§

    fn venue_order_id(&self) -> Option<VenueOrderId>

    source§

    fn position_id(&self) -> Option<PositionId>

    source§

    fn account_id(&self) -> Option<AccountId>

    source§

    fn last_trade_id(&self) -> Option<TradeId>

    source§

    fn side(&self) -> OrderSide

    source§

    fn order_type(&self) -> OrderType

    source§

    fn quantity(&self) -> Quantity

    source§

    fn time_in_force(&self) -> TimeInForce

    source§

    fn expire_time(&self) -> Option<UnixNanos>

    source§

    fn price(&self) -> Option<Price>

    source§

    fn trigger_price(&self) -> Option<Price>

    source§

    fn trigger_type(&self) -> Option<TriggerType>

    source§

    fn liquidity_side(&self) -> Option<LiquiditySide>

    source§

    fn is_post_only(&self) -> bool

    source§

    fn is_reduce_only(&self) -> bool

    source§

    fn is_quote_quantity(&self) -> bool

    source§

    fn display_qty(&self) -> Option<Quantity>

    source§

    fn limit_offset(&self) -> Option<Price>

    source§

    fn trailing_offset(&self) -> Option<Price>

    source§

    fn trailing_offset_type(&self) -> Option<TrailingOffsetType>

    source§

    fn emulation_trigger(&self) -> Option<TriggerType>

    source§

    fn trigger_instrument_id(&self) -> Option<InstrumentId>

    source§

    fn contingency_type(&self) -> Option<ContingencyType>

    source§

    fn order_list_id(&self) -> Option<OrderListId>

    source§

    fn linked_order_ids(&self) -> Option<Vec<ClientOrderId>>

    source§

    fn parent_order_id(&self) -> Option<ClientOrderId>

    source§

    fn exec_algorithm_id(&self) -> Option<ExecAlgorithmId>

    source§

    fn exec_algorithm_params(&self) -> Option<HashMap<Ustr, Ustr>>

    source§

    fn exec_spawn_id(&self) -> Option<ClientOrderId>

    source§

    fn tags(&self) -> Option<Ustr>

    source§

    fn filled_qty(&self) -> Quantity

    source§

    fn leaves_qty(&self) -> Quantity

    source§

    fn avg_px(&self) -> Option<f64>

    source§

    fn slippage(&self) -> Option<f64>

    source§

    fn init_id(&self) -> UUID4

    source§

    fn ts_init(&self) -> UnixNanos

    source§

    fn ts_last(&self) -> UnixNanos

    source§

    fn events(&self) -> Vec<&OrderEvent>

    source§

    fn venue_order_ids(&self) -> Vec<&VenueOrderId>

    source§

    fn trade_ids(&self) -> Vec<&TradeId>

    source§

    fn apply(&mut self, event: OrderEvent) -> Result<(), OrderError>

    source§

    fn update(&mut self, event: &OrderUpdated)

    source§

    fn last_event(&self) -> &OrderEvent

    source§

    fn event_count(&self) -> usize

    source§

    fn is_buy(&self) -> bool

    source§

    fn is_sell(&self) -> bool

    source§

    fn is_passive(&self) -> bool

    source§

    fn is_aggressive(&self) -> bool

    source§

    fn is_emulated(&self) -> bool

    source§

    fn is_active_local(&self) -> bool

    source§

    fn is_primary(&self) -> bool

    source§

    fn is_secondary(&self) -> bool

    source§

    fn is_contingency(&self) -> bool

    source§

    fn is_parent_order(&self) -> bool

    source§

    fn is_child_order(&self) -> bool

    source§

    fn is_open(&self) -> bool

    source§

    fn is_canceled(&self) -> bool

    source§

    fn is_closed(&self) -> bool

    source§

    fn is_inflight(&self) -> bool

    source§

    fn is_pending_update(&self) -> bool

    source§

    fn is_pending_cancel(&self) -> bool

    source§

    impl PyClass for TrailingStopLimitOrder

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TrailingStopLimitOrder

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TrailingStopLimitOrder>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder

    §

    type Holder = Option<PyRef<'py, TrailingStopLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder

    §

    type Holder = Option<PyRefMut<'py, TrailingStopLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for TrailingStopLimitOrder

    §

    type AsRefTarget = PyCell<TrailingStopLimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TrailingStopLimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TrailingStopLimitOrder

    §

    type Holder = Option<PyRef<'py, TrailingStopLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TrailingStopLimitOrder

    §

    type Holder = Option<PyRefMut<'py, TrailingStopLimitOrder>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for TrailingStopLimitOrder

    §

    type AsRefTarget = PyCell<TrailingStopLimitOrder>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TrailingStopLimitOrder"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_model/orders/trailing_stop_market/index.html b/nightly/core/nautilus_model/orders/trailing_stop_market/index.html index 7978682cd93b..8e988e065bfb 100644 --- a/nightly/core/nautilus_model/orders/trailing_stop_market/index.html +++ b/nightly/core/nautilus_model/orders/trailing_stop_market/index.html @@ -1,2 +1,2 @@ -nautilus_model::orders::trailing_stop_market - Rust +nautilus_model::orders::trailing_stop_market - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/orders/trailing_stop_market/struct.TrailingStopMarketOrder.html b/nightly/core/nautilus_model/orders/trailing_stop_market/struct.TrailingStopMarketOrder.html index 0dbf9701eafb..a72cfac59458 100644 --- a/nightly/core/nautilus_model/orders/trailing_stop_market/struct.TrailingStopMarketOrder.html +++ b/nightly/core/nautilus_model/orders/trailing_stop_market/struct.TrailingStopMarketOrder.html @@ -1,4 +1,4 @@ -TrailingStopMarketOrder in nautilus_model::orders::trailing_stop_market - Rust +TrailingStopMarketOrder in nautilus_model::orders::trailing_stop_market - Rust
    pub struct TrailingStopMarketOrder {
         pub trigger_price: Price,
         pub trigger_type: TriggerType,
    diff --git a/nightly/core/nautilus_model/position/index.html b/nightly/core/nautilus_model/position/index.html
    index 1a5d69fb4599..0d853249bf9b 100644
    --- a/nightly/core/nautilus_model/position/index.html
    +++ b/nightly/core/nautilus_model/position/index.html
    @@ -1,2 +1,2 @@
    -nautilus_model::position - Rust
    +nautilus_model::position - Rust
         

    Structs§

    • Represents a position in a financial market.
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/position/struct.Position.html b/nightly/core/nautilus_model/position/struct.Position.html index 79ea1988a0cc..77a3258a9662 100644 --- a/nightly/core/nautilus_model/position/struct.Position.html +++ b/nightly/core/nautilus_model/position/struct.Position.html @@ -1,4 +1,4 @@ -Position in nautilus_model::position - Rust +Position in nautilus_model::position - Rust
    #[repr(C)]
    pub struct Position {
    Show 33 fields pub events: Vec<OrderFilled>, pub trader_id: TraderId, @@ -53,7 +53,7 @@ Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl IntoPy<Py<PyAny>> for Position

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for Position

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for Position

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for Position

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<Position>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Position> for PyClassImplCollector<Position>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Position

    §

    type Holder = Option<PyRef<'py, Position>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Position

    §

    type Holder = Option<PyRefMut<'py, Position>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Position> for PyClassImplCollector<Position>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Position

    §

    type AsRefTarget = PyCell<Position>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Position"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Position

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Position> for PyClassImplCollector<Position>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Position

    §

    type Holder = Option<PyRef<'py, Position>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Position

    §

    type Holder = Option<PyRefMut<'py, Position>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Position> for PyClassImplCollector<Position>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Position

    §

    type AsRefTarget = PyCell<Position>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Position"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Position

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Eq for Position

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/python/common/constant.PY_MODULE_MODEL.html b/nightly/core/nautilus_model/python/common/constant.PY_MODULE_MODEL.html new file mode 100644 index 000000000000..c2ee8d253094 --- /dev/null +++ b/nightly/core/nautilus_model/python/common/constant.PY_MODULE_MODEL.html @@ -0,0 +1,2 @@ +PY_MODULE_MODEL in nautilus_model::python::common - Rust +
    pub const PY_MODULE_MODEL: &str = "nautilus_trader.core.nautilus_pyo3.model";
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/common/fn.value_to_pydict.html b/nightly/core/nautilus_model/python/common/fn.value_to_pydict.html new file mode 100644 index 000000000000..61f03535f43a --- /dev/null +++ b/nightly/core/nautilus_model/python/common/fn.value_to_pydict.html @@ -0,0 +1,2 @@ +value_to_pydict in nautilus_model::python::common - Rust +
    pub fn value_to_pydict(py: Python<'_>, val: &Value) -> PyResult<Py<PyDict>>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/common/fn.value_to_pyobject.html b/nightly/core/nautilus_model/python/common/fn.value_to_pyobject.html new file mode 100644 index 000000000000..1ba88359458d --- /dev/null +++ b/nightly/core/nautilus_model/python/common/fn.value_to_pyobject.html @@ -0,0 +1,2 @@ +value_to_pyobject in nautilus_model::python::common - Rust +
    pub fn value_to_pyobject(py: Python<'_>, val: &Value) -> PyResult<PyObject>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/common/index.html b/nightly/core/nautilus_model/python/common/index.html new file mode 100644 index 000000000000..98123372b694 --- /dev/null +++ b/nightly/core/nautilus_model/python/common/index.html @@ -0,0 +1,2 @@ +nautilus_model::python::common - Rust +

    Structs§

    Constants§

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/common/sidebar-items.js b/nightly/core/nautilus_model/python/common/sidebar-items.js new file mode 100644 index 000000000000..c55e1a2d6d99 --- /dev/null +++ b/nightly/core/nautilus_model/python/common/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"constant":["PY_MODULE_MODEL"],"fn":["value_to_pydict","value_to_pyobject"],"struct":["EnumIterator"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/common/struct.EnumIterator.html b/nightly/core/nautilus_model/python/common/struct.EnumIterator.html new file mode 100644 index 000000000000..7409e4602a97 --- /dev/null +++ b/nightly/core/nautilus_model/python/common/struct.EnumIterator.html @@ -0,0 +1,17 @@ +EnumIterator in nautilus_model::python::common - Rust +
    pub struct EnumIterator { /* private fields */ }
    Expand description

    Python iterator over the variants of an enum.

    +

    Implementations§

    source§

    impl EnumIterator

    source

    pub fn new<E>(py: Python<'_>) -> Self
    where + E: IntoEnumIterator + IntoPy<Py<PyAny>>, + <E as IntoEnumIterator>::Iterator: Send,

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for EnumIterator

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for EnumIterator

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for EnumIterator

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<EnumIterator>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare +#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a EnumIterator

    §

    type Holder = Option<PyRef<'py, EnumIterator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut EnumIterator

    §

    type Holder = Option<PyRefMut<'py, EnumIterator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<EnumIterator> for PyClassImplCollector<EnumIterator>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for EnumIterator

    §

    type AsRefTarget = PyCell<EnumIterator>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "EnumIterator"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where + T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where + T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    +
    source§

    impl<T, U> Into<U> for T
    where + U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    source§

    impl<T, U> TryFrom<U> for T
    where + U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where + U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where + T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/constant.PY_MODULE_MODEL.html b/nightly/core/nautilus_model/python/constant.PY_MODULE_MODEL.html deleted file mode 100644 index 11089a8b1a89..000000000000 --- a/nightly/core/nautilus_model/python/constant.PY_MODULE_MODEL.html +++ /dev/null @@ -1,2 +0,0 @@ -PY_MODULE_MODEL in nautilus_model::python - Rust -
    pub const PY_MODULE_MODEL: &str = "nautilus_trader.core.nautilus_pyo3.model";
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/bar/index.html b/nightly/core/nautilus_model/python/data/bar/index.html index a7d1c7cbe829..ad42d286be69 100644 --- a/nightly/core/nautilus_model/python/data/bar/index.html +++ b/nightly/core/nautilus_model/python/data/bar/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::bar - Rust +nautilus_model::python::data::bar - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/delta/index.html b/nightly/core/nautilus_model/python/data/delta/index.html index 4af53b670483..3849e7b15307 100644 --- a/nightly/core/nautilus_model/python/data/delta/index.html +++ b/nightly/core/nautilus_model/python/data/delta/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::delta - Rust +nautilus_model::python::data::delta - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/deltas/index.html b/nightly/core/nautilus_model/python/data/deltas/index.html index b990a39c2a26..0e569b5c3b7a 100644 --- a/nightly/core/nautilus_model/python/data/deltas/index.html +++ b/nightly/core/nautilus_model/python/data/deltas/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::deltas - Rust +nautilus_model::python::data::deltas - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/depth/index.html b/nightly/core/nautilus_model/python/data/depth/index.html index 79d12cf57b45..7efd6d440c0b 100644 --- a/nightly/core/nautilus_model/python/data/depth/index.html +++ b/nightly/core/nautilus_model/python/data/depth/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::depth - Rust +nautilus_model::python::data::depth - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/fn.data_to_pycapsule.html b/nightly/core/nautilus_model/python/data/fn.data_to_pycapsule.html index 974259940572..a491db2e398b 100644 --- a/nightly/core/nautilus_model/python/data/fn.data_to_pycapsule.html +++ b/nightly/core/nautilus_model/python/data/fn.data_to_pycapsule.html @@ -1,4 +1,4 @@ -data_to_pycapsule in nautilus_model::python::data - Rust +data_to_pycapsule in nautilus_model::python::data - Rust
    pub fn data_to_pycapsule(py: Python<'_>, data: Data) -> PyObject
    Expand description

    Creates a Python PyCapsule object containing a Rust Data instance.

    This function takes ownership of the Data instance and encapsulates it within a PyCapsule object, allowing the Rust data to be passed into the Python runtime.

    diff --git a/nightly/core/nautilus_model/python/data/fn.drop_cvec_pycapsule.html b/nightly/core/nautilus_model/python/data/fn.drop_cvec_pycapsule.html index bf0178ea45f4..ac2830f2dff6 100644 --- a/nightly/core/nautilus_model/python/data/fn.drop_cvec_pycapsule.html +++ b/nightly/core/nautilus_model/python/data/fn.drop_cvec_pycapsule.html @@ -1,4 +1,4 @@ -drop_cvec_pycapsule in nautilus_model::python::data - Rust +drop_cvec_pycapsule in nautilus_model::python::data - Rust
    pub fn drop_cvec_pycapsule(capsule: &PyAny)
    Expand description

    Drops a PyCapsule containing a CVec structure.

    This function safely extracts and drops the CVec instance encapsulated within a PyCapsule object. It is intended for cleaning up after the Data instances diff --git a/nightly/core/nautilus_model/python/data/index.html b/nightly/core/nautilus_model/python/data/index.html index d76c750c945d..05f1c05d5beb 100644 --- a/nightly/core/nautilus_model/python/data/index.html +++ b/nightly/core/nautilus_model/python/data/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data - Rust

    +nautilus_model::python::data - Rust

    Module nautilus_model::python::data

    source ·

    Modules§

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/order/index.html b/nightly/core/nautilus_model/python/data/order/index.html index 0106f7d2982d..133746a67e44 100644 --- a/nightly/core/nautilus_model/python/data/order/index.html +++ b/nightly/core/nautilus_model/python/data/order/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::order - Rust +nautilus_model::python::data::order - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/quote/index.html b/nightly/core/nautilus_model/python/data/quote/index.html index f6fb14c877fc..b0cf6a008547 100644 --- a/nightly/core/nautilus_model/python/data/quote/index.html +++ b/nightly/core/nautilus_model/python/data/quote/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::quote - Rust +nautilus_model::python::data::quote - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/data/trade/index.html b/nightly/core/nautilus_model/python/data/trade/index.html index 701ca16cdbcb..dfcde3b59ab4 100644 --- a/nightly/core/nautilus_model/python/data/trade/index.html +++ b/nightly/core/nautilus_model/python/data/trade/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::data::trade - Rust +nautilus_model::python::data::trade - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/account/index.html b/nightly/core/nautilus_model/python/events/account/index.html index 70bf5baefa03..eb75b89dabb5 100644 --- a/nightly/core/nautilus_model/python/events/account/index.html +++ b/nightly/core/nautilus_model/python/events/account/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::account - Rust +nautilus_model::python::events::account - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/account/state/index.html b/nightly/core/nautilus_model/python/events/account/state/index.html index 77998e6fcf2d..dd7c3c2b952e 100644 --- a/nightly/core/nautilus_model/python/events/account/state/index.html +++ b/nightly/core/nautilus_model/python/events/account/state/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::account::state - Rust +nautilus_model::python::events::account::state - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/index.html b/nightly/core/nautilus_model/python/events/index.html index 0d20c09521df..ecff6b173319 100644 --- a/nightly/core/nautilus_model/python/events/index.html +++ b/nightly/core/nautilus_model/python/events/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events - Rust +nautilus_model::python::events - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/accepted/index.html b/nightly/core/nautilus_model/python/events/order/accepted/index.html index 286a30d236fc..474c53136f5a 100644 --- a/nightly/core/nautilus_model/python/events/order/accepted/index.html +++ b/nightly/core/nautilus_model/python/events/order/accepted/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::accepted - Rust +nautilus_model::python::events::order::accepted - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/cancel_rejected/index.html b/nightly/core/nautilus_model/python/events/order/cancel_rejected/index.html index 159cd09ea826..3d3e7611cffa 100644 --- a/nightly/core/nautilus_model/python/events/order/cancel_rejected/index.html +++ b/nightly/core/nautilus_model/python/events/order/cancel_rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::cancel_rejected - Rust +nautilus_model::python::events::order::cancel_rejected - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/canceled/index.html b/nightly/core/nautilus_model/python/events/order/canceled/index.html index f258e8a26cb1..ed8395625fd8 100644 --- a/nightly/core/nautilus_model/python/events/order/canceled/index.html +++ b/nightly/core/nautilus_model/python/events/order/canceled/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::canceled - Rust +nautilus_model::python::events::order::canceled - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/denied/index.html b/nightly/core/nautilus_model/python/events/order/denied/index.html index 4376b7edd49f..dfee040401b8 100644 --- a/nightly/core/nautilus_model/python/events/order/denied/index.html +++ b/nightly/core/nautilus_model/python/events/order/denied/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::denied - Rust +nautilus_model::python::events::order::denied - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/emulated/index.html b/nightly/core/nautilus_model/python/events/order/emulated/index.html index a8cef5bf042b..92835a2ab3e7 100644 --- a/nightly/core/nautilus_model/python/events/order/emulated/index.html +++ b/nightly/core/nautilus_model/python/events/order/emulated/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::emulated - Rust +nautilus_model::python::events::order::emulated - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/expired/index.html b/nightly/core/nautilus_model/python/events/order/expired/index.html index 9f5f61adb4a6..f5dc5df77998 100644 --- a/nightly/core/nautilus_model/python/events/order/expired/index.html +++ b/nightly/core/nautilus_model/python/events/order/expired/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::expired - Rust +nautilus_model::python::events::order::expired - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/filled/index.html b/nightly/core/nautilus_model/python/events/order/filled/index.html index 70e578241875..48dd39e2af3b 100644 --- a/nightly/core/nautilus_model/python/events/order/filled/index.html +++ b/nightly/core/nautilus_model/python/events/order/filled/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::filled - Rust +nautilus_model::python::events::order::filled - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/index.html b/nightly/core/nautilus_model/python/events/order/index.html index d1c517a9dc47..af181b13a9d9 100644 --- a/nightly/core/nautilus_model/python/events/order/index.html +++ b/nightly/core/nautilus_model/python/events/order/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order - Rust +nautilus_model::python::events::order - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/initialized/index.html b/nightly/core/nautilus_model/python/events/order/initialized/index.html index 30128d3a949f..825f5040c37a 100644 --- a/nightly/core/nautilus_model/python/events/order/initialized/index.html +++ b/nightly/core/nautilus_model/python/events/order/initialized/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::initialized - Rust +nautilus_model::python::events::order::initialized - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/modify_rejected/index.html b/nightly/core/nautilus_model/python/events/order/modify_rejected/index.html index a7d9fffaad66..c42c8d25ff54 100644 --- a/nightly/core/nautilus_model/python/events/order/modify_rejected/index.html +++ b/nightly/core/nautilus_model/python/events/order/modify_rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::modify_rejected - Rust +nautilus_model::python::events::order::modify_rejected - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/pending_cancel/index.html b/nightly/core/nautilus_model/python/events/order/pending_cancel/index.html index 8a59d2e458ce..bdc755f32a75 100644 --- a/nightly/core/nautilus_model/python/events/order/pending_cancel/index.html +++ b/nightly/core/nautilus_model/python/events/order/pending_cancel/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::pending_cancel - Rust +nautilus_model::python::events::order::pending_cancel - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/pending_update/index.html b/nightly/core/nautilus_model/python/events/order/pending_update/index.html index 13e9750b2c17..6f5687fa1d01 100644 --- a/nightly/core/nautilus_model/python/events/order/pending_update/index.html +++ b/nightly/core/nautilus_model/python/events/order/pending_update/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::pending_update - Rust +nautilus_model::python::events::order::pending_update - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/rejected/index.html b/nightly/core/nautilus_model/python/events/order/rejected/index.html index b9c645b7127f..fd5c425d7faf 100644 --- a/nightly/core/nautilus_model/python/events/order/rejected/index.html +++ b/nightly/core/nautilus_model/python/events/order/rejected/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::rejected - Rust +nautilus_model::python::events::order::rejected - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/released/index.html b/nightly/core/nautilus_model/python/events/order/released/index.html index 581bb4bc864a..c802eb21a98e 100644 --- a/nightly/core/nautilus_model/python/events/order/released/index.html +++ b/nightly/core/nautilus_model/python/events/order/released/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::released - Rust +nautilus_model::python::events::order::released - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/submitted/index.html b/nightly/core/nautilus_model/python/events/order/submitted/index.html index 4e2df535eb6f..5c8e994ecebe 100644 --- a/nightly/core/nautilus_model/python/events/order/submitted/index.html +++ b/nightly/core/nautilus_model/python/events/order/submitted/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::submitted - Rust +nautilus_model::python::events::order::submitted - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/triggered/index.html b/nightly/core/nautilus_model/python/events/order/triggered/index.html index cd32a247de75..a82dd3d164cf 100644 --- a/nightly/core/nautilus_model/python/events/order/triggered/index.html +++ b/nightly/core/nautilus_model/python/events/order/triggered/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::triggered - Rust +nautilus_model::python::events::order::triggered - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/events/order/updated/index.html b/nightly/core/nautilus_model/python/events/order/updated/index.html index 7695712077b7..2674de347314 100644 --- a/nightly/core/nautilus_model/python/events/order/updated/index.html +++ b/nightly/core/nautilus_model/python/events/order/updated/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::events::order::updated - Rust +nautilus_model::python::events::order::updated - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/fn.model.html b/nightly/core/nautilus_model/python/fn.model.html index 7e496cd68c8e..ef5d4e0b3979 100644 --- a/nightly/core/nautilus_model/python/fn.model.html +++ b/nightly/core/nautilus_model/python/fn.model.html @@ -1,3 +1,3 @@ -model in nautilus_model::python - Rust -

    Function nautilus_model::python::model

    source ·
    pub fn model(_: Python<'_>, m: &PyModule) -> PyResult<()>
    Expand description

    Loaded as nautilus_pyo3.model

    +model in nautilus_model::python - Rust +

    Function nautilus_model::python::model

    source ·
    pub fn model(_: Python<'_>, m: &PyModule) -> PyResult<()>
    Expand description

    Loaded as nautilus_pyo3.model

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/fn.value_to_pydict.html b/nightly/core/nautilus_model/python/fn.value_to_pydict.html deleted file mode 100644 index 732b3614dfd4..000000000000 --- a/nightly/core/nautilus_model/python/fn.value_to_pydict.html +++ /dev/null @@ -1,2 +0,0 @@ -value_to_pydict in nautilus_model::python - Rust -
    pub fn value_to_pydict(py: Python<'_>, val: &Value) -> PyResult<Py<PyDict>>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/fn.value_to_pyobject.html b/nightly/core/nautilus_model/python/fn.value_to_pyobject.html deleted file mode 100644 index b2d2b7617c44..000000000000 --- a/nightly/core/nautilus_model/python/fn.value_to_pyobject.html +++ /dev/null @@ -1,2 +0,0 @@ -value_to_pyobject in nautilus_model::python - Rust -
    pub fn value_to_pyobject(py: Python<'_>, val: &Value) -> PyResult<PyObject>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/identifiers/index.html b/nightly/core/nautilus_model/python/identifiers/index.html index 59bc185d02a0..e4e964e12b1c 100644 --- a/nightly/core/nautilus_model/python/identifiers/index.html +++ b/nightly/core/nautilus_model/python/identifiers/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::identifiers - Rust +nautilus_model::python::identifiers - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/identifiers/instrument_id/index.html b/nightly/core/nautilus_model/python/identifiers/instrument_id/index.html index 87cd95988255..f4909c42ed89 100644 --- a/nightly/core/nautilus_model/python/identifiers/instrument_id/index.html +++ b/nightly/core/nautilus_model/python/identifiers/instrument_id/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::identifiers::instrument_id - Rust +nautilus_model::python::identifiers::instrument_id - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/index.html b/nightly/core/nautilus_model/python/index.html index 94b511ad78a2..26af4d5f940b 100644 --- a/nightly/core/nautilus_model/python/index.html +++ b/nightly/core/nautilus_model/python/index.html @@ -1,2 +1,2 @@ -nautilus_model::python - Rust -

    Module nautilus_model::python

    source ·

    Modules§

    Structs§

    Constants§

    Functions§

    \ No newline at end of file +nautilus_model::python - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/crypto_future/index.html b/nightly/core/nautilus_model/python/instruments/crypto_future/index.html index be3dad5962ab..39829f9b0ab0 100644 --- a/nightly/core/nautilus_model/python/instruments/crypto_future/index.html +++ b/nightly/core/nautilus_model/python/instruments/crypto_future/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::crypto_future - Rust +nautilus_model::python::instruments::crypto_future - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/crypto_perpetual/index.html b/nightly/core/nautilus_model/python/instruments/crypto_perpetual/index.html index 52ee1bed8e0c..729e04728255 100644 --- a/nightly/core/nautilus_model/python/instruments/crypto_perpetual/index.html +++ b/nightly/core/nautilus_model/python/instruments/crypto_perpetual/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::crypto_perpetual - Rust +nautilus_model::python::instruments::crypto_perpetual - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/currency_pair/index.html b/nightly/core/nautilus_model/python/instruments/currency_pair/index.html index d5caabc2a7da..de13d514b544 100644 --- a/nightly/core/nautilus_model/python/instruments/currency_pair/index.html +++ b/nightly/core/nautilus_model/python/instruments/currency_pair/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::currency_pair - Rust +nautilus_model::python::instruments::currency_pair - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/equity/index.html b/nightly/core/nautilus_model/python/instruments/equity/index.html index b7b6e2d6f065..a92adc65091c 100644 --- a/nightly/core/nautilus_model/python/instruments/equity/index.html +++ b/nightly/core/nautilus_model/python/instruments/equity/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::equity - Rust +nautilus_model::python::instruments::equity - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/futures_contract/index.html b/nightly/core/nautilus_model/python/instruments/futures_contract/index.html index 5b1fc72004f3..526d64275672 100644 --- a/nightly/core/nautilus_model/python/instruments/futures_contract/index.html +++ b/nightly/core/nautilus_model/python/instruments/futures_contract/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::futures_contract - Rust +nautilus_model::python::instruments::futures_contract - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/index.html b/nightly/core/nautilus_model/python/instruments/index.html index 5aaf77f0ebc5..81995493875e 100644 --- a/nightly/core/nautilus_model/python/instruments/index.html +++ b/nightly/core/nautilus_model/python/instruments/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments - Rust +nautilus_model::python::instruments - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/instruments/options_contract/index.html b/nightly/core/nautilus_model/python/instruments/options_contract/index.html index b7f3f0afe261..d4dd5348772e 100644 --- a/nightly/core/nautilus_model/python/instruments/options_contract/index.html +++ b/nightly/core/nautilus_model/python/instruments/options_contract/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::instruments::options_contract - Rust +nautilus_model::python::instruments::options_contract - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/macros/index.html b/nightly/core/nautilus_model/python/macros/index.html index 21ddd42a79b3..18a7577bc3cc 100644 --- a/nightly/core/nautilus_model/python/macros/index.html +++ b/nightly/core/nautilus_model/python/macros/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::macros - Rust +nautilus_model::python::macros - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/book_mbo/index.html b/nightly/core/nautilus_model/python/orderbook/book_mbo/index.html new file mode 100644 index 000000000000..fc817a4461be --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/book_mbo/index.html @@ -0,0 +1,2 @@ +nautilus_model::python::orderbook::book_mbo - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/book_mbo/sidebar-items.js b/nightly/core/nautilus_model/python/orderbook/book_mbo/sidebar-items.js new file mode 100644 index 000000000000..5244ce01ccff --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/book_mbo/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/book_mbp/index.html b/nightly/core/nautilus_model/python/orderbook/book_mbp/index.html new file mode 100644 index 000000000000..d1d539b24d76 --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/book_mbp/index.html @@ -0,0 +1,2 @@ +nautilus_model::python::orderbook::book_mbp - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/book_mbp/sidebar-items.js b/nightly/core/nautilus_model/python/orderbook/book_mbp/sidebar-items.js new file mode 100644 index 000000000000..5244ce01ccff --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/book_mbp/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/index.html b/nightly/core/nautilus_model/python/orderbook/index.html new file mode 100644 index 000000000000..c2391b45445a --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/index.html @@ -0,0 +1,2 @@ +nautilus_model::python::orderbook - Rust +
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orderbook/sidebar-items.js b/nightly/core/nautilus_model/python/orderbook/sidebar-items.js new file mode 100644 index 000000000000..53be874ebb48 --- /dev/null +++ b/nightly/core/nautilus_model/python/orderbook/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"mod":["book_mbo","book_mbp"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orders/index.html b/nightly/core/nautilus_model/python/orders/index.html index d9bf57ec984c..782de44dded7 100644 --- a/nightly/core/nautilus_model/python/orders/index.html +++ b/nightly/core/nautilus_model/python/orders/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::orders - Rust +nautilus_model::python::orders - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/orders/market/index.html b/nightly/core/nautilus_model/python/orders/market/index.html index 3e7faf31d59c..fc94bc7263b2 100644 --- a/nightly/core/nautilus_model/python/orders/market/index.html +++ b/nightly/core/nautilus_model/python/orders/market/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::orders::market - Rust +nautilus_model::python::orders::market - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/position/index.html b/nightly/core/nautilus_model/python/position/index.html index a950475b96c7..6bed52db6852 100644 --- a/nightly/core/nautilus_model/python/position/index.html +++ b/nightly/core/nautilus_model/python/position/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::position - Rust +nautilus_model::python::position - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/sidebar-items.js b/nightly/core/nautilus_model/python/sidebar-items.js index 5ced24e5f92f..97107812668d 100644 --- a/nightly/core/nautilus_model/python/sidebar-items.js +++ b/nightly/core/nautilus_model/python/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":["PY_MODULE_MODEL"],"fn":["model","value_to_pydict","value_to_pyobject"],"mod":["data","events","identifiers","instruments","macros","orders","position","types"],"struct":["EnumIterator"]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"fn":["model"],"mod":["common","data","events","identifiers","instruments","macros","orderbook","orders","position","types"]}; \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/struct.EnumIterator.html b/nightly/core/nautilus_model/python/struct.EnumIterator.html deleted file mode 100644 index d21690b1b314..000000000000 --- a/nightly/core/nautilus_model/python/struct.EnumIterator.html +++ /dev/null @@ -1,17 +0,0 @@ -EnumIterator in nautilus_model::python - Rust -
    pub struct EnumIterator { /* private fields */ }
    Expand description

    Python iterator over the variants of an enum.

    -

    Implementations§

    source§

    impl EnumIterator

    source

    pub fn new<E>(py: Python<'_>) -> Self
    where - E: IntoEnumIterator + IntoPy<Py<PyAny>>, - <E as IntoEnumIterator>::Iterator: Send,

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for EnumIterator

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for EnumIterator

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for EnumIterator

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<EnumIterator>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a EnumIterator

    §

    type Holder = Option<PyRef<'py, EnumIterator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut EnumIterator

    §

    type Holder = Option<PyRefMut<'py, EnumIterator>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<EnumIterator> for PyClassImplCollector<EnumIterator>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for EnumIterator

    §

    type AsRefTarget = PyCell<EnumIterator>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "EnumIterator"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where - T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where - T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where - T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    -
    source§

    impl<T, U> Into<U> for T
    where - U: From<T>,

    source§

    fn into(self) -> U

    Calls U::from(self).

    -

    That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

    -
    source§

    impl<T, U> TryFrom<U> for T
    where - U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where - U: TryFrom<T>,

    §

    type Error = <U as TryFrom<T>>::Error

    The type returned in the event of a conversion error.
    source§

    fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

    Performs the conversion.
    §

    impl<T> Ungil for T
    where - T: Send,

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/balance/index.html b/nightly/core/nautilus_model/python/types/balance/index.html index 53779df0cb73..6bc78a53d775 100644 --- a/nightly/core/nautilus_model/python/types/balance/index.html +++ b/nightly/core/nautilus_model/python/types/balance/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types::balance - Rust +nautilus_model::python::types::balance - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/currency/index.html b/nightly/core/nautilus_model/python/types/currency/index.html index a455fce76c8c..d60a0120937c 100644 --- a/nightly/core/nautilus_model/python/types/currency/index.html +++ b/nightly/core/nautilus_model/python/types/currency/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types::currency - Rust +nautilus_model::python::types::currency - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/index.html b/nightly/core/nautilus_model/python/types/index.html index d5d3ed556cf4..97c41d200d45 100644 --- a/nightly/core/nautilus_model/python/types/index.html +++ b/nightly/core/nautilus_model/python/types/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types - Rust +nautilus_model::python::types - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/money/index.html b/nightly/core/nautilus_model/python/types/money/index.html index ba6fc2bbaca1..d4eb49e2641e 100644 --- a/nightly/core/nautilus_model/python/types/money/index.html +++ b/nightly/core/nautilus_model/python/types/money/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types::money - Rust +nautilus_model::python::types::money - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/price/index.html b/nightly/core/nautilus_model/python/types/price/index.html index e671772e608e..c747f870ab82 100644 --- a/nightly/core/nautilus_model/python/types/price/index.html +++ b/nightly/core/nautilus_model/python/types/price/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types::price - Rust +nautilus_model::python::types::price - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/python/types/quantity/index.html b/nightly/core/nautilus_model/python/types/quantity/index.html index 555f342f3c23..bc1bf03523a7 100644 --- a/nightly/core/nautilus_model/python/types/quantity/index.html +++ b/nightly/core/nautilus_model/python/types/quantity/index.html @@ -1,2 +1,2 @@ -nautilus_model::python::types::quantity - Rust +nautilus_model::python::types::quantity - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/stubs/fn.calculate_commission.html b/nightly/core/nautilus_model/stubs/fn.calculate_commission.html index 42c779879f83..23e775c6d8b5 100644 --- a/nightly/core/nautilus_model/stubs/fn.calculate_commission.html +++ b/nightly/core/nautilus_model/stubs/fn.calculate_commission.html @@ -1,4 +1,4 @@ -calculate_commission in nautilus_model::stubs - Rust +calculate_commission in nautilus_model::stubs - Rust
    pub fn calculate_commission<T: Instrument>(
         instrument: T,
         last_qty: Quantity,
    diff --git a/nightly/core/nautilus_model/stubs/fn.test_position_long.html b/nightly/core/nautilus_model/stubs/fn.test_position_long.html
    index d98b6d55c10b..b9fc0963bd83 100644
    --- a/nightly/core/nautilus_model/stubs/fn.test_position_long.html
    +++ b/nightly/core/nautilus_model/stubs/fn.test_position_long.html
    @@ -1,2 +1,2 @@
    -test_position_long in nautilus_model::stubs - Rust
    +test_position_long in nautilus_model::stubs - Rust
         
    pub fn test_position_long(audusd_sim: CurrencyPair) -> Position
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/stubs/fn.test_position_short.html b/nightly/core/nautilus_model/stubs/fn.test_position_short.html index 5eb9a73179f8..569d88085751 100644 --- a/nightly/core/nautilus_model/stubs/fn.test_position_short.html +++ b/nightly/core/nautilus_model/stubs/fn.test_position_short.html @@ -1,2 +1,2 @@ -test_position_short in nautilus_model::stubs - Rust +test_position_short in nautilus_model::stubs - Rust
    pub fn test_position_short(audusd_sim: CurrencyPair) -> Position
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/stubs/index.html b/nightly/core/nautilus_model/stubs/index.html index a149be453396..05d0668709bc 100644 --- a/nightly/core/nautilus_model/stubs/index.html +++ b/nightly/core/nautilus_model/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::stubs - Rust +nautilus_model::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/stubs/struct.test_position_long.html b/nightly/core/nautilus_model/stubs/struct.test_position_long.html index 342e75153df4..d0739b92e032 100644 --- a/nightly/core/nautilus_model/stubs/struct.test_position_long.html +++ b/nightly/core/nautilus_model/stubs/struct.test_position_long.html @@ -1,4 +1,4 @@ -test_position_long in nautilus_model::stubs - Rust +test_position_long in nautilus_model::stubs - Rust
    pub struct test_position_long {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/stubs/struct.test_position_short.html b/nightly/core/nautilus_model/stubs/struct.test_position_short.html index 0b3c7852c449..5a875ab8f459 100644 --- a/nightly/core/nautilus_model/stubs/struct.test_position_short.html +++ b/nightly/core/nautilus_model/stubs/struct.test_position_short.html @@ -1,4 +1,4 @@ -test_position_short in nautilus_model::stubs - Rust +test_position_short in nautilus_model::stubs - Rust
    pub struct test_position_short {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/types/balance/index.html b/nightly/core/nautilus_model/types/balance/index.html index 9ccb59b04e98..ad042e25d359 100644 --- a/nightly/core/nautilus_model/types/balance/index.html +++ b/nightly/core/nautilus_model/types/balance/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::balance - Rust +nautilus_model::types::balance - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/balance/struct.AccountBalance.html b/nightly/core/nautilus_model/types/balance/struct.AccountBalance.html index e5434a986cf2..e6744e87df69 100644 --- a/nightly/core/nautilus_model/types/balance/struct.AccountBalance.html +++ b/nightly/core/nautilus_model/types/balance/struct.AccountBalance.html @@ -1,4 +1,4 @@ -AccountBalance in nautilus_model::types::balance - Rust +AccountBalance in nautilus_model::types::balance - Rust
    pub struct AccountBalance {
         pub currency: Currency,
         pub total: Money,
    diff --git a/nightly/core/nautilus_model/types/balance/struct.MarginBalance.html b/nightly/core/nautilus_model/types/balance/struct.MarginBalance.html
    index 7a1c26a20e29..4ae29fc35e22 100644
    --- a/nightly/core/nautilus_model/types/balance/struct.MarginBalance.html
    +++ b/nightly/core/nautilus_model/types/balance/struct.MarginBalance.html
    @@ -1,4 +1,4 @@
    -MarginBalance in nautilus_model::types::balance - Rust
    +MarginBalance in nautilus_model::types::balance - Rust
         
    pub struct MarginBalance {
         pub initial: Money,
         pub maintenance: Money,
    @@ -8,11 +8,11 @@
         initial: Money,
         maintenance: Money,
         instrument_id: InstrumentId
    -) -> Result<Self>

    source§

    impl MarginBalance

    source

    pub fn py_to_dict(&self, py: Python<'_>) -> PyResult<PyObject>

    Trait Implementations§

    source§

    impl Clone for MarginBalance

    source§

    fn clone(&self) -> MarginBalance

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MarginBalance

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MarginBalance

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where - __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for MarginBalance

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for MarginBalance

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for MarginBalance

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used +) -> Result<Self>

    source§

    impl MarginBalance

    source

    pub fn py_to_dict(&self, py: Python<'_>) -> PyResult<PyObject>

    Trait Implementations§

    source§

    impl Clone for MarginBalance

    source§

    fn clone(&self) -> MarginBalance

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for MarginBalance

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for MarginBalance

    source§

    fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
    where + __D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for MarginBalance

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for MarginBalance

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for MarginBalance

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for MarginBalance

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for MarginBalance

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<MarginBalance>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<MarginBalance> for PyClassImplCollector<MarginBalance>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginBalance

    §

    type Holder = Option<PyRef<'py, MarginBalance>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginBalance

    §

    type Holder = Option<PyRefMut<'py, MarginBalance>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<MarginBalance> for PyClassImplCollector<MarginBalance>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for MarginBalance

    §

    type AsRefTarget = PyCell<MarginBalance>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarginBalance"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for MarginBalance

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<MarginBalance> for PyClassImplCollector<MarginBalance>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a MarginBalance

    §

    type Holder = Option<PyRef<'py, MarginBalance>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut MarginBalance

    §

    type Holder = Option<PyRefMut<'py, MarginBalance>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<MarginBalance> for PyClassImplCollector<MarginBalance>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for MarginBalance

    §

    type AsRefTarget = PyCell<MarginBalance>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "MarginBalance"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for MarginBalance

    source§

    fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
    where __S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for MarginBalance

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/types/currency/index.html b/nightly/core/nautilus_model/types/currency/index.html index ac49ed755031..c014d5b8657b 100644 --- a/nightly/core/nautilus_model/types/currency/index.html +++ b/nightly/core/nautilus_model/types/currency/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::currency - Rust +nautilus_model::types::currency - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/currency/struct.Currency.html b/nightly/core/nautilus_model/types/currency/struct.Currency.html index 07f7b239215c..802bd6d13aa4 100644 --- a/nightly/core/nautilus_model/types/currency/struct.Currency.html +++ b/nightly/core/nautilus_model/types/currency/struct.Currency.html @@ -1,4 +1,4 @@ -Currency in nautilus_model::types::currency - Rust +Currency in nautilus_model::types::currency - Rust
    #[repr(C)]
    pub struct Currency { pub code: Ustr, pub precision: u8, @@ -17,7 +17,7 @@ Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl IntoPy<Py<PyAny>> for Currency

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for Currency

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for Currency

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for Currency

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<Currency>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Currency> for PyClassImplCollector<Currency>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Currency

    §

    type Holder = Option<PyRef<'py, Currency>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Currency

    §

    type Holder = Option<PyRefMut<'py, Currency>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Currency> for PyClassImplCollector<Currency>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Currency

    §

    type AsRefTarget = PyCell<Currency>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Currency"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Currency

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<Currency> for PyClassImplCollector<Currency>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Currency

    §

    type Holder = Option<PyRef<'py, Currency>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Currency

    §

    type Holder = Option<PyRefMut<'py, Currency>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Currency> for PyClassImplCollector<Currency>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Currency

    §

    type AsRefTarget = PyCell<Currency>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Currency"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Currency

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Copy for Currency

    source§

    impl Eq for Currency

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/types/fixed/constant.FIXED_PRECISION.html b/nightly/core/nautilus_model/types/fixed/constant.FIXED_PRECISION.html index 5ff706e3ba18..bbda76cb63e3 100644 --- a/nightly/core/nautilus_model/types/fixed/constant.FIXED_PRECISION.html +++ b/nightly/core/nautilus_model/types/fixed/constant.FIXED_PRECISION.html @@ -1,2 +1,2 @@ -FIXED_PRECISION in nautilus_model::types::fixed - Rust +FIXED_PRECISION in nautilus_model::types::fixed - Rust
    pub const FIXED_PRECISION: u8 = 9;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/constant.FIXED_SCALAR.html b/nightly/core/nautilus_model/types/fixed/constant.FIXED_SCALAR.html index a88fcef99560..58f6cdc90e21 100644 --- a/nightly/core/nautilus_model/types/fixed/constant.FIXED_SCALAR.html +++ b/nightly/core/nautilus_model/types/fixed/constant.FIXED_SCALAR.html @@ -1,2 +1,2 @@ -FIXED_SCALAR in nautilus_model::types::fixed - Rust +FIXED_SCALAR in nautilus_model::types::fixed - Rust
    pub const FIXED_SCALAR: f64 = 1_000_000_000.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/fn.check_fixed_precision.html b/nightly/core/nautilus_model/types/fixed/fn.check_fixed_precision.html index 65182b526bdb..6817ea3c8257 100644 --- a/nightly/core/nautilus_model/types/fixed/fn.check_fixed_precision.html +++ b/nightly/core/nautilus_model/types/fixed/fn.check_fixed_precision.html @@ -1,2 +1,2 @@ -check_fixed_precision in nautilus_model::types::fixed - Rust +check_fixed_precision in nautilus_model::types::fixed - Rust
    pub fn check_fixed_precision(precision: u8) -> Result<()>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_i64.html b/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_i64.html index 6c34fb1951b4..80547fc996df 100644 --- a/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_i64.html +++ b/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_i64.html @@ -1,2 +1,2 @@ -f64_to_fixed_i64 in nautilus_model::types::fixed - Rust +f64_to_fixed_i64 in nautilus_model::types::fixed - Rust
    pub fn f64_to_fixed_i64(value: f64, precision: u8) -> i64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_u64.html b/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_u64.html index 46804e848f2e..b5b93bbb9923 100644 --- a/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_u64.html +++ b/nightly/core/nautilus_model/types/fixed/fn.f64_to_fixed_u64.html @@ -1,2 +1,2 @@ -f64_to_fixed_u64 in nautilus_model::types::fixed - Rust +f64_to_fixed_u64 in nautilus_model::types::fixed - Rust
    pub fn f64_to_fixed_u64(value: f64, precision: u8) -> u64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/fn.fixed_i64_to_f64.html b/nightly/core/nautilus_model/types/fixed/fn.fixed_i64_to_f64.html index 746226b40141..fd7d7cfba362 100644 --- a/nightly/core/nautilus_model/types/fixed/fn.fixed_i64_to_f64.html +++ b/nightly/core/nautilus_model/types/fixed/fn.fixed_i64_to_f64.html @@ -1,2 +1,2 @@ -fixed_i64_to_f64 in nautilus_model::types::fixed - Rust +fixed_i64_to_f64 in nautilus_model::types::fixed - Rust
    pub fn fixed_i64_to_f64(value: i64) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/fn.fixed_u64_to_f64.html b/nightly/core/nautilus_model/types/fixed/fn.fixed_u64_to_f64.html index 05f8768f4ff6..6f29223ecf57 100644 --- a/nightly/core/nautilus_model/types/fixed/fn.fixed_u64_to_f64.html +++ b/nightly/core/nautilus_model/types/fixed/fn.fixed_u64_to_f64.html @@ -1,2 +1,2 @@ -fixed_u64_to_f64 in nautilus_model::types::fixed - Rust +fixed_u64_to_f64 in nautilus_model::types::fixed - Rust
    pub fn fixed_u64_to_f64(value: u64) -> f64
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/fixed/index.html b/nightly/core/nautilus_model/types/fixed/index.html index b6749be64442..869fdea6a085 100644 --- a/nightly/core/nautilus_model/types/fixed/index.html +++ b/nightly/core/nautilus_model/types/fixed/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::fixed - Rust +nautilus_model::types::fixed - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/index.html b/nightly/core/nautilus_model/types/index.html index 1a867d8da725..00af2dceaf38 100644 --- a/nightly/core/nautilus_model/types/index.html +++ b/nightly/core/nautilus_model/types/index.html @@ -1,2 +1,2 @@ -nautilus_model::types - Rust +nautilus_model::types - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/money/constant.MONEY_MAX.html b/nightly/core/nautilus_model/types/money/constant.MONEY_MAX.html index ede8a034d1a9..c3bb379b3034 100644 --- a/nightly/core/nautilus_model/types/money/constant.MONEY_MAX.html +++ b/nightly/core/nautilus_model/types/money/constant.MONEY_MAX.html @@ -1,2 +1,2 @@ -MONEY_MAX in nautilus_model::types::money - Rust +MONEY_MAX in nautilus_model::types::money - Rust
    pub const MONEY_MAX: f64 = 9_223_372_036.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/money/constant.MONEY_MIN.html b/nightly/core/nautilus_model/types/money/constant.MONEY_MIN.html index e7fdba5a72a3..027aca1dfcec 100644 --- a/nightly/core/nautilus_model/types/money/constant.MONEY_MIN.html +++ b/nightly/core/nautilus_model/types/money/constant.MONEY_MIN.html @@ -1,2 +1,2 @@ -MONEY_MIN in nautilus_model::types::money - Rust +MONEY_MIN in nautilus_model::types::money - Rust
    pub const MONEY_MIN: f64 = -9_223_372_036.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/money/index.html b/nightly/core/nautilus_model/types/money/index.html index b2e253374d8c..0c8184a36a12 100644 --- a/nightly/core/nautilus_model/types/money/index.html +++ b/nightly/core/nautilus_model/types/money/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::money - Rust +nautilus_model::types::money - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/money/struct.Money.html b/nightly/core/nautilus_model/types/money/struct.Money.html index 25bf9693349a..9525cff5b3be 100644 --- a/nightly/core/nautilus_model/types/money/struct.Money.html +++ b/nightly/core/nautilus_model/types/money/struct.Money.html @@ -1,11 +1,11 @@ -Money in nautilus_model::types::money - Rust +Money in nautilus_model::types::money - Rust
    #[repr(C)]
    pub struct Money { pub raw: i64, pub currency: Currency, -}

    Fields§

    §raw: i64§currency: Currency

    Implementations§

    source§

    impl Money

    source

    pub fn new(amount: f64, currency: Currency) -> Result<Self>

    source

    pub fn from_raw(raw: i64, currency: Currency) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Trait Implementations§

    source§

    impl Add<f64> for Money

    §

    type Output = f64

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: f64) -> Self::Output

    Performs the + operation. Read more
    source§

    impl Add for Money

    §

    type Output = Money

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl AddAssign for Money

    source§

    fn add_assign(&mut self, other: Self)

    Performs the += operation. Read more
    source§

    impl Clone for Money

    source§

    fn clone(&self) -> Money

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Money

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Money

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Money

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult

    Formats the value using the given formatter. Read more
    source§

    impl Div<f64> for Money

    §

    type Output = f64

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: f64) -> Self::Output

    Performs the / operation. Read more
    source§

    impl From<&Money> for f64

    source§

    fn from(money: &Money) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Money

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Money> for f64

    source§

    fn from(money: Money) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Money

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Money

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +}

    Fields§

    §raw: i64§currency: Currency

    Implementations§

    source§

    impl Money

    source

    pub fn new(amount: f64, currency: Currency) -> Result<Self>

    source

    pub fn from_raw(raw: i64, currency: Currency) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Trait Implementations§

    source§

    impl Add<f64> for Money

    §

    type Output = f64

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: f64) -> Self::Output

    Performs the + operation. Read more
    source§

    impl Add for Money

    §

    type Output = Money

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl AddAssign for Money

    source§

    fn add_assign(&mut self, other: Self)

    Performs the += operation. Read more
    source§

    impl Clone for Money

    source§

    fn clone(&self) -> Money

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Money

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl<'de> Deserialize<'de> for Money

    source§

    fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Money

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult

    Formats the value using the given formatter. Read more
    source§

    impl Div<f64> for Money

    §

    type Output = f64

    The resulting type after applying the / operator.
    source§

    fn div(self, rhs: f64) -> Self::Output

    Performs the / operation. Read more
    source§

    impl From<&Money> for f64

    source§

    fn from(money: &Money) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Money

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Money> for f64

    source§

    fn from(money: Money) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Money

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Money

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Money

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Money

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Neg for Money

    §

    type Output = Money

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> Self::Output

    Performs the unary - operation. Read more
    source§

    impl Ord for Money

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Money

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Money

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Neg for Money

    §

    type Output = Money

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> Self::Output

    Performs the unary - operation. Read more
    source§

    impl Ord for Money

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Money

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used @@ -74,7 +74,7 @@ _raw_slf: *mut PyObject, arg0: *mut PyObject ) -> PyResult<*mut PyObject>

    Safety: _slf and _other must be valid non-null Python objects Read more
    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Money

    §

    type Holder = Option<PyRef<'py, Money>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Money

    §

    type Holder = Option<PyRefMut<'py, Money>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Money> for PyClassImplCollector<Money>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Money

    §

    type AsRefTarget = PyCell<Money>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Money"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Money

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where - S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub<f64> for Money

    §

    type Output = f64

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: f64) -> Self::Output

    Performs the - operation. Read more
    source§

    impl Sub for Money

    §

    type Output = Money

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Self) -> Self::Output

    Performs the - operation. Read more
    source§

    impl SubAssign for Money

    source§

    fn sub_assign(&mut self, other: Self)

    Performs the -= operation. Read more
    source§

    impl ToPyObject for Money

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl Copy for Money

    source§

    impl Eq for Money

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Money

    §

    impl Send for Money

    §

    impl Sync for Money

    §

    impl Unpin for Money

    §

    impl UnwindSafe for Money

    Blanket Implementations§

    source§

    impl<T> Any for T
    where + S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub<f64> for Money

    §

    type Output = f64

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: f64) -> Self::Output

    Performs the - operation. Read more
    source§

    impl Sub for Money

    §

    type Output = Money

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Self) -> Self::Output

    Performs the - operation. Read more
    source§

    impl SubAssign for Money

    source§

    fn sub_assign(&mut self, other: Self)

    Performs the -= operation. Read more
    source§

    impl ToPyObject for Money

    source§

    fn to_object(&self, py: Python<'_>) -> PyObject

    Converts self into a Python object.
    source§

    impl Copy for Money

    source§

    impl Eq for Money

    Auto Trait Implementations§

    §

    impl RefUnwindSafe for Money

    §

    impl Send for Money

    §

    impl Sync for Money

    §

    impl Unpin for Money

    §

    impl UnwindSafe for Money

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Comparable<K> for Q
    where diff --git a/nightly/core/nautilus_model/types/price/constant.ERROR_PRICE.html b/nightly/core/nautilus_model/types/price/constant.ERROR_PRICE.html index 1f5722af66fe..d9b0e4014e98 100644 --- a/nightly/core/nautilus_model/types/price/constant.ERROR_PRICE.html +++ b/nightly/core/nautilus_model/types/price/constant.ERROR_PRICE.html @@ -1,3 +1,3 @@ -ERROR_PRICE in nautilus_model::types::price - Rust +ERROR_PRICE in nautilus_model::types::price - Rust
    pub const ERROR_PRICE: Price;
    Expand description

    Sentinel Price for errors.

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/price/constant.PRICE_MAX.html b/nightly/core/nautilus_model/types/price/constant.PRICE_MAX.html index 817ca357c861..97ae3af487c6 100644 --- a/nightly/core/nautilus_model/types/price/constant.PRICE_MAX.html +++ b/nightly/core/nautilus_model/types/price/constant.PRICE_MAX.html @@ -1,2 +1,2 @@ -PRICE_MAX in nautilus_model::types::price - Rust +PRICE_MAX in nautilus_model::types::price - Rust
    pub const PRICE_MAX: f64 = 9_223_372_036.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/price/constant.PRICE_MIN.html b/nightly/core/nautilus_model/types/price/constant.PRICE_MIN.html index cbc4fcc49c5e..021794357a15 100644 --- a/nightly/core/nautilus_model/types/price/constant.PRICE_MIN.html +++ b/nightly/core/nautilus_model/types/price/constant.PRICE_MIN.html @@ -1,2 +1,2 @@ -PRICE_MIN in nautilus_model::types::price - Rust +PRICE_MIN in nautilus_model::types::price - Rust
    pub const PRICE_MIN: f64 = -9_223_372_036.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/price/index.html b/nightly/core/nautilus_model/types/price/index.html index d3f42cc6c5c3..cffcaba1836f 100644 --- a/nightly/core/nautilus_model/types/price/index.html +++ b/nightly/core/nautilus_model/types/price/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::price - Rust +nautilus_model::types::price - Rust

    Module nautilus_model::types::price

    source ·

    Structs§

    Constants§

    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/price/struct.Price.html b/nightly/core/nautilus_model/types/price/struct.Price.html index 0da75d8e98f6..e22f4d8aa034 100644 --- a/nightly/core/nautilus_model/types/price/struct.Price.html +++ b/nightly/core/nautilus_model/types/price/struct.Price.html @@ -1,11 +1,11 @@ -Price in nautilus_model::types::price - Rust +Price in nautilus_model::types::price - Rust
    #[repr(C)]
    pub struct Price { pub raw: i64, pub precision: u8, -}

    Fields§

    §raw: i64§precision: u8

    Implementations§

    source§

    impl Price

    source

    pub fn new(value: f64, precision: u8) -> Result<Self>

    source

    pub fn from_raw(raw: i64, precision: u8) -> Result<Self>

    source

    pub fn max(precision: u8) -> Self

    source

    pub fn min(precision: u8) -> Self

    source

    pub fn zero(precision: u8) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Methods from Deref<Target = i64>§

    1.43.0 · source

    pub const MIN: i64 = -9_223_372_036_854_775_808i64

    1.43.0 · source

    pub const MAX: i64 = 9_223_372_036_854_775_807i64

    1.53.0 · source

    pub const BITS: u32 = 64u32

    Trait Implementations§

    source§

    impl Add<f64> for Price

    §

    type Output = f64

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: f64) -> Self::Output

    Performs the + operation. Read more
    source§

    impl Add for Price

    §

    type Output = Price

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl AddAssign for Price

    source§

    fn add_assign(&mut self, other: Self)

    Performs the += operation. Read more
    source§

    impl Clone for Price

    source§

    fn clone(&self) -> Price

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Price

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Price

    source§

    fn default() -> Price

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Price

    §

    type Target = i64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Price

    source§

    fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Price

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&Price> for f64

    source§

    fn from(price: &Price) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Price

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Price> for f64

    source§

    fn from(price: Price) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Price

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Price

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +}

    Fields§

    §raw: i64§precision: u8

    Implementations§

    source§

    impl Price

    source

    pub fn new(value: f64, precision: u8) -> Result<Self>

    source

    pub fn from_raw(raw: i64, precision: u8) -> Result<Self>

    source

    pub fn max(precision: u8) -> Self

    source

    pub fn min(precision: u8) -> Self

    source

    pub fn zero(precision: u8) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Methods from Deref<Target = i64>§

    1.43.0 · source

    pub const MIN: i64 = -9_223_372_036_854_775_808i64

    1.43.0 · source

    pub const MAX: i64 = 9_223_372_036_854_775_807i64

    1.53.0 · source

    pub const BITS: u32 = 64u32

    Trait Implementations§

    source§

    impl Add<f64> for Price

    §

    type Output = f64

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: f64) -> Self::Output

    Performs the + operation. Read more
    source§

    impl Add for Price

    §

    type Output = Price

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl AddAssign for Price

    source§

    fn add_assign(&mut self, other: Self)

    Performs the += operation. Read more
    source§

    impl Clone for Price

    source§

    fn clone(&self) -> Price

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Price

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Price

    source§

    fn default() -> Price

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Price

    §

    type Target = i64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Price

    source§

    fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Price

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&Price> for f64

    source§

    fn from(price: &Price) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Price

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Price> for f64

    source§

    fn from(price: Price) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Price

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Price

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Price

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Price

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Neg for Price

    §

    type Output = Price

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> Self::Output

    Performs the unary - operation. Read more
    source§

    impl Ord for Price

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Price

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Price

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Neg for Price

    §

    type Output = Price

    The resulting type after applying the - operator.
    source§

    fn neg(self) -> Self::Output

    Performs the unary - operation. Read more
    source§

    impl Ord for Price

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Price

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used diff --git a/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MAX.html b/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MAX.html index 4b36032ec96f..16a02bfe0d6d 100644 --- a/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MAX.html +++ b/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MAX.html @@ -1,2 +1,2 @@ -QUANTITY_MAX in nautilus_model::types::quantity - Rust +QUANTITY_MAX in nautilus_model::types::quantity - Rust
    pub const QUANTITY_MAX: f64 = 18_446_744_073.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MIN.html b/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MIN.html index 2d2876eeee04..2b475ad9d689 100644 --- a/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MIN.html +++ b/nightly/core/nautilus_model/types/quantity/constant.QUANTITY_MIN.html @@ -1,2 +1,2 @@ -QUANTITY_MIN in nautilus_model::types::quantity - Rust +QUANTITY_MIN in nautilus_model::types::quantity - Rust
    pub const QUANTITY_MIN: f64 = 0.0;
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/quantity/fn.check_quantity_positive.html b/nightly/core/nautilus_model/types/quantity/fn.check_quantity_positive.html index 1a2c11b9950a..7220ccb4ffb8 100644 --- a/nightly/core/nautilus_model/types/quantity/fn.check_quantity_positive.html +++ b/nightly/core/nautilus_model/types/quantity/fn.check_quantity_positive.html @@ -1,2 +1,2 @@ -check_quantity_positive in nautilus_model::types::quantity - Rust +check_quantity_positive in nautilus_model::types::quantity - Rust
    pub fn check_quantity_positive(value: Quantity) -> Result<()>
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/quantity/index.html b/nightly/core/nautilus_model/types/quantity/index.html index 7cc5a753dde9..b3516c583eea 100644 --- a/nightly/core/nautilus_model/types/quantity/index.html +++ b/nightly/core/nautilus_model/types/quantity/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::quantity - Rust +nautilus_model::types::quantity - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/quantity/struct.Quantity.html b/nightly/core/nautilus_model/types/quantity/struct.Quantity.html index fc8d6330df6f..e6134abc4793 100644 --- a/nightly/core/nautilus_model/types/quantity/struct.Quantity.html +++ b/nightly/core/nautilus_model/types/quantity/struct.Quantity.html @@ -1,11 +1,11 @@ -Quantity in nautilus_model::types::quantity - Rust +Quantity in nautilus_model::types::quantity - Rust
    #[repr(C)]
    pub struct Quantity { pub raw: u64, pub precision: u8, -}

    Fields§

    §raw: u64§precision: u8

    Implementations§

    source§

    impl Quantity

    source

    pub fn new(value: f64, precision: u8) -> Result<Self>

    source

    pub fn from_raw(raw: u64, precision: u8) -> Result<Self>

    source

    pub fn zero(precision: u8) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn is_positive(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Methods from Deref<Target = u64>§

    1.43.0 · source

    pub const MIN: u64 = 0u64

    1.43.0 · source

    pub const MAX: u64 = 18_446_744_073_709_551_615u64

    1.53.0 · source

    pub const BITS: u32 = 64u32

    Trait Implementations§

    source§

    impl Add for Quantity

    §

    type Output = Quantity

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl<T: Into<u64>> AddAssign<T> for Quantity

    source§

    fn add_assign(&mut self, other: T)

    Performs the += operation. Read more
    source§

    impl Clone for Quantity

    source§

    fn clone(&self) -> Quantity

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Quantity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Quantity

    source§

    fn default() -> Quantity

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Quantity

    §

    type Target = u64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Quantity

    source§

    fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>
    where - D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Quantity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&Quantity> for f64

    source§

    fn from(qty: &Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<&Quantity> for u64

    source§

    fn from(value: &Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Quantity

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Quantity> for f64

    source§

    fn from(qty: Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<Quantity> for u64

    source§

    fn from(value: Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Quantity

    source§

    fn from(input: i64) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Quantity

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Quantity

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where +}

    Fields§

    §raw: u64§precision: u8

    Implementations§

    source§

    impl Quantity

    source

    pub fn new(value: f64, precision: u8) -> Result<Self>

    source

    pub fn from_raw(raw: u64, precision: u8) -> Result<Self>

    source

    pub fn zero(precision: u8) -> Self

    source

    pub fn is_zero(&self) -> bool

    source

    pub fn is_positive(&self) -> bool

    source

    pub fn as_f64(&self) -> f64

    source

    pub fn as_decimal(&self) -> Decimal

    source

    pub fn to_formatted_string(&self) -> String

    Methods from Deref<Target = u64>§

    1.43.0 · source

    pub const MIN: u64 = 0u64

    1.43.0 · source

    pub const MAX: u64 = 18_446_744_073_709_551_615u64

    1.53.0 · source

    pub const BITS: u32 = 64u32

    Trait Implementations§

    source§

    impl Add for Quantity

    §

    type Output = Quantity

    The resulting type after applying the + operator.
    source§

    fn add(self, rhs: Self) -> Self::Output

    Performs the + operation. Read more
    source§

    impl<T: Into<u64>> AddAssign<T> for Quantity

    source§

    fn add_assign(&mut self, other: T)

    Performs the += operation. Read more
    source§

    impl Clone for Quantity

    source§

    fn clone(&self) -> Quantity

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for Quantity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl Default for Quantity

    source§

    fn default() -> Quantity

    Returns the “default value” for a type. Read more
    source§

    impl Deref for Quantity

    §

    type Target = u64

    The resulting type after dereferencing.
    source§

    fn deref(&self) -> &Self::Target

    Dereferences the value.
    source§

    impl<'de> Deserialize<'de> for Quantity

    source§

    fn deserialize<D>(_deserializer: D) -> Result<Self, D::Error>
    where + D: Deserializer<'de>,

    Deserialize this value from the given Serde deserializer. Read more
    source§

    impl Display for Quantity

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl From<&Quantity> for f64

    source§

    fn from(qty: &Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<&Quantity> for u64

    source§

    fn from(value: &Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<&str> for Quantity

    source§

    fn from(input: &str) -> Self

    Converts to this type from the input type.
    source§

    impl From<Quantity> for f64

    source§

    fn from(qty: Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<Quantity> for u64

    source§

    fn from(value: Quantity) -> Self

    Converts to this type from the input type.
    source§

    impl From<i64> for Quantity

    source§

    fn from(input: i64) -> Self

    Converts to this type from the input type.
    source§

    impl FromStr for Quantity

    §

    type Err = String

    The associated error which can be returned from parsing.
    source§

    fn from_str(input: &str) -> Result<Self, Self::Err>

    Parses a string s to return a value of this type. Read more
    source§

    impl Hash for Quantity

    source§

    fn hash<H: Hasher>(&self, state: &mut H)

    Feeds this value into the given Hasher. Read more
    1.3.0 · source§

    fn hash_slice<H>(data: &[Self], state: &mut H)
    where H: Hasher, - Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Quantity

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Quantity

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Mul for Quantity

    §

    type Output = Quantity

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Self) -> Self::Output

    Performs the * operation. Read more
    source§

    impl<T: Into<u64>> MulAssign<T> for Quantity

    source§

    fn mul_assign(&mut self, other: T)

    Performs the *= operation. Read more
    source§

    impl Ord for Quantity

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where + Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more
    source§

    impl IntoPy<Py<PyAny>> for Quantity

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Mul<f64> for Quantity

    §

    type Output = f64

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: f64) -> Self::Output

    Performs the * operation. Read more
    source§

    impl Mul for Quantity

    §

    type Output = Quantity

    The resulting type after applying the * operator.
    source§

    fn mul(self, rhs: Self) -> Self::Output

    Performs the * operation. Read more
    source§

    impl<T: Into<u64>> MulAssign<T> for Quantity

    source§

    fn mul_assign(&mut self, other: T)

    Performs the *= operation. Read more
    source§

    impl Ord for Quantity

    source§

    fn cmp(&self, other: &Self) -> Ordering

    This method returns an Ordering between self and other. Read more
    1.21.0 · source§

    fn max(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the maximum of two values. Read more
    1.21.0 · source§

    fn min(self, other: Self) -> Self
    where Self: Sized,

    Compares and returns the minimum of two values. Read more
    1.50.0 · source§

    fn clamp(self, min: Self, max: Self) -> Self
    where Self: Sized + PartialOrd,

    Restrict a value to a certain interval. Read more
    source§

    impl PartialEq for Quantity

    source§

    fn eq(&self, other: &Self) -> bool

    This method tests for self and other values to be equal, and is used @@ -73,7 +73,7 @@ py: Python<'_>, _raw_slf: *mut PyObject, arg0: *mut PyObject -) -> PyResult<*mut PyObject>

    Safety: _slf and _other must be valid non-null Python objects Read more

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Quantity

    §

    type Holder = Option<PyRef<'py, Quantity>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Quantity

    §

    type Holder = Option<PyRefMut<'py, Quantity>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Quantity> for PyClassImplCollector<Quantity>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Quantity

    §

    type AsRefTarget = PyCell<Quantity>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Quantity"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Quantity

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where +) -> PyResult<*mut PyObject>

    Safety: _slf and _other must be valid non-null Python objects Read more
    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a Quantity

    §

    type Holder = Option<PyRef<'py, Quantity>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut Quantity

    §

    type Holder = Option<PyRefMut<'py, Quantity>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<Quantity> for PyClassImplCollector<Quantity>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for Quantity

    §

    type AsRefTarget = PyCell<Quantity>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "Quantity"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Serialize for Quantity

    source§

    fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
    where S: Serializer,

    Serialize this value into the given Serde serializer. Read more
    source§

    impl Sub for Quantity

    §

    type Output = Quantity

    The resulting type after applying the - operator.
    source§

    fn sub(self, rhs: Self) -> Self::Output

    Performs the - operation. Read more
    source§

    impl<T: Into<u64>> SubAssign<T> for Quantity

    source§

    fn sub_assign(&mut self, other: T)

    Performs the -= operation. Read more
    source§

    impl Copy for Quantity

    source§

    impl Eq for Quantity

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/types/stubs/fn.account_balance_test.html b/nightly/core/nautilus_model/types/stubs/fn.account_balance_test.html index e7b81bf2d5e5..dd8f2c02a4a6 100644 --- a/nightly/core/nautilus_model/types/stubs/fn.account_balance_test.html +++ b/nightly/core/nautilus_model/types/stubs/fn.account_balance_test.html @@ -1,2 +1,2 @@ -account_balance_test in nautilus_model::types::stubs - Rust +account_balance_test in nautilus_model::types::stubs - Rust
    pub fn account_balance_test() -> AccountBalance
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/stubs/fn.margin_balance_test.html b/nightly/core/nautilus_model/types/stubs/fn.margin_balance_test.html index 32609933e524..400546a04025 100644 --- a/nightly/core/nautilus_model/types/stubs/fn.margin_balance_test.html +++ b/nightly/core/nautilus_model/types/stubs/fn.margin_balance_test.html @@ -1,2 +1,2 @@ -margin_balance_test in nautilus_model::types::stubs - Rust +margin_balance_test in nautilus_model::types::stubs - Rust
    pub fn margin_balance_test() -> MarginBalance
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/stubs/index.html b/nightly/core/nautilus_model/types/stubs/index.html index b8658342d7bc..26eb85dce718 100644 --- a/nightly/core/nautilus_model/types/stubs/index.html +++ b/nightly/core/nautilus_model/types/stubs/index.html @@ -1,2 +1,2 @@ -nautilus_model::types::stubs - Rust +nautilus_model::types::stubs - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_model/types/stubs/struct.account_balance_test.html b/nightly/core/nautilus_model/types/stubs/struct.account_balance_test.html index 110e11f96987..a8139780721a 100644 --- a/nightly/core/nautilus_model/types/stubs/struct.account_balance_test.html +++ b/nightly/core/nautilus_model/types/stubs/struct.account_balance_test.html @@ -1,4 +1,4 @@ -account_balance_test in nautilus_model::types::stubs - Rust +account_balance_test in nautilus_model::types::stubs - Rust
    pub struct account_balance_test {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_model/types/stubs/struct.margin_balance_test.html b/nightly/core/nautilus_model/types/stubs/struct.margin_balance_test.html index 09383a9f64a2..d1bf9c520197 100644 --- a/nightly/core/nautilus_model/types/stubs/struct.margin_balance_test.html +++ b/nightly/core/nautilus_model/types/stubs/struct.margin_balance_test.html @@ -1,4 +1,4 @@ -margin_balance_test in nautilus_model::types::stubs - Rust +margin_balance_test in nautilus_model::types::stubs - Rust
    pub struct margin_balance_test {}

    Implementations§

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where diff --git a/nightly/core/nautilus_network/all.html b/nightly/core/nautilus_network/all.html index fe6a252b913f..830f9edc2a58 100644 --- a/nightly/core/nautilus_network/all.html +++ b/nightly/core/nautilus_network/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate
    \ No newline at end of file diff --git a/nightly/core/nautilus_network/http/enum.HttpMethod.html b/nightly/core/nautilus_network/http/enum.HttpMethod.html index f247d63b49be..0f7fb7c199d3 100644 --- a/nightly/core/nautilus_network/http/enum.HttpMethod.html +++ b/nightly/core/nautilus_network/http/enum.HttpMethod.html @@ -1,4 +1,4 @@ -HttpMethod in nautilus_network::http - Rust +HttpMethod in nautilus_network::http - Rust
    pub enum HttpMethod {
         GET,
         POST,
    @@ -10,7 +10,7 @@
         Self: Sized,

    Feeds a slice of this type into the given Hasher. Read more

    source§

    impl Into<Method> for HttpMethod

    source§

    fn into(self) -> Method

    Converts this type into the (usually inferred) input type.
    source§

    impl IntoPy<Py<PyAny>> for HttpMethod

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PartialEq for HttpMethod

    source§

    fn eq(&self, other: &HttpMethod) -> bool

    This method tests for self and other values to be equal, and is used by ==.
    1.0.0 · source§

    fn ne(&self, other: &Rhs) -> bool

    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
    source§

    impl PyClass for HttpMethod

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for HttpMethod

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<HttpMethod>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpMethod

    §

    type Holder = Option<PyRef<'py, HttpMethod>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpMethod

    §

    type Holder = Option<PyRefMut<'py, HttpMethod>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpMethod> for PyClassImplCollector<HttpMethod>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpMethod

    §

    type AsRefTarget = PyCell<HttpMethod>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpMethod"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Copy for HttpMethod

    source§

    impl Eq for HttpMethod

    source§

    impl StructuralPartialEq for HttpMethod

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpMethod

    §

    type Holder = Option<PyRef<'py, HttpMethod>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpMethod

    §

    type Holder = Option<PyRefMut<'py, HttpMethod>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpMethod> for PyClassImplCollector<HttpMethod>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpMethod

    §

    type AsRefTarget = PyCell<HttpMethod>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpMethod"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Copy for HttpMethod

    source§

    impl Eq for HttpMethod

    source§

    impl StructuralPartialEq for HttpMethod

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    §

    impl<Q, K> Equivalent<K> for Q
    where diff --git a/nightly/core/nautilus_network/http/index.html b/nightly/core/nautilus_network/http/index.html index 1b5c6cf23146..5747e88f53ce 100644 --- a/nightly/core/nautilus_network/http/index.html +++ b/nightly/core/nautilus_network/http/index.html @@ -1,2 +1,2 @@ -nautilus_network::http - Rust +nautilus_network::http - Rust

    Module nautilus_network::http

    source ·

    Structs§

    Enums§

    \ No newline at end of file diff --git a/nightly/core/nautilus_network/http/struct.HttpClient.html b/nightly/core/nautilus_network/http/struct.HttpClient.html index 2f958c6e892d..a1ac8e5226ce 100644 --- a/nightly/core/nautilus_network/http/struct.HttpClient.html +++ b/nightly/core/nautilus_network/http/struct.HttpClient.html @@ -1,4 +1,4 @@ -HttpClient in nautilus_network::http - Rust +HttpClient in nautilus_network::http - Rust
    pub struct HttpClient { /* private fields */ }

    Implementations§

    source§

    impl HttpClient

    source

    pub fn py_new( header_keys: Vec<String>, keyed_quotas: Vec<(String, Quota)>, @@ -11,7 +11,7 @@ Default quota is optional and no quota is passthrough.

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for HttpClient

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for HttpClient

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for HttpClient

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<HttpClient>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HttpClient> for PyClassImplCollector<HttpClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpClient

    §

    type Holder = Option<PyRef<'py, HttpClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpClient

    §

    type Holder = Option<PyRefMut<'py, HttpClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpClient> for PyClassImplCollector<HttpClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpClient

    §

    type AsRefTarget = PyCell<HttpClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HttpClient> for PyClassImplCollector<HttpClient>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpClient

    §

    type Holder = Option<PyRef<'py, HttpClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpClient

    §

    type Holder = Option<PyRefMut<'py, HttpClient>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpClient> for PyClassImplCollector<HttpClient>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpClient

    §

    type AsRefTarget = PyCell<HttpClient>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpClient"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_network/http/struct.HttpResponse.html b/nightly/core/nautilus_network/http/struct.HttpResponse.html index da7a97271c29..05aefdd676f4 100644 --- a/nightly/core/nautilus_network/http/struct.HttpResponse.html +++ b/nightly/core/nautilus_network/http/struct.HttpResponse.html @@ -1,10 +1,10 @@ -HttpResponse in nautilus_network::http - Rust +HttpResponse in nautilus_network::http - Rust
    pub struct HttpResponse {
         pub status: u16,
         /* private fields */
     }
    Expand description

    HttpResponse contains relevant data from a HTTP request.

    Fields§

    §status: u16

    Trait Implementations§

    source§

    impl Clone for HttpResponse

    source§

    fn clone(&self) -> HttpResponse

    Returns a copy of the value. Read more
    1.0.0 · source§

    fn clone_from(&mut self, source: &Self)

    Performs copy-assignment from source. Read more
    source§

    impl Debug for HttpResponse

    source§

    fn fmt(&self, f: &mut Formatter<'_>) -> Result

    Formats the value using the given formatter. Read more
    source§

    impl IntoPy<Py<PyAny>> for HttpResponse

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for HttpResponse

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for HttpResponse

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<HttpResponse>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HttpResponse> for PyClassImplCollector<HttpResponse>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpResponse

    §

    type Holder = Option<PyRef<'py, HttpResponse>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpResponse

    §

    type Holder = Option<PyRefMut<'py, HttpResponse>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpResponse> for PyClassImplCollector<HttpResponse>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpResponse

    §

    type AsRefTarget = PyCell<HttpResponse>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpResponse"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<HttpResponse> for PyClassImplCollector<HttpResponse>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a HttpResponse

    §

    type Holder = Option<PyRef<'py, HttpResponse>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut HttpResponse

    §

    type Holder = Option<PyRefMut<'py, HttpResponse>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<HttpResponse> for PyClassImplCollector<HttpResponse>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for HttpResponse

    §

    type AsRefTarget = PyCell<HttpResponse>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "HttpResponse"

    Class name.
    source§

    const MODULE: Option<&'static str> = _

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_network/http/struct.InnerHttpClient.html b/nightly/core/nautilus_network/http/struct.InnerHttpClient.html index eeb5f0fae074..d91973184113 100644 --- a/nightly/core/nautilus_network/http/struct.InnerHttpClient.html +++ b/nightly/core/nautilus_network/http/struct.InnerHttpClient.html @@ -1,4 +1,4 @@ -InnerHttpClient in nautilus_network::http - Rust +InnerHttpClient in nautilus_network::http - Rust
    pub struct InnerHttpClient { /* private fields */ }
    Expand description

    Provides a high-performance HttpClient for HTTP requests.

    The client is backed by a hyper Client which keeps connections alive and can be cloned cheaply. The client also has a list of header fields to diff --git a/nightly/core/nautilus_network/index.html b/nightly/core/nautilus_network/index.html index 1f15cc52a572..10f64926efa2 100644 --- a/nightly/core/nautilus_network/index.html +++ b/nightly/core/nautilus_network/index.html @@ -1,3 +1,3 @@ -nautilus_network - Rust

    Required Methods§

    source

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl DecodeDataFromRecordBatch for Bar

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl DecodeDataFromRecordBatch for Bar

    source§

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    source§

    impl DecodeDataFromRecordBatch for OrderBookDelta

    source§

    impl DecodeDataFromRecordBatch for OrderBookDelta

    source§

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    source§

    impl DecodeDataFromRecordBatch for OrderBookDepth10

    source§

    impl DecodeDataFromRecordBatch for OrderBookDepth10

    source§

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    source§

    impl DecodeDataFromRecordBatch for QuoteTick

    source§

    impl DecodeDataFromRecordBatch for QuoteTick

    source§

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    source§

    impl DecodeDataFromRecordBatch for TradeTick

    source§

    impl DecodeDataFromRecordBatch for TradeTick

    source§

    fn decode_data_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Data>, EncodingError>

    Implementors§

    \ No newline at end of file +) -> Result<Vec<Data>, EncodingError>

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html b/nightly/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html index ac2f7ead0496..e74a88439d07 100644 --- a/nightly/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html +++ b/nightly/core/nautilus_persistence/arrow/trait.DecodeFromRecordBatch.html @@ -1,6 +1,6 @@ -DecodeFromRecordBatch in nautilus_persistence::arrow - Rust +DecodeFromRecordBatch in nautilus_persistence::arrow - Rust
    pub trait DecodeFromRecordBatch
    where - Self: Sized + Into<Data> + ArrowSchemaProvider,
    { + Self: Sized + Into<Data> + ArrowSchemaProvider,
    { // Required method fn decode_batch( metadata: &HashMap<String, String>, @@ -9,19 +9,19 @@ }

    Required Methods§

    source

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Self>, EncodingError>

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl DecodeFromRecordBatch for Bar

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl DecodeFromRecordBatch for Bar

    source§

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Self>, EncodingError>

    source§

    impl DecodeFromRecordBatch for OrderBookDelta

    source§

    impl DecodeFromRecordBatch for OrderBookDelta

    source§

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Self>, EncodingError>

    source§

    impl DecodeFromRecordBatch for OrderBookDepth10

    source§

    impl DecodeFromRecordBatch for OrderBookDepth10

    source§

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Self>, EncodingError>

    source§

    impl DecodeFromRecordBatch for QuoteTick

    source§

    impl DecodeFromRecordBatch for QuoteTick

    source§

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch -) -> Result<Vec<Self>, EncodingError>

    source§

    impl DecodeFromRecordBatch for TradeTick

    source§

    impl DecodeFromRecordBatch for TradeTick

    source§

    fn decode_batch( metadata: &HashMap<String, String>, record_batch: RecordBatch ) -> Result<Vec<Self>, EncodingError>

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html b/nightly/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html index c4bce1215421..650f3c0ab510 100644 --- a/nightly/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html +++ b/nightly/core/nautilus_persistence/arrow/trait.EncodeToRecordBatch.html @@ -1,4 +1,4 @@ -EncodeToRecordBatch in nautilus_persistence::arrow - Rust +EncodeToRecordBatch in nautilus_persistence::arrow - Rust
    pub trait EncodeToRecordBatch
    where Self: Sized + ArrowSchemaProvider,
    { // Required method @@ -9,19 +9,19 @@ }

    Required Methods§

    source

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] -) -> Result<RecordBatch, ArrowError>

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl EncodeToRecordBatch for Bar

    source§

    fn encode_batch( +) -> Result<RecordBatch, ArrowError>

    Object Safety§

    This trait is not object safe.

    Implementations on Foreign Types§

    source§

    impl EncodeToRecordBatch for Bar

    source§

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] -) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for OrderBookDelta

    source§

    fn encode_batch( +) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for OrderBookDelta

    source§

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] -) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for OrderBookDepth10

    source§

    fn encode_batch( +) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for OrderBookDepth10

    source§

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] -) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for QuoteTick

    source§

    fn encode_batch( +) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for QuoteTick

    source§

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] -) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for TradeTick

    source§

    fn encode_batch( +) -> Result<RecordBatch, ArrowError>

    source§

    impl EncodeToRecordBatch for TradeTick

    source§

    fn encode_batch( metadata: &HashMap<String, String>, data: &[Self] ) -> Result<RecordBatch, ArrowError>

    Implementors§

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/arrow/trait.WriteStream.html b/nightly/core/nautilus_persistence/arrow/trait.WriteStream.html index 54fd516366d9..2dc702a88405 100644 --- a/nightly/core/nautilus_persistence/arrow/trait.WriteStream.html +++ b/nightly/core/nautilus_persistence/arrow/trait.WriteStream.html @@ -1,4 +1,4 @@ -WriteStream in nautilus_persistence::arrow - Rust +WriteStream in nautilus_persistence::arrow - Rust
    pub trait WriteStream {
         // Required method
         fn write(
    diff --git a/nightly/core/nautilus_persistence/backend/index.html b/nightly/core/nautilus_persistence/backend/index.html
    index 0b95a2e80df3..ded8ccb1a301 100644
    --- a/nightly/core/nautilus_persistence/backend/index.html
    +++ b/nightly/core/nautilus_persistence/backend/index.html
    @@ -1,2 +1,2 @@
    -nautilus_persistence::backend - Rust
    +nautilus_persistence::backend - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/backend/kmerge_batch/index.html b/nightly/core/nautilus_persistence/backend/kmerge_batch/index.html index 81c7d11e7ba4..557f99ec77d2 100644 --- a/nightly/core/nautilus_persistence/backend/kmerge_batch/index.html +++ b/nightly/core/nautilus_persistence/backend/kmerge_batch/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::backend::kmerge_batch - Rust +nautilus_persistence::backend::kmerge_batch - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.EagerStream.html b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.EagerStream.html index bc599911854f..c5e0a257e6e3 100644 --- a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.EagerStream.html +++ b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.EagerStream.html @@ -1,4 +1,4 @@ -EagerStream in nautilus_persistence::backend::kmerge_batch - Rust +EagerStream in nautilus_persistence::backend::kmerge_batch - Rust
    pub struct EagerStream<T> { /* private fields */ }

    Implementations§

    source§

    impl<T> EagerStream<T>

    source

    pub fn from_stream_with_runtime<S>(stream: S, runtime: Arc<Runtime>) -> Self
    where S: Stream<Item = T> + Send + 'static, T: Send + 'static,

    Trait Implementations§

    source§

    impl<T> Drop for EagerStream<T>

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl<T> Iterator for EagerStream<T>

    §

    type Item = T

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn next_chunk<const N: usize>( @@ -607,32 +607,32 @@ Otherwise return self.size_hint(). Read more

    §

    impl<IT> MultiUnzip<()> for IT
    where IT: Iterator<Item = ()>,

    §

    fn multiunzip(self)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA> MultiUnzip<(FromA,)> for IT
    where IT: Iterator<Item = (A,)>, - FromA: Default + Extend<A>,

    §

    fn multiunzip(self) -> (FromA,)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
    where + FromA: Default + Extend<A>,

    §

    fn multiunzip(self) -> (FromA,)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
    where IT: Iterator<Item = (A, B)>, FromA: Default + Extend<A>, - FromB: Default + Extend<B>,

    §

    fn multiunzip(self) -> (FromA, FromB)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
    where + FromB: Default + Extend<B>,

    §

    fn multiunzip(self) -> (FromA, FromB)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
    where IT: Iterator<Item = (A, B, C)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, - FromC: Default + Extend<C>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
    where + FromC: Default + Extend<C>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
    where IT: Iterator<Item = (A, B, C, D)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, - FromD: Default + Extend<D>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
    where + FromD: Default + Extend<D>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
    where IT: Iterator<Item = (A, B, C, D, E)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, FromD: Default + Extend<D>, - FromE: Default + Extend<E>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
    where + FromE: Default + Extend<E>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, FromD: Default + Extend<D>, FromE: Default + Extend<E>, - FromF: Default + Extend<F>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
    where + FromF: Default + Extend<F>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -640,7 +640,7 @@ FromD: Default + Extend<D>, FromE: Default + Extend<E>, FromF: Default + Extend<F>, - FromG: Default + Extend<G>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
    where + FromG: Default + Extend<G>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -649,7 +649,7 @@ FromE: Default + Extend<E>, FromF: Default + Extend<F>, FromG: Default + Extend<G>, - FromH: Default + Extend<H>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for IT
    where + FromH: Default + Extend<H>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -659,7 +659,7 @@ FromF: Default + Extend<F>, FromG: Default + Extend<G>, FromH: Default + Extend<H>, - FromI: Default + Extend<I>,

    §

    fn multiunzip( + FromI: Default + Extend<I>,

    §

    fn multiunzip( self ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, @@ -686,7 +686,7 @@ FromH: Default + Extend<H>, FromI: Default + Extend<I>, FromJ: Default + Extend<J>, - FromK: Default + Extend<K>,

    §

    fn multiunzip( + FromK: Default + Extend<K>,

    §

    fn multiunzip( self ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, @@ -701,7 +701,7 @@ FromI: Default + Extend<I>, FromJ: Default + Extend<J>, FromK: Default + Extend<K>, - FromL: Default + Extend<L>,

    §

    fn multiunzip( + FromL: Default + Extend<L>,

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.ElementBatchIter.html b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.ElementBatchIter.html index 574ffc8352b1..446b3b40c0a6 100644 --- a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.ElementBatchIter.html +++ b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.ElementBatchIter.html @@ -1,13 +1,13 @@ -ElementBatchIter in nautilus_persistence::backend::kmerge_batch - Rust +ElementBatchIter in nautilus_persistence::backend::kmerge_batch - Rust
    pub struct ElementBatchIter<I, T>
    where I: Iterator<Item = IntoIter<T>>,
    { pub item: T, /* private fields */ -}

    Fields§

    §item: T

    Trait Implementations§

    source§

    impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
    where - I: Iterator<Item = IntoIter<Data>>,

    Fields§

    §item: T

    Trait Implementations§

    source§

    impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
    where + I: Iterator<Item = IntoIter<Data>>,

    source§

    fn compare( &self, - l: &ElementBatchIter<I, Data>, - r: &ElementBatchIter<I, Data> + l: &ElementBatchIter<I, Data>, + r: &ElementBatchIter<I, Data> ) -> Ordering

    Compares two values, returning Less, Equal, or Greater if l is less than, equal to, or greater than r, respectively.
    §

    fn compares_lt(&self, l: &L, r: &R) -> bool

    Checks if l is less than r.
    §

    fn compares_le(&self, l: &L, r: &R) -> bool

    Checks if l is less than or equal to r.
    §

    fn compares_ge(&self, l: &L, r: &R) -> bool

    Checks if l is greater than or equal to r.
    §

    fn compares_gt(&self, l: &L, r: &R) -> bool

    Checks if l is greater than r.
    §

    fn compares_eq(&self, l: &L, r: &R) -> bool

    Checks if l is equal to r.
    §

    fn compares_ne(&self, l: &L, r: &R) -> bool

    Checks if l is not equal to r.
    §

    fn borrowing(self) -> Borrowing<Self, L, R>
    where Self: Sized,

    Borrows the comparator’s parameters before comparing them. Read more
    §

    fn rev(self) -> Rev<Self>
    where diff --git a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.KMerge.html b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.KMerge.html index dcfc7829c1d7..6533ffcdbf80 100644 --- a/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.KMerge.html +++ b/nightly/core/nautilus_persistence/backend/kmerge_batch/struct.KMerge.html @@ -1,4 +1,4 @@ -KMerge in nautilus_persistence::backend::kmerge_batch - Rust +KMerge in nautilus_persistence::backend::kmerge_batch - Rust
    pub struct KMerge<I, T, C>
    where I: Iterator<Item = IntoIter<T>>,
    { /* private fields */ }

    Implementations§

    source§

    impl<I, T, C> KMerge<I, T, C>
    where I: Iterator<Item = IntoIter<T>>, @@ -623,32 +623,32 @@ Otherwise return self.size_hint(). Read more

    §

    impl<IT> MultiUnzip<()> for IT
    where IT: Iterator<Item = ()>,

    §

    fn multiunzip(self)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA> MultiUnzip<(FromA,)> for IT
    where IT: Iterator<Item = (A,)>, - FromA: Default + Extend<A>,

    §

    fn multiunzip(self) -> (FromA,)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
    where + FromA: Default + Extend<A>,

    §

    fn multiunzip(self) -> (FromA,)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB> MultiUnzip<(FromA, FromB)> for IT
    where IT: Iterator<Item = (A, B)>, FromA: Default + Extend<A>, - FromB: Default + Extend<B>,

    §

    fn multiunzip(self) -> (FromA, FromB)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
    where + FromB: Default + Extend<B>,

    §

    fn multiunzip(self) -> (FromA, FromB)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC> MultiUnzip<(FromA, FromB, FromC)> for IT
    where IT: Iterator<Item = (A, B, C)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, - FromC: Default + Extend<C>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
    where + FromC: Default + Extend<C>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD> MultiUnzip<(FromA, FromB, FromC, FromD)> for IT
    where IT: Iterator<Item = (A, B, C, D)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, - FromD: Default + Extend<D>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
    where + FromD: Default + Extend<D>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE> MultiUnzip<(FromA, FromB, FromC, FromD, FromE)> for IT
    where IT: Iterator<Item = (A, B, C, D, E)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, FromD: Default + Extend<D>, - FromE: Default + Extend<E>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
    where + FromE: Default + Extend<E>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, FromC: Default + Extend<C>, FromD: Default + Extend<D>, FromE: Default + Extend<E>, - FromF: Default + Extend<F>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
    where + FromF: Default + Extend<F>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -656,7 +656,7 @@ FromD: Default + Extend<D>, FromE: Default + Extend<E>, FromF: Default + Extend<F>, - FromG: Default + Extend<G>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
    where + FromG: Default + Extend<G>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -665,7 +665,7 @@ FromE: Default + Extend<E>, FromF: Default + Extend<F>, FromG: Default + Extend<G>, - FromH: Default + Extend<H>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for IT
    where + FromH: Default + Extend<H>,

    §

    fn multiunzip(self) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I)>, FromA: Default + Extend<A>, FromB: Default + Extend<B>, @@ -675,7 +675,7 @@ FromF: Default + Extend<F>, FromG: Default + Extend<G>, FromH: Default + Extend<H>, - FromI: Default + Extend<I>,

    §

    fn multiunzip( + FromI: Default + Extend<I>,

    §

    fn multiunzip( self ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J)>, @@ -702,7 +702,7 @@ FromH: Default + Extend<H>, FromI: Default + Extend<I>, FromJ: Default + Extend<J>, - FromK: Default + Extend<K>,

    §

    fn multiunzip( + FromK: Default + Extend<K>,

    §

    fn multiunzip( self ) -> (FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK)

    Unzip this iterator into multiple collections.
    §

    impl<IT, A, FromA, B, FromB, C, FromC, D, FromD, E, FromE, F, FromF, G, FromG, H, FromH, I, FromI, J, FromJ, K, FromK, L, FromL> MultiUnzip<(FromA, FromB, FromC, FromD, FromE, FromF, FromG, FromH, FromI, FromJ, FromK, FromL)> for IT
    where IT: Iterator<Item = (A, B, C, D, E, F, G, H, I, J, K, L)>, @@ -717,7 +717,7 @@ FromI: Default + Extend<I>, FromJ: Default + Extend<J>, FromK: Default + Extend<K>, - FromL: Default + Extend<L>,

    §

    fn multiunzip( + FromL: Default + Extend<L>,

    source§

    impl<T> Same for T

    §

    type Output = T

    Should always be Self
    source§

    impl<T, U> TryFrom<U> for T
    where U: Into<T>,

    §

    type Error = Infallible

    The type returned in the event of a conversion error.
    source§

    fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

    Performs the conversion.
    source§

    impl<T, U> TryInto<U> for T
    where diff --git a/nightly/core/nautilus_persistence/backend/session/index.html b/nightly/core/nautilus_persistence/backend/session/index.html index 28749fcfd095..88feed41ec46 100644 --- a/nightly/core/nautilus_persistence/backend/session/index.html +++ b/nightly/core/nautilus_persistence/backend/session/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::backend::session - Rust +nautilus_persistence::backend::session - Rust

    Structs§

    Type Aliases§

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/backend/session/struct.DataBackendSession.html b/nightly/core/nautilus_persistence/backend/session/struct.DataBackendSession.html index 4b440e176eb4..d50226b0c3d4 100644 --- a/nightly/core/nautilus_persistence/backend/session/struct.DataBackendSession.html +++ b/nightly/core/nautilus_persistence/backend/session/struct.DataBackendSession.html @@ -1,4 +1,4 @@ -DataBackendSession in nautilus_persistence::backend::session - Rust +DataBackendSession in nautilus_persistence::backend::session - Rust
    pub struct DataBackendSession {
         pub chunk_size: usize,
         pub runtime: Arc<Runtime>,
    @@ -17,7 +17,7 @@
         file_path: &str,
         sql_query: Option<&str>
     ) -> Result<()>
    where - T: DecodeDataFromRecordBatch + Into<Data>,

    Query a file for its records. the caller must specify T to indicate + T: DecodeDataFromRecordBatch + Into<Data>,

    Query a file for its records. the caller must specify T to indicate the kind of data expected from this query.

    table_name: Logical table_name assigned to this file. Queries to this file should address the file by its table name. diff --git a/nightly/core/nautilus_persistence/backend/session/struct.DataQueryResult.html b/nightly/core/nautilus_persistence/backend/session/struct.DataQueryResult.html index acbac4b868fc..0367137b3f83 100644 --- a/nightly/core/nautilus_persistence/backend/session/struct.DataQueryResult.html +++ b/nightly/core/nautilus_persistence/backend/session/struct.DataQueryResult.html @@ -1,15 +1,15 @@ -DataQueryResult in nautilus_persistence::backend::session - Rust

    +DataQueryResult in nautilus_persistence::backend::session - Rust
    pub struct DataQueryResult {
         pub chunk: Option<CVec>,
         pub result: QueryResult,
    -    pub acc: Vec<Data>,
    +    pub acc: Vec<Data>,
         pub size: usize,
    -}

    Fields§

    §chunk: Option<CVec>§result: QueryResult§acc: Vec<Data>§size: usize

    Implementations§

    source§

    impl DataQueryResult

    source

    pub fn new(result: QueryResult, size: usize) -> Self

    source

    pub fn set_chunk(&mut self, data: Vec<Data>) -> CVec

    Set new CVec backed chunk from data

    +}

    Fields§

    §chunk: Option<CVec>§result: QueryResult§acc: Vec<Data>§size: usize

    Implementations§

    source§

    impl DataQueryResult

    source

    pub fn new(result: QueryResult, size: usize) -> Self

    source

    pub fn set_chunk(&mut self, data: Vec<Data>) -> CVec

    Set new CVec backed chunk from data

    It also drops previously allocated chunk

    source

    pub fn drop_chunk(&mut self)

    Chunks generated by iteration must be dropped after use, otherwise it will leak memory. Current chunk is held by the reader, drop if exists and reset the field.

    -

    Trait Implementations§

    source§

    impl Drop for DataQueryResult

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl IntoPy<Py<PyAny>> for DataQueryResult

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Iterator for DataQueryResult

    §

    type Item = Vec<Data>

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn next_chunk<const N: usize>( +

    Trait Implementations§

    source§

    impl Drop for DataQueryResult

    source§

    fn drop(&mut self)

    Executes the destructor for this type. Read more
    source§

    impl IntoPy<Py<PyAny>> for DataQueryResult

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl Iterator for DataQueryResult

    §

    type Item = Vec<Data>

    The type of the elements being iterated over.
    source§

    fn next(&mut self) -> Option<Self::Item>

    Advances the iterator and returns the next value. Read more
    source§

    fn next_chunk<const N: usize>( &mut self ) -> Result<[Self::Item; N], IntoIter<Self::Item, N>>
    where Self: Sized,

    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    1.0.0 · source§

    fn size_hint(&self) -> (usize, Option<usize>)

    Returns the bounds on the remaining length of the iterator. Read more
    1.0.0 · source§

    fn count(self) -> usize
    where diff --git a/nightly/core/nautilus_persistence/backend/session/struct.TsInitComparator.html b/nightly/core/nautilus_persistence/backend/session/struct.TsInitComparator.html index 6a21ddf7b666..dfdb635b6374 100644 --- a/nightly/core/nautilus_persistence/backend/session/struct.TsInitComparator.html +++ b/nightly/core/nautilus_persistence/backend/session/struct.TsInitComparator.html @@ -1,9 +1,9 @@ -TsInitComparator in nautilus_persistence::backend::session - Rust -
    pub struct TsInitComparator;

    Trait Implementations§

    source§

    impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
    where - I: Iterator<Item = IntoIter<Data>>,

    source§

    fn compare( +TsInitComparator in nautilus_persistence::backend::session - Rust +
    pub struct TsInitComparator;

    Trait Implementations§

    source§

    impl<I> Compare<ElementBatchIter<I, Data>> for TsInitComparator
    where + I: Iterator<Item = IntoIter<Data>>,

    source§

    fn compare( &self, - l: &ElementBatchIter<I, Data>, - r: &ElementBatchIter<I, Data> + l: &ElementBatchIter<I, Data>, + r: &ElementBatchIter<I, Data> ) -> Ordering

    Compares two values, returning Less, Equal, or Greater if l is less than, equal to, or greater than r, respectively.
    §

    fn compares_lt(&self, l: &L, r: &R) -> bool

    Checks if l is less than r.
    §

    fn compares_le(&self, l: &L, r: &R) -> bool

    Checks if l is less than or equal to r.
    §

    fn compares_ge(&self, l: &L, r: &R) -> bool

    Checks if l is greater than or equal to r.
    §

    fn compares_gt(&self, l: &L, r: &R) -> bool

    Checks if l is greater than r.
    §

    fn compares_eq(&self, l: &L, r: &R) -> bool

    Checks if l is equal to r.
    §

    fn compares_ne(&self, l: &L, r: &R) -> bool

    Checks if l is not equal to r.
    §

    fn borrowing(self) -> Borrowing<Self, L, R>
    where Self: Sized,

    Borrows the comparator’s parameters before comparing them. Read more
    §

    fn rev(self) -> Rev<Self>
    where diff --git a/nightly/core/nautilus_persistence/backend/session/type.QueryResult.html b/nightly/core/nautilus_persistence/backend/session/type.QueryResult.html index 25ddc0f3e345..119c35b96602 100644 --- a/nightly/core/nautilus_persistence/backend/session/type.QueryResult.html +++ b/nightly/core/nautilus_persistence/backend/session/type.QueryResult.html @@ -1,2 +1,2 @@ -QueryResult in nautilus_persistence::backend::session - Rust -
    pub type QueryResult = KMerge<EagerStream<IntoIter<Data>>, Data, TsInitComparator>;

    Aliased Type§

    struct QueryResult { /* private fields */ }
    \ No newline at end of file +QueryResult in nautilus_persistence::backend::session - Rust +
    pub type QueryResult = KMerge<EagerStream<IntoIter<Data>>, Data, TsInitComparator>;

    Aliased Type§

    struct QueryResult { /* private fields */ }
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/database/enum.DatabaseEngine.html b/nightly/core/nautilus_persistence/db/database/enum.DatabaseEngine.html index 0406906a53ef..ac569d56ea54 100644 --- a/nightly/core/nautilus_persistence/db/database/enum.DatabaseEngine.html +++ b/nightly/core/nautilus_persistence/db/database/enum.DatabaseEngine.html @@ -1,4 +1,4 @@ -DatabaseEngine in nautilus_persistence::db::database - Rust +DatabaseEngine in nautilus_persistence::db::database - Rust
    pub enum DatabaseEngine {
         POSTGRES,
         SQLITE,
    diff --git a/nightly/core/nautilus_persistence/db/database/fn.init_db_schema.html b/nightly/core/nautilus_persistence/db/database/fn.init_db_schema.html
    index 95460a7d1aeb..404696e39fb8 100644
    --- a/nightly/core/nautilus_persistence/db/database/fn.init_db_schema.html
    +++ b/nightly/core/nautilus_persistence/db/database/fn.init_db_schema.html
    @@ -1,2 +1,2 @@
    -init_db_schema in nautilus_persistence::db::database - Rust
    +init_db_schema in nautilus_persistence::db::database - Rust
         
    pub async fn init_db_schema(db: &Database, schema_dir: &str) -> Result<()>
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/database/fn.setup_test_database.html b/nightly/core/nautilus_persistence/db/database/fn.setup_test_database.html index c066e0bad7b2..548779fa46cf 100644 --- a/nightly/core/nautilus_persistence/db/database/fn.setup_test_database.html +++ b/nightly/core/nautilus_persistence/db/database/fn.setup_test_database.html @@ -1,2 +1,2 @@ -setup_test_database in nautilus_persistence::db::database - Rust +setup_test_database in nautilus_persistence::db::database - Rust
    pub async fn setup_test_database() -> Database
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/database/index.html b/nightly/core/nautilus_persistence/db/database/index.html index 803cb8132d8d..06f2cbd7dbb0 100644 --- a/nightly/core/nautilus_persistence/db/database/index.html +++ b/nightly/core/nautilus_persistence/db/database/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::db::database - Rust +nautilus_persistence::db::database - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/database/struct.Database.html b/nightly/core/nautilus_persistence/db/database/struct.Database.html index b9e7d41959a0..f3a35909ef6b 100644 --- a/nightly/core/nautilus_persistence/db/database/struct.Database.html +++ b/nightly/core/nautilus_persistence/db/database/struct.Database.html @@ -1,4 +1,4 @@ -Database in nautilus_persistence::db::database - Rust +Database in nautilus_persistence::db::database - Rust
    pub struct Database {
         pub pool: Pool<Any>,
     }

    Fields§

    §pool: Pool<Any>

    Implementations§

    source§

    impl Database

    source

    pub async fn new( diff --git a/nightly/core/nautilus_persistence/db/index.html b/nightly/core/nautilus_persistence/db/index.html index 3eac41a05e71..f8831b112eaf 100644 --- a/nightly/core/nautilus_persistence/db/index.html +++ b/nightly/core/nautilus_persistence/db/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::db - Rust +nautilus_persistence::db - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/schema/index.html b/nightly/core/nautilus_persistence/db/schema/index.html index 86817a68f6cb..775d76dc24c4 100644 --- a/nightly/core/nautilus_persistence/db/schema/index.html +++ b/nightly/core/nautilus_persistence/db/schema/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::db::schema - Rust +nautilus_persistence::db::schema - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/schema/struct.GeneralItem.html b/nightly/core/nautilus_persistence/db/schema/struct.GeneralItem.html index 07fce7b4f885..07578de77e44 100644 --- a/nightly/core/nautilus_persistence/db/schema/struct.GeneralItem.html +++ b/nightly/core/nautilus_persistence/db/schema/struct.GeneralItem.html @@ -1,4 +1,4 @@ -GeneralItem in nautilus_persistence::db::schema - Rust +GeneralItem in nautilus_persistence::db::schema - Rust
    pub struct GeneralItem {
         pub key: String,
         pub value: String,
    diff --git a/nightly/core/nautilus_persistence/db/sql/index.html b/nightly/core/nautilus_persistence/db/sql/index.html
    index f9eef8999f32..8141160a1770 100644
    --- a/nightly/core/nautilus_persistence/db/sql/index.html
    +++ b/nightly/core/nautilus_persistence/db/sql/index.html
    @@ -1,2 +1,2 @@
    -nautilus_persistence::db::sql - Rust
    +nautilus_persistence::db::sql - Rust
         
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/db/sql/struct.SqlCacheDatabase.html b/nightly/core/nautilus_persistence/db/sql/struct.SqlCacheDatabase.html index bc0a3322a5ad..e67690a4d516 100644 --- a/nightly/core/nautilus_persistence/db/sql/struct.SqlCacheDatabase.html +++ b/nightly/core/nautilus_persistence/db/sql/struct.SqlCacheDatabase.html @@ -1,5 +1,5 @@ -SqlCacheDatabase in nautilus_persistence::db::sql - Rust -
    pub struct SqlCacheDatabase { /* private fields */ }

    Implementations§

    source§

    impl SqlCacheDatabase

    source

    pub fn new(trader_id: TraderId, database: Database) -> Self

    source

    pub fn key_trader(&self) -> String

    source

    pub fn key_general(&self) -> String

    source

    pub async fn add(&self, key: String, value: String) -> Result<u64, Error>

    source

    pub async fn get(&self, key: String) -> Vec<GeneralItem>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +SqlCacheDatabase in nautilus_persistence::db::sql - Rust +
    pub struct SqlCacheDatabase { /* private fields */ }

    Implementations§

    source§

    impl SqlCacheDatabase

    source

    pub fn new(trader_id: TraderId, database: Database) -> Self

    source

    pub fn key_trader(&self) -> String

    source

    pub fn key_general(&self) -> String

    source

    pub async fn add(&self, key: String, value: String) -> Result<u64, Error>

    source

    pub async fn get(&self, key: String) -> Vec<GeneralItem>

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_persistence/index.html b/nightly/core/nautilus_persistence/index.html index 38312708136c..7ce594193b6c 100644 --- a/nightly/core/nautilus_persistence/index.html +++ b/nightly/core/nautilus_persistence/index.html @@ -1,3 +1,3 @@ -nautilus_persistence - Rust
    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a NautilusDataType

    §

    type Holder = Option<PyRef<'py, NautilusDataType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut NautilusDataType

    §

    type Holder = Option<PyRefMut<'py, NautilusDataType>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyTypeInfo for NautilusDataType

    §

    type AsRefTarget = PyCell<NautilusDataType>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "NautilusDataType"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.
    source§

    impl Copy for NautilusDataType

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_persistence/python/backend/session/index.html b/nightly/core/nautilus_persistence/python/backend/session/index.html index f4a5531562cb..385ec70a6dfe 100644 --- a/nightly/core/nautilus_persistence/python/backend/session/index.html +++ b/nightly/core/nautilus_persistence/python/backend/session/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::backend::session - Rust +nautilus_persistence::python::backend::session - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/backend/transformer/index.html b/nightly/core/nautilus_persistence/python/backend/transformer/index.html index b0e80e36f760..bd4ea05d6b55 100644 --- a/nightly/core/nautilus_persistence/python/backend/transformer/index.html +++ b/nightly/core/nautilus_persistence/python/backend/transformer/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::backend::transformer - Rust +nautilus_persistence::python::backend::transformer - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/backend/transformer/struct.DataTransformer.html b/nightly/core/nautilus_persistence/python/backend/transformer/struct.DataTransformer.html index 778da1df0942..e2b0d355722f 100644 --- a/nightly/core/nautilus_persistence/python/backend/transformer/struct.DataTransformer.html +++ b/nightly/core/nautilus_persistence/python/backend/transformer/struct.DataTransformer.html @@ -1,4 +1,4 @@ -DataTransformer in nautilus_persistence::python::backend::transformer - Rust +DataTransformer in nautilus_persistence::python::backend::transformer - Rust
    pub struct DataTransformer {}

    Implementations§

    source§

    impl DataTransformer

    source

    pub fn get_schema_map(py: Python<'_>, cls: &PyType) -> PyResult<Py<PyDict>>

    source

    pub fn pyobjects_to_record_batch_bytes( py: Python<'_>, data: Vec<PyObject> @@ -6,21 +6,21 @@ to pa.ipc.open_stream to create a RecordBatchReader.

    source

    pub fn pyo3_order_book_deltas_to_record_batch_bytes( py: Python<'_>, - data: Vec<OrderBookDelta> + data: Vec<OrderBookDelta> ) -> PyResult<Py<PyBytes>>

    source

    pub fn pyo3_order_book_depth10_to_record_batch_bytes( py: Python<'_>, - data: Vec<OrderBookDepth10> + data: Vec<OrderBookDepth10> ) -> PyResult<Py<PyBytes>>

    source

    pub fn pyo3_quote_ticks_to_record_batch_bytes( py: Python<'_>, - data: Vec<QuoteTick> + data: Vec<QuoteTick> ) -> PyResult<Py<PyBytes>>

    source

    pub fn pyo3_trade_ticks_to_record_batch_bytes( py: Python<'_>, - data: Vec<TradeTick> + data: Vec<TradeTick> ) -> PyResult<Py<PyBytes>>

    source

    pub fn pyo3_bars_to_record_batch_bytes( py: Python<'_>, - data: Vec<Bar> + data: Vec<Bar> ) -> PyResult<Py<PyBytes>>

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for DataTransformer

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for DataTransformer

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for DataTransformer

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<DataTransformer>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DataTransformer

    §

    type Holder = Option<PyRef<'py, DataTransformer>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DataTransformer

    §

    type Holder = Option<PyRefMut<'py, DataTransformer>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DataTransformer> for PyClassImplCollector<DataTransformer>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DataTransformer

    §

    type AsRefTarget = PyCell<DataTransformer>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DataTransformer"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a DataTransformer

    §

    type Holder = Option<PyRef<'py, DataTransformer>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut DataTransformer

    §

    type Holder = Option<PyRefMut<'py, DataTransformer>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<DataTransformer> for PyClassImplCollector<DataTransformer>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for DataTransformer

    §

    type AsRefTarget = PyCell<DataTransformer>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "DataTransformer"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_persistence/python/fn.persistence.html b/nightly/core/nautilus_persistence/python/fn.persistence.html index 475f1487ecba..c2eac5af1ce4 100644 --- a/nightly/core/nautilus_persistence/python/fn.persistence.html +++ b/nightly/core/nautilus_persistence/python/fn.persistence.html @@ -1,3 +1,3 @@ -persistence in nautilus_persistence::python - Rust +persistence in nautilus_persistence::python - Rust
    pub fn persistence(_: Python<'_>, m: &PyModule) -> PyResult<()>
    Expand description

    Loaded as nautilus_pyo3.persistence

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/index.html b/nightly/core/nautilus_persistence/python/index.html index 4ee1659486a0..1be008de72e1 100644 --- a/nightly/core/nautilus_persistence/python/index.html +++ b/nightly/core/nautilus_persistence/python/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python - Rust +nautilus_persistence::python - Rust

    Modules§

    Functions§

    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/bar/index.html b/nightly/core/nautilus_persistence/python/wranglers/bar/index.html index 47578246ab71..dfa90ac41026 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/bar/index.html +++ b/nightly/core/nautilus_persistence/python/wranglers/bar/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::wranglers::bar - Rust +nautilus_persistence::python::wranglers::bar - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/bar/struct.BarDataWrangler.html b/nightly/core/nautilus_persistence/python/wranglers/bar/struct.BarDataWrangler.html index 70c681525b98..e5c31562d5a7 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/bar/struct.BarDataWrangler.html +++ b/nightly/core/nautilus_persistence/python/wranglers/bar/struct.BarDataWrangler.html @@ -1,6 +1,6 @@ -BarDataWrangler in nautilus_persistence::python::wranglers::bar - Rust +BarDataWrangler in nautilus_persistence::python::wranglers::bar - Rust
    pub struct BarDataWrangler { /* private fields */ }

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for BarDataWrangler

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for BarDataWrangler

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for BarDataWrangler

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<BarDataWrangler>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BarDataWrangler> for PyClassImplCollector<BarDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BarDataWrangler

    §

    type Holder = Option<PyRef<'py, BarDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BarDataWrangler

    §

    type Holder = Option<PyRefMut<'py, BarDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BarDataWrangler> for PyClassImplCollector<BarDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BarDataWrangler

    §

    type AsRefTarget = PyCell<BarDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BarDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<BarDataWrangler> for PyClassImplCollector<BarDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a BarDataWrangler

    §

    type Holder = Option<PyRef<'py, BarDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut BarDataWrangler

    §

    type Holder = Option<PyRefMut<'py, BarDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<BarDataWrangler> for PyClassImplCollector<BarDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for BarDataWrangler

    §

    type AsRefTarget = PyCell<BarDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "BarDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_persistence/python/wranglers/delta/index.html b/nightly/core/nautilus_persistence/python/wranglers/delta/index.html index 04f55c7d4900..64d7ca783f41 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/delta/index.html +++ b/nightly/core/nautilus_persistence/python/wranglers/delta/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::wranglers::delta - Rust +nautilus_persistence::python::wranglers::delta - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/delta/struct.OrderBookDeltaDataWrangler.html b/nightly/core/nautilus_persistence/python/wranglers/delta/struct.OrderBookDeltaDataWrangler.html index 04eddda08b5b..a2a186fe78bb 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/delta/struct.OrderBookDeltaDataWrangler.html +++ b/nightly/core/nautilus_persistence/python/wranglers/delta/struct.OrderBookDeltaDataWrangler.html @@ -1,6 +1,6 @@ -OrderBookDeltaDataWrangler in nautilus_persistence::python::wranglers::delta - Rust +OrderBookDeltaDataWrangler in nautilus_persistence::python::wranglers::delta - Rust
    pub struct OrderBookDeltaDataWrangler { /* private fields */ }

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for OrderBookDeltaDataWrangler

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for OrderBookDeltaDataWrangler

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for OrderBookDeltaDataWrangler

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<OrderBookDeltaDataWrangler>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDeltaDataWrangler> for PyClassImplCollector<OrderBookDeltaDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDeltaDataWrangler

    §

    type Holder = Option<PyRef<'py, OrderBookDeltaDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDeltaDataWrangler

    §

    type Holder = Option<PyRefMut<'py, OrderBookDeltaDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDeltaDataWrangler> for PyClassImplCollector<OrderBookDeltaDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDeltaDataWrangler

    §

    type AsRefTarget = PyCell<OrderBookDeltaDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDeltaDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<OrderBookDeltaDataWrangler> for PyClassImplCollector<OrderBookDeltaDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a OrderBookDeltaDataWrangler

    §

    type Holder = Option<PyRef<'py, OrderBookDeltaDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut OrderBookDeltaDataWrangler

    §

    type Holder = Option<PyRefMut<'py, OrderBookDeltaDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<OrderBookDeltaDataWrangler> for PyClassImplCollector<OrderBookDeltaDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for OrderBookDeltaDataWrangler

    §

    type AsRefTarget = PyCell<OrderBookDeltaDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "OrderBookDeltaDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_persistence/python/wranglers/index.html b/nightly/core/nautilus_persistence/python/wranglers/index.html index f780a3835108..371bd453422e 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/index.html +++ b/nightly/core/nautilus_persistence/python/wranglers/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::wranglers - Rust +nautilus_persistence::python::wranglers - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/quote/index.html b/nightly/core/nautilus_persistence/python/wranglers/quote/index.html index 42ee382b38c6..2558a5822224 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/quote/index.html +++ b/nightly/core/nautilus_persistence/python/wranglers/quote/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::wranglers::quote - Rust +nautilus_persistence::python::wranglers::quote - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/quote/struct.QuoteTickDataWrangler.html b/nightly/core/nautilus_persistence/python/wranglers/quote/struct.QuoteTickDataWrangler.html index 5e95f5ed48f6..9e24c2d0f5b8 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/quote/struct.QuoteTickDataWrangler.html +++ b/nightly/core/nautilus_persistence/python/wranglers/quote/struct.QuoteTickDataWrangler.html @@ -1,4 +1,4 @@ -QuoteTickDataWrangler in nautilus_persistence::python::wranglers::quote - Rust +QuoteTickDataWrangler in nautilus_persistence::python::wranglers::quote - Rust
    pub struct QuoteTickDataWrangler { /* private fields */ }

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for QuoteTickDataWrangler

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for QuoteTickDataWrangler

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for QuoteTickDataWrangler

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<QuoteTickDataWrangler>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare #[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<QuoteTickDataWrangler> for PyClassImplCollector<QuoteTickDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a QuoteTickDataWrangler

    §

    type Holder = Option<PyRef<'py, QuoteTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut QuoteTickDataWrangler

    §

    type Holder = Option<PyRefMut<'py, QuoteTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<QuoteTickDataWrangler> for PyClassImplCollector<QuoteTickDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for QuoteTickDataWrangler

    §

    type AsRefTarget = PyCell<QuoteTickDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "QuoteTickDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where diff --git a/nightly/core/nautilus_persistence/python/wranglers/trade/index.html b/nightly/core/nautilus_persistence/python/wranglers/trade/index.html index 4332345e521b..9481385652fe 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/trade/index.html +++ b/nightly/core/nautilus_persistence/python/wranglers/trade/index.html @@ -1,2 +1,2 @@ -nautilus_persistence::python::wranglers::trade - Rust +nautilus_persistence::python::wranglers::trade - Rust
    \ No newline at end of file diff --git a/nightly/core/nautilus_persistence/python/wranglers/trade/struct.TradeTickDataWrangler.html b/nightly/core/nautilus_persistence/python/wranglers/trade/struct.TradeTickDataWrangler.html index 0f1128b80fe2..560dc53eefb9 100644 --- a/nightly/core/nautilus_persistence/python/wranglers/trade/struct.TradeTickDataWrangler.html +++ b/nightly/core/nautilus_persistence/python/wranglers/trade/struct.TradeTickDataWrangler.html @@ -1,6 +1,6 @@ -TradeTickDataWrangler in nautilus_persistence::python::wranglers::trade - Rust +TradeTickDataWrangler in nautilus_persistence::python::wranglers::trade - Rust
    pub struct TradeTickDataWrangler { /* private fields */ }

    Trait Implementations§

    source§

    impl IntoPy<Py<PyAny>> for TradeTickDataWrangler

    source§

    fn into_py(self, py: Python<'_>) -> PyObject

    Performs the conversion.
    source§

    impl PyClass for TradeTickDataWrangler

    §

    type Frozen = False

    Whether the pyclass is frozen. Read more
    source§

    impl PyClassImpl for TradeTickDataWrangler

    source§

    const IS_BASETYPE: bool = false

    #[pyclass(subclass)]
    source§

    const IS_SUBCLASS: bool = false

    #[pyclass(extends=…)]
    source§

    const IS_MAPPING: bool = false

    #[pyclass(mapping)]
    source§

    const IS_SEQUENCE: bool = false

    #[pyclass(sequence)]
    §

    type BaseType = PyAny

    Base class
    §

    type ThreadChecker = SendablePyClass<TradeTickDataWrangler>

    This handles following two situations: Read more
    §

    type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild

    Immutable or mutable
    §

    type Dict = PyClassDummySlot

    Specify this class has #[pyclass(dict)] or not.
    §

    type WeakRef = PyClassDummySlot

    Specify this class has #[pyclass(weakref)] or not.
    §

    type BaseNativeType = PyAny

    The closest native ancestor. This is PyAny by default, and when you declare -#[pyclass(extends=PyDict)], it’s PyDict.
    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradeTickDataWrangler> for PyClassImplCollector<TradeTickDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradeTickDataWrangler

    §

    type Holder = Option<PyRef<'py, TradeTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradeTickDataWrangler

    §

    type Holder = Option<PyRefMut<'py, TradeTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradeTickDataWrangler> for PyClassImplCollector<TradeTickDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradeTickDataWrangler

    §

    type AsRefTarget = PyCell<TradeTickDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradeTickDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where +#[pyclass(extends=PyDict)], it’s PyDict.

    source§

    fn items_iter() -> PyClassItemsIter

    source§

    fn doc(py: Python<'_>) -> PyResult<&'static CStr>

    Rendered class doc
    source§

    fn lazy_type_object() -> &'static LazyTypeObject<Self>

    §

    fn dict_offset() -> Option<isize>

    §

    fn weaklist_offset() -> Option<isize>

    source§

    impl PyClassNewTextSignature<TradeTickDataWrangler> for PyClassImplCollector<TradeTickDataWrangler>

    source§

    fn new_text_signature(self) -> Option<&'static str>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a TradeTickDataWrangler

    §

    type Holder = Option<PyRef<'py, TradeTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut TradeTickDataWrangler

    §

    type Holder = Option<PyRefMut<'py, TradeTickDataWrangler>>

    source§

    fn extract(obj: &'py PyAny, holder: &'a mut Self::Holder) -> PyResult<Self>

    source§

    impl PyMethods<TradeTickDataWrangler> for PyClassImplCollector<TradeTickDataWrangler>

    source§

    fn py_methods(self) -> &'static PyClassItems

    source§

    impl PyTypeInfo for TradeTickDataWrangler

    §

    type AsRefTarget = PyCell<TradeTickDataWrangler>

    Utility type to make Py::as_ref work.
    source§

    const NAME: &'static str = "TradeTickDataWrangler"

    Class name.
    source§

    const MODULE: Option<&'static str> = ::core::option::Option::None

    Module name, if any.
    source§

    fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject

    Returns the PyTypeObject instance for this type.
    §

    fn type_object(py: Python<'_>) -> &PyType

    Returns the safe abstraction over the type object.
    §

    fn is_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type or a subclass of this type.
    §

    fn is_exact_type_of(object: &PyAny) -> bool

    Checks if object is an instance of this type.

    Auto Trait Implementations§

    Blanket Implementations§

    source§

    impl<T> Any for T
    where T: 'static + ?Sized,

    source§

    fn type_id(&self) -> TypeId

    Gets the TypeId of self. Read more
    source§

    impl<T> Borrow<T> for T
    where T: ?Sized,

    source§

    fn borrow(&self) -> &T

    Immutably borrows from an owned value. Read more
    source§

    impl<T> BorrowMut<T> for T
    where T: ?Sized,

    source§

    fn borrow_mut(&mut self) -> &mut T

    Mutably borrows from an owned value. Read more
    source§

    impl<T> From<T> for T

    source§

    fn from(t: T) -> T

    Returns the argument unchanged.

    diff --git a/nightly/core/nautilus_pyo3/all.html b/nightly/core/nautilus_pyo3/all.html index eb4cb9e51976..8ce459a74d92 100644 --- a/nightly/core/nautilus_pyo3/all.html +++ b/nightly/core/nautilus_pyo3/all.html @@ -1,2 +1,2 @@ -List of all items in this crate +List of all items in this crate

    List of all items

    \ No newline at end of file diff --git a/nightly/core/nautilus_pyo3/index.html b/nightly/core/nautilus_pyo3/index.html index e32013054bea..b0397b0b8c9f 100644 --- a/nightly/core/nautilus_pyo3/index.html +++ b/nightly/core/nautilus_pyo3/index.html @@ -1,3 +1,3 @@ -nautilus_pyo3 - Rust