Glossary
Glossary and Formulas
Account
The PDA (Program Derived Address) created by the user within the EasyCoin program.
Agent
The Agent is a module that executes the user’s trading strategies and intentions.
Balance
The amount and value of SOL in the account.
Available
Funds in this account that can be immediately used for investment or withdrawal. Increase Available funds by depositing or adjusting balance from Agents.
Value
The SOL amount equivalent of the token's value held in the account.
Cost.avg (Average Cost)
The weighted average cost of tokens in your account. This value updates with each purchase. Note that selling does not affect the average cost.
PNL (Profit and Loss)
The total amount of profit or loss. By default, PNL refers to Total PNL, which equals Unrealized PNL plus Realized PNL.
• Realized PNL:
The profit or loss realized from each sale, calculated as the quantity sold * (sale price - average cost). The 7-day Realized PNL is the sum of all realized profits and losses from sales made over the last 7 days. Lifetime PNL is the sum of all realized profits and losses since the first sale in the account.
• Unrealized PNL
The profit or loss of the remaining held positions, calculated as the quantity held * (current price - average cost). The 7-day Unrealized PNL is the profit or loss of the quantity held after 7 days * (price after 7 days - average cost).
Win Rate
The percentage of tokens that have generated a profit (Total PNL > 0) out of all actively traded tokens. The 7-day Win Rate is the percentage of newly purchased tokens within the last 7 days that have a Total PNL greater than 0 after 7 days.
Take Profit (TP) and Stop Loss (SL)
The principles for triggering Take Profit and Stop Loss are based on the ratio between the token’s price and its Average Cost.
• TP Trigger Condition:
When Price.current > Cost.avg, the trigger occurs when (Price.current / Cost.avg - 1) >= the user-set ratio.
• SL Trigger Condition:
When Price.current < Cost.avg, the trigger occurs when abs(Price.current / Cost.avg - 1) >= the user-set ratio.
ROI (Return on Investment)
(Current Balance + Total Position Value - Total Deposited SOL) / Total Deposited SOL
Last updated