Skip to main content

Module ema_cross

Module ema_cross 

Source
Expand description

Dual-EMA crossover strategy.

Subscribes to quotes for a single instrument, maintains fast and slow exponential moving averages, and submits market orders when the fast EMA crosses above (buy) or below (sell) the slow EMA.

Structsยง

EmaCross
Dual-EMA crossover strategy.