Skip to main content

Crate redfolder

Crate redfolder 

Source
Expand description

§redfolder

Async economic calendar client and automated trading blackout engine for algorithmic traders and prop firms.

redfolder monitors high-impact macroeconomic releases (ForexFactory / FairEconomy calendar) and calculates dynamic trading blackout windows, protecting algorithmic bots and prop firm accounts against sudden spread spikes and slippage.

Re-exports§

pub use calendar::CacheMetadata;
pub use calendar::CachedCalendarData;
pub use calendar::CalendarClient;
pub use calendar::RawCalendarEvent;
pub use calendar::CALENDAR_URL;
pub use calendar::DEFAULT_CACHE_FILENAME;
pub use config::RedFolderConfig;
pub use config::RedFolderConfigBuilder;
pub use curfew::next_weekend_window;
pub use curfew::parse_time;
pub use curfew::weekend_window_at;
pub use curfew::weekend_window_for_mode;
pub use curfew::weekend_window_title;
pub use curfew::weekend_window_title_for_mode;
pub use curfew::WeekendMode;
pub use engine::current_window_for_config;
pub use engine::event_matches_config;
pub use engine::event_matches_economic_event;
pub use engine::is_blackout_for_config;
pub use engine::BlackoutEngine;
pub use error::RedFolderError;
pub use error::Result;
pub use events::EventListener;
pub use events::RedFolderEvent;
pub use service::RedFolderService;
pub use types::BlackoutNotification;
pub use types::BlackoutWindow;
pub use types::Currency;
pub use types::CustomEventKind;
pub use types::EconomicEvent;
pub use types::EventTiming;
pub use types::FailSafeMode;
pub use types::Impact;
pub use types::WindowEvent;

Modules§

calendar
config
curfew
engine
error
events
prelude
Common prelude items for quick import.
service
types