Skip to main content

fetch_pattern_trades

Function fetch_pattern_trades 

Source
pub async fn fetch_pattern_trades(
    venue: &MarketVenue,
    pair: &Pair,
) -> Result<Vec<Trade>, String>
Expand description

The venue’s recent trades for the bot-pattern advisory (super::patterns::TRADE_SAMPLE of them). Err says why there are none: the summary shows it, and it never fails the summary.