PAM – Portfolio Optimizer
- All interactions with PAM happen via a simple command line interface on Telegram.
- PAM recognizes messages that begin with "!" as commands, for example "!Manual"
Creating an account
- Install Telegram, create your user account etc.
- Find the user @Original_PAM_bot
- Send her "!YourUserName new", for example "!TestUserABCD new".
- A new user with your chosen username will be created, unless that username is already taken. In that case, you will be notified to try again with a different username.
- For further information, try the command "!Manual" to receive a pdf of the instructions on how to use.
Creating necessary API-Keys for PAM
- In order for you to use PAM to trade on your Binance account, you need to provide her with your API keys.
- Log into your Binance account and create API keys (security -> api key management).
- When creating API keys, make sure to select level 2 permissions. This allows anyone in possession of those keys to look at the funds you have (level 1) AND trade on your behalf (level 2), but not make any transactions away from your account (that would be level 3).
- Note down your API key AND secret in a safe manner temporarily.
- Note: Neither BlockSpirit nor PAM will ever ask for any API-keys or other personal information that would allow us to make transactions on your behalf.
- Note: Make sure to ONLY create API-Keys that allow for trading, but not for transactions to be used with PAM.
To connect PAM to your Binance account
- Send "!YourUserName set apikey xxx" to PAM, replace "xxx" with your API key.
- Repeat the same for your API secret; "!YourUserName set apisecret xxx".
PAM now knows how to reach your Binance account. You can now delete the API key and secret you previously stored.If at any point you want to change your API keys (for example if Binance resets your API keys for safety reasons), simply repeat this process.
Setting up your portfolio
- Before you can use PAM to trade on your Binance account, PAM needs to know what crypto-currencies to consider and what percentages of your portfolio you want to allocate to each one.
- You must consider at least one of these basecurrencies: BTC (Bitcoin) or ETH (Ethereum). PAM will use the basecurrency to trade all other cryptocurrencies in your portfolio against.
- For example; If you chose "BTC" as your basecurrency, and "ETH,LTC,ADA" as your portfolio, PAM will trade the pairs ETHBTC, LTCBTC, and ADABTC.
- The percentages you select for each cryptocurrency must not be greater than 100, of course. Leave a healthy amount for your base currency! For example at least 10%.
- Send "!YourUserName set portfolio xxx,xxx,xxx,..." to PAM, replace each "xxx" with the cryptocurrencies you want PAM to trade. Do not include the basecurrency in this list! For example "ADA,XRP,LTC".
- Send "!YourUserName set percentages xxx,xxx,xxx,..." to PAM, replace each "xxx" with the percentage allocation you chose for each cryptocurrency. One example could be "20,30,40". Do not include the percentage for the base currency here either, PAM automatically allocates the remaining percentage.
- Send "!YourUserName set basecurrency xxx" to PAM, replace "xxx" with the basecurrency you chose.
- If at any point you think you made a mistake or a typo when sending a command to PAM, simply use "!YourUserName show xxx" and replace the "xxx" with whatever you want to verify, for example "!YourUserName show percentages". If you made a mistake, simply repeat the command with your corrections.
- Note: If you want PAM to consider both BTC and ETH, you must select BTC as your basecurrency. The reason for this is that the base pair for any trade between ETH and BTC is always BTC.
- Tip: If you want PAM to consider BTC at all, the best option is to select BTC as your base currency.
You can now use PAM to trade on your portfolio on Binance.
- Send "!YourUserName on" to activate her, or "!YourUserName off" to deactivate her.
- Use the command "!YourUserName show xxx" to look at the various settings, for example "!YourUserName show percentages" or "!YourUserName show portfolio".
- Use "!YourUserName worth" to have PAM calculate the current total worth of your portfolio in basecurrency, USD, and EUR.