1pub mod actions;
2pub mod algorithm;
3pub mod allocations;
4pub mod cex;
5pub mod commands;
6pub mod conditions;
7pub mod error;
9pub mod examples;
10pub mod market_data;
11pub mod portfolios;
12pub mod preferences;
13pub mod resolveable;
14pub mod resolved_context;
15pub mod signal;
16pub mod signal_context;
17pub mod strategy_context;
18pub mod util;
19pub mod values;
20
21pub mod prelude {
22 pub use crate::{
23 actions::recoverable_action::{ErrorCause, ErrorResponse, RecoveryPolicy},
24 algorithm::Algorithm,
25 allocations::allocation_factory::AllocationFactory,
26 cex::{
27 asset_id::AssetId,
28 cex_id::CexId,
29 cex_preferences::{CexPreferences, OnDifferent, Rounding},
30 order_activation::OrderActivation,
31 order_constraint::OrderConstraint,
32 order_price_basis::OrderPriceBasis,
33 order_pricing::OrderPricing,
34 order_quantity::OrderQuantity,
35 order_request::OrderRequest,
36 order_response::OrderResponse,
37 order_side::OrderSide,
38 order_status::OrderStatus,
39 order_tag::OrderTag,
40 order_time_in_force::OrderTimeInForce,
41 order_trigger_direction::OrderTriggerDirection,
42 order_trigger_mode::OrderTriggerMode,
43 orders::{
44 single::{SingleOrder, SingleOrderRaw},
48 },
49 },
50 commands::command::Command,
51 portfolios::portfolio_factory::PortfolioFactory,
52 preferences::Preferences,
53 signal::{key::SignalKey, signals::Signals, value::SignalValue},
54 signal_context::SignalContext,
55 strategy_context::StrategyContext,
56 };
57
58 pub use rust_decimal::RoundingStrategy;
59
60 pub use traitreg;
61 pub use traitreg::register as register_algorithm;
62}