truefix_ig_client/lib.rs
1//! Native, typed client for the IG REST trading API.
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 types;
19
20pub use client::IgClient;
21pub use config::{
22 AuthenticationVersion, ClientConfig, Credentials, Environment, LiveTradingConfirmation,
23};
24pub use error::{IgError, IgResult};