Perhaps from Middle English *trikke, from Old Northern French trique (related to Old French trichier; French: tricher), itself possibly from Middle High German trechen ("to launch a shot at, play a trick on"), but the Old French verb more likely is derived from Vulgar Latin *triccāre, from Late Latin tricāre, from Latin tricor ("behave in an evasive manner, search for detours; trifle, delay").
Alternatively, perhaps from Dutch trek ("a pull, draw, trick"), from trekken, from Middle Dutch trekken, treken, from Old Dutch *trekkan, *trekan, from Proto-Germanic *trakjaną, *trekaną, from Proto-Indo-European *dreg- ("to drag, scrape").
If the second proposal is correct, the term is cognate with Low German trekken, Middle High German trecken, trechen, Danish trække, and Old Frisian trekka, Romanian truc and other Romance languages.