Position Containers

The Alpaca Aggregator manages a set of smart contracts called "position containers" that hold traders' positions. When a trader opens a position through Alpaca Aggregator, the Aggregator creates a positioned container and uses it to open the position on the underlying leveraged trading protocol on behalf of the trader.

Why Position Containers are Important

Each position has a separate position container, which isolates risks among users, ensuring the safety of the Alpaca protocol. In addition, the MUX Aggregator provides an API that allows users to inquire about traders' addresses behind their position containers.

The Alpaca Protocol Approach to Position Containers

From the underlying protocol's perspective, the position container contract is its direct user. This approach ensures that the protocol operates smoothly and effectively while minimizing risks for traders. Overall, the use of position containers on the MUX Protocol Suite provides traders with a secure and reliable trading experience.

Last updated