> For the complete documentation index, see [llms.txt](https://academy.horizonprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.horizonprotocol.com/futures/futures-trading-on-horizon-protocol/account-management-fams.md).

# Account Management (FAMS)

FAMS is a middle-layer smart contract system that allows Horizon Protocol Futures traders to intelligently manage their margin across perpetual futures markets by automatically performing multi-step operations by batch executing these actions in a single transaction, improving the overall UX for the user.&#x20;

<figure><img src="/files/SvJbPlRHZvWcZYMOHDBH" alt=""><figcaption><p>The Account Manager includes pages for Overview, Deposit, Withdraw, and Keeper.</p></figcaption></figure>

### Using FAMS in Horizon Protocol Futures

FAMS make Limit and Stop Loss possible by automating the multi-step transactions via batch execution.

FAMS is a part of Futures trading on Horizon Protocol. Every user is required to set up a non-KYC account on Horizon Protocol Futures before they can start trading.

Setting up your account includes the following steps:

1. **Create Account** - Approve the FAMS middle-layer to act on your behalf to automate actions such as limit and stop-loss orders. Requires signing with your wallet.
2. **Deposit Margin** - deposit the funds you want to use in Horizon Futures. Only the funds deposited can be used by FAMS. It cannot touch other assets in your wallet.
3. **Fund Keeper** - to access limit and stop-loss orders, the Keeper must be funded. The Keeper is what is used to automate and batch-execute multi-step operations on your behalf. Without funding the Keeper, you will be limited to just Market actions without Take Profit/Stop Loss orders.

<figure><img src="/files/44z1bVeTUORqhEOItSST" alt=""><figcaption><p> Deposit Funds into your Keeper (BNB for BNB Chain)</p></figcaption></figure>

Learn more about the Account Setup process here: [2. Set up your Account.](/futures/guides/trading-futures-on-horizon-protocol/2.-set-up-your-account.md)

### How the FAMS contracts work

For more details about how the contracts work, please visit our Github: <https://github.com/Horizon-Protocol/horizon-perps-margin>

### Future Development

Horizon Protocol's FAMS is flexible and fully upgradable, meaning further multi-step operations can be implemented and integrated seamlessly.

If there are any requests or suggestions, please connect with our Community Managers on[ Telegram](https://t.me/HorizonProtocol) or[ Discord](https://discord.gg/HorizonProtocol).
