oceanprotocol / pdr-backend

Instructions & code to run predictoors, traders, more.
Apache License 2.0
22 stars 15 forks source link

[Sim] Add stop loss & take profit to sim engine trading #1267

Closed trentmc closed 1 week ago

trentmc commented 1 week ago

Background / motivation

"Stop loss" and "take profit" are part of a practical baseline strategy for trading.

The trading in sim engine doesn't have it yet.

TODOs

Add stop loss & take profit to sim engine.