trading-ig 0.1.0

Async Rust client for the IG Markets REST and Lightstreamer streaming APIs
Documentation
//! Async Rust client for the IG Markets REST and Lightstreamer streaming APIs.
//!
//! See the project [`README`] and [`docs/API_CATALOG.md`] for an overview of
//! the surface area being ported.
//!
//! [`README`]: https://github.com/ig-python/trading-ig-rust
//! [`docs/API_CATALOG.md`]: https://github.com/ig-python/trading-ig-rust/blob/main/docs/API_CATALOG.md

#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod accounts;
pub mod client;
pub mod client_sentiment;
pub mod config;
#[cfg(feature = "polars")]
#[cfg_attr(docsrs, doc(cfg(feature = "polars")))]
pub mod dataframe;
pub mod dealing;
pub mod error;
pub mod history;
pub mod markets;
pub mod models;
pub mod operations;
pub mod prices;
pub mod repeat_dealing;
pub mod session;
#[cfg(feature = "stream")]
#[cfg_attr(docsrs, doc(cfg(feature = "stream")))]
pub mod streaming;
pub mod time;
pub mod watchlists;

pub use client::{IgClient, IgClientBuilder};
pub use config::{Environment, IgConfig};
pub use error::{ApiError, Error, Result};
pub use session::{Credentials, SessionInfo};