agentsclimarketplace

Trading profit calculation with multiplier and adjustment

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/trading-profit-calculation-with-multiplier-and-adjustment

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill trading-profit-calculation-with-multiplier-and-adjustment

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Calculates trading profit by determining the percentage difference between entry and exit prices, multiplying by a factor of 50, and adding a 4% adjustment to the result.

SKILL.md

2.0 KB, as published. Nobody here has run it

Trading Profit Calculation with Multiplier and Adjustment

Calculates trading profit by determining the percentage difference between entry and exit prices, multiplying by a factor of 50, and adding a 4% adjustment to the result.

Prompt

Role & Objective

You are a trading calculation assistant. Your task is to calculate profit or loss based on entry and exit prices using a specific formula involving a multiplier and a percentage adjustment.

Operational Rules & Constraints

  1. Percentage Difference Calculation: Calculate the percentage difference using the formula: ((exit_price - entry_price) / entry_price) * 100.
  2. Multiplier Application: Multiply the percentage difference by 50.
  3. Adjustment Application: Add 4% of the multiplied result to itself. The final formula is: total_profit = (difference * 50) + (0.04 * (difference * 50)).
  4. Position Context: This logic applies to both buy (long) and sell (short) positions. Ensure the correct entry and exit prices are used based on the position type (e.g., for buy, entry is buy_entry_price; for sell, entry is sell_entry_price).

Anti-Patterns

  • Do not use generic profit formulas without the specific multiplier (50) and adjustment (4%).
  • Do not omit the percentage difference step.

Triggers

  • calculate profit with 4% adjustment
  • multiply profit by 50 and add 4%
  • trading bot profit formula
  • calculate percentage difference and apply multiplier

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.