project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4

Portifi

Permissionless, customizable asset manager that democratizes access to quant finance

Portifi

Created At

ETHSanFrancisco 2022

Winner of

trophy

🥈 0x — Best Use

Project Description

A more permissionless, customizable version of Yearn. Guardians (fund managers) are able to create vaults running arbitrary trading/yield generation strategies and invite users to join those vaults using a whitelist. While the vaults are on-chain, the trading strategies live off-chain and are maintained by the guardians on AWS instances. As such, we are introducing a seamless capital management layer and easy-follow strategy-building template.

As the trading strategy is off-chain, the strategies can be as complicated as the most advanced quantitative strategies employed at hedge funds and trading firms today. We are democratizing access to quant finance for the regular DeFi user, and allowing top traders to raise and manage capital efficiently

How it's Made

We used the 0x API extensively to execute our trades after the initial amount calculations are discovered. One strategy is the whale watching strategy where we tracked a specific wallet and rebalanced our vault portfolio to match the makeup of that wallet. We run a AWS lambda instance which checks every 5 mins for difference in the portfolio allocations between the whale's address and the vaults allocations and create a pairwise swap data and amount to be swapped to make them identical. We send this encoded data off-chain and after performing computations on the exact target balances of the tokens we want, we called the 0x swap API to fetch quotes and execute the trades. All the other strategies involving swaps are similarly first quoted a price and then perform the filling of the quote.

background image mobile

Join the mailing list

Get the latest news and updates