truefix_ig_client/lib.rs
1//! Native, typed client for the IG REST and Lightstreamer trading APIs.
2//!
3//! The client defaults to IG's demo environment. Selecting production requires an explicit
4//! acknowledgement because position and order operations can affect live funds.
5#![cfg_attr(
6 not(test),
7 deny(
8 clippy::unwrap_used,
9 clippy::expect_used,
10 clippy::panic,
11 clippy::indexing_slicing
12 )
13)]
14
15pub mod client;
16pub mod config;
17pub mod error;
18pub mod streaming;
19pub mod types;
20
21pub use client::IgClient;
22pub use config::{
23 AuthenticationVersion, ClientConfig, Credentials, Environment, LiveTradingConfirmation,
24};
25pub use error::{IgError, IgResult};
26pub use streaming::IgStreamingClient;