-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,32 @@ | ||
Trading Strategy integration as a Safe module using Zodiac. | ||
# Trading Strategy module as a Safe module using Zodiac. | ||
|
||
This code had to be branched to its own Foundry tree due to Gnosis Safe using incompatible OpenZeppelin version. | ||
[TradingStrategyModuleV0](./src/TradingStrategyModuleV0.sol) is a Zodiac-module for Gnosis Safe multisignature wallets. | ||
It enables automated trading, "trading algorithms" or "AI-agent", for various use cases. | ||
|
||
# Dependencies | ||
- You can assign an asset management role for an automated system | ||
- The asset manager can perform automated trades allowed by whitelist-based rules | ||
- The module is designed to be used with [Lagoon vaults](https://tradingstrategy.ai/glossary/lagoon), | ||
but should work with any Gnosis Safe where you enable this module | ||
- For more information see [Trading Strategy website](https://tradingstrategy.ai) | ||
- Code is not audited | ||
- Automated trading involves a lot of risk outside technical risks | ||
|
||
Module is called [TradingStrategyModuleV0](./src/TradingStrategyModuleV0.sol) reflecting its MVP nature. | ||
|
||
## Dependencies | ||
|
||
Included as Github submodules | ||
|
||
- Zodiac: main: https://github.com/gnosisguild/zodiac/tree/master/contractscd .. | ||
- Safe: v1.3.0-1: https://github.com/safe-global/safe-smart-account/ | ||
- Safe> v1.3.0-1: https://github.com/safe-global/safe-smart-account/ | ||
- OpenZeppelin: release-v3.4: https://github.com/OpenZeppelin/openzeppelin-contracts | ||
- | ||
|
||
## Rules and whitelists | ||
|
||
- See [GuardBaseV0](../guard/src/GuardV0Base.sol) for the rule logic and supported protocols | ||
|
||
## How to use | ||
|
||
- The code is designed to be used with offchain Python automation | ||
- [See Lagoon integration code in eth-defi Python package](https://web3-ethereum-defi.readthedocs.io/api/lagoon/index.html) | ||
|