use crate::engine::Processor;
use barter_data::event::MarketEvent;
use barter_execution::AccountEvent;
use serde::{Deserialize, Serialize};
#[derive(
Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Default, Deserialize, Serialize,
)]
pub struct DefaultGlobalData;
impl<ExchangeKey, AssetKey, InstrumentKey>
Processor<&AccountEvent<ExchangeKey, AssetKey, InstrumentKey>> for DefaultGlobalData
{
type Audit = ();
fn process(&mut self, _: &AccountEvent<ExchangeKey, AssetKey, InstrumentKey>) -> Self::Audit {}
}
impl<InstrumentKey, Kind> Processor<&MarketEvent<InstrumentKey, Kind>> for DefaultGlobalData {
type Audit = ();
fn process(&mut self, _: &MarketEvent<InstrumentKey, Kind>) -> Self::Audit {}
}