Skip to content

Daemon that monitors CoW Protocol orders and simulates trades with DEX aggregators

License

Notifications You must be signed in to change notification settings

nlordell/dexag-trader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEXag Trader

This repo contains a daemon that monitors the CoW Protocol orderbook and, for each new order, simulates trading the order amounts on various DEX aggregators. The simulation records both the expected traded amounts as well as the actual executed amounts.

Simulation Details

Simulation is done with an eth_call with state overrides. This allows simulations to work even for traders that haven't approved the required contracts.

Output

The daemon writes to an SQLite database orders.db. It includes details of the original CoW Protocol order and trade simulation results for each DEX aggregator.

About

Daemon that monitors CoW Protocol orders and simulates trades with DEX aggregators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published