tradier 0.1.0

This project involves the development of a Rust library for managing trades and market data using the Tradier broker API. The main objective is to provide an efficient and secure interface for executing trades, retrieving real-time quotes, managing portfolios, and accessing historical market data. The library focuses on leveraging Rust's performance and concurrency advantages, enabling integration into high-frequency trading applications and data-intensive financial processing.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/******************************************************************************
   Author: Joaquín Béjar García
   Email: jb@taunais.com
   Date: 1/8/24
******************************************************************************/

pub(crate) const TRADIER_API_BASE_URL: &str = "https://api.tradier.com";

pub(crate) const TRADIER_WS_BASE_URL: &str = "wss://ws.tradier.com";

pub(crate) const TRADIER_STREAM_HTTP_BASE_URL: &str = "https://stream.tradier.com";

pub(crate) const TRADIER_STREAM_EVENTS_PATH: &str = "/v1/markets/events";

pub(crate) const TRADIER_SESSION_TIMEOUT: i64 = 5;