Context
The rise of Decentralized Finance (DeFi) has revolutionized the crypto market, opening doors for algorithmic trading. With the emergence of crypto- bots, traders now have the ability to automate simple trading strategies and explore simultaneous investment opportunities.
Problems with Commercial Trading Bots and Trust in DeFi
Trading on-chain with a crypto-trading bot provides transparency in costs and availability, but transparency kills the competitive advantage.
Off-chain algorithm for trading bots requires users to trust the bots with trade execution and fund handling.
Solutions
Our approach combines on-chain and off-chain to develop on-chain trading algorithms.
The core idea storing the public parameters of a parametrized trading algorithm on-chain while keeping the parameters critical to the algorithm’s private. This enables to adapt to dynamic market conditions.
How it work?
Determining a trading algorithm:
- real-time or historic financial should be collected,prepared and analyzed
- selected algorithm: uses the data to make a trade decision, the trade is executed
User subscription stages
Each user subscribes to Weminal by sending your funds to the on-chain bot. On-chain bot records the amount invested by each user. In each trade, on-chain bot uses the user funds for trading and paying execution fees. Once a trading epoch is complete, the on- chain bot pays each user their share of returns.