tastytrade 0.2.2

Library for trading through tastytrade's API
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::streaming::account_streaming::AccountEvent;

/// Represents events originating from different data feeds.
#[derive(Debug)]
#[allow(dead_code)]
pub enum TastyEvent {
    /// Represents an event from the quote feed.
    QuoteFeed(crate::types::dxfeed::Event),
    /// Represents an event from the account feed.
    AccountFeed(AccountEvent),
}