Skip to main content

Module plugin

Module plugin 

Source
Expand description

Live-node plug-in support.

The public exports mirror nautilus_plugin::bridge so existing nautilus_live::plugin::* imports keep working. The crate-local runtime pieces below load configured plug-ins, build node adapters, and manage plug-in controller lifecycle state.

Modules§

actor
Host-side adapter that wraps a plug-in actor cdylib as a DataActor.
configured
Safe wrappers for config-driven plug-in registration and adapter construction.
controller
Host-side adapter that owns a plug-in controller instance.
custom_data
Host-side custom-data manifest walk.
host
Host-side HostVTable that routes plug-in callbacks through live adapters.
registry
Per-instance opaque context attached to every plug-in strategy or actor.
strategy
Host-side adapter that wraps a plug-in strategy cdylib as a Strategy.

Structs§

CancelAllOrdersCommand
Cancel-all-orders command. Mirrors the arguments to Strategy::cancel_all_orders.
CancelAllOrdersHandle
Boundary-owned wrapper that lets CancelAllOrdersCommand cross the cdylib FFI boundary by reference.
CancelOrderCommand
Cancel-order command. Mirrors the arguments to Strategy::cancel_order.
CancelOrderHandle
Boundary-owned wrapper that lets CancelOrderCommand cross the cdylib FFI boundary by reference.
CancelOrdersCommand
Cancel-orders (batched) command. Mirrors the arguments to Strategy::cancel_orders.
CancelOrdersHandle
Boundary-owned wrapper that lets CancelOrdersCommand cross the cdylib FFI boundary by reference.
CloseAllPositionsCommand
Close-all-positions command. Mirrors the arguments to Strategy::close_all_positions.
CloseAllPositionsHandle
Boundary-owned wrapper that lets CloseAllPositionsCommand cross the cdylib FFI boundary by reference.
ClosePositionCommand
Close-position command. Mirrors the arguments to Strategy::close_position.
ClosePositionHandle
Boundary-owned wrapper that lets ClosePositionCommand cross the cdylib FFI boundary by reference.
ConfiguredControllerEntry
Controller entry copied from a loaded manifest.
HostContextInner
Inner payload behind the opaque *const HostContext the host hands every plug-in instance.
ModifyOrderCommand
Modify-order command. Mirrors the arguments to Strategy::modify_order.
ModifyOrderHandle
Boundary-owned wrapper that lets ModifyOrderCommand cross the cdylib FFI boundary by reference.
PluginActorAdapter
Adapts a plug-in actor (vtable + handle from a cdylib) into a host-side DataActor the live node can register and dispatch into.
PluginControllerAdapter
Adapts a plug-in controller (vtable + handle from a cdylib) into a host-owned runtime component.
PluginCustomDataValue
Host-side trait-object adapter for a plug-in custom-data value.
PluginStrategyAdapter
Adapts a plug-in strategy (vtable + handle from a cdylib) into a host-side Strategy the live node can register and route through the production cache, risk, and event pipeline.
QueryAccountCommand
Query-account command. Mirrors the arguments to Strategy::query_account.
QueryAccountHandle
Boundary-owned wrapper that lets QueryAccountCommand cross the cdylib FFI boundary by reference.
QueryOrderCommand
Query-order command. Mirrors the arguments to Strategy::query_order.
QueryOrderHandle
Boundary-owned wrapper that lets QueryOrderCommand cross the cdylib FFI boundary by reference.
SubmitOrderCommand
Submit-order command. Mirrors the arguments to Strategy::submit_order.
SubmitOrderHandle
Boundary-owned wrapper that lets SubmitOrderCommand cross the cdylib FFI boundary by reference.
SubmitOrderListCommand
Submit-order-list command. Mirrors the arguments to Strategy::submit_order_list.
SubmitOrderListHandle
Boundary-owned wrapper that lets SubmitOrderListCommand cross the cdylib FFI boundary by reference.

Enums§

ConfiguredPluginEntry
Config-resolved plug-in component entry.

Functions§

configured_entry
Resolves an actor, strategy, or controller entry from a loaded manifest by type name.
controller_host_vtable
Returns the process-wide ControllerHostVTable for plug-in controllers.
host_vtable
Returns the process-wide HostVTable configured for the live node.
plugin_loader
Returns a PluginLoader pre-bound to the host vtable from host_vtable.
register_custom_data_from_manifest
Walks a ValidatedPluginManifest and registers a JSON deserializer for every custom-data type the plug-in publishes.
register_manifest_custom_data
Registers every custom data type declared by a loaded manifest.