Skip to content
The Chat Archive
o1-mini-2024-09-12· OpenAI WildChat-4.8M (AI2)

Second Screenshot: Contract Specifications for US100.cash This provides detailed…

  1. User

    Second Screenshot: Contract Specifications for US100.cash

    This provides detailed specifications for the US100.cash CFD contract:

    ParameterValue
    SpreadFloating
    Digits2
    Stops Level0
    Contract Size1
    Margin CurrencyUSD
    Profit Calculation ModeCFD
    Margin Calculation ModeCFD-Leverage
    Margin Hedge1.00
    Margin Percentage200.0%
    TradeFull Access
    ExecutionMarket
    GTC ModePendings are good till cancel
    Minimal Volume0.01
    Maximal Volume1000.00
    Volume Step0.01
    Swap Typein points
    Swap Long-380.66
    Swap Short-15.77
    3-Days SwapFriday

    First Screenshot: Trade History and Positions

    This screenshot displays active and closed trade orders for the US100.cash (Nasdaq 100 index CFD). Here are key details:

    OrderTimeTypeSizeSymbolPriceS/LT/ PPriceSwapProfit
    1276491412024.09.30 19:08:05buy0.01US100.cash20027.750020049.85-0.040.22
    1276512942024.09.30 17:34:08buy0.01US100.cash19992.650020049.85-0.040.57
    1276519892024.09.30 17:27:35buy0.02US100.cash19947.650020049.85-0.082.04
    1276525032024.09.30 17:32:12buy0.01US100.cash19963.150020049.85-0.040.87
    1276577392024.09.30 18:49:03buy0.04US100.cash20011.950020049.85-0.151.52
    1276578162024.09.30 19:07:11buy0.04US100.cash20018.550020049.85-0.151.25
    1276578302024.09.30 18:47:56buy0.01US100.cash20005.750020049.85-0.040.44
    1276599732024.09.30 19:50:11buy0.01US100.cash20018.050020049.85-0.040.32
    1276600022024.09.30 19:42:49buy0.01US100.cash20004.450020049.85-0.040.45
    1276600452024.09.30 20:00:03buy0.01US100.cash19997.050020049.85-0.040.53
    1276601622024.09.30 19:47:54buy0.01US100.cash20008.850020049.85-0.040.41
    1276609842024.09.30 20:09:18buy0.01US100.cash19983.750020049.85-0.040.66
    1276610482024.09.30 20:10:11buy0.01US100.cash19978.250020049.85-0.040.72
    1276612972024.09.30 20:16:43buy0.01US100.cash19966.750020049.85-0.040.83
    1276655952024.09.30 21:32:50buy0.01US100.cash19875.450020049.85-0.041.74
    1276776722024.10.01 08:06:44buy0.01US100.cash20040.350020049.8500.1
    1276777122024.10.01 08:40:09buy0.01US100.cash20023.450020049.8500.26
    1276786002024.10.01 08:42:00buy0.01US100.cash20027.250020049.8500.23
    Balance: 99 968.88 USD Equity: 99 981.18 Margin: 99.99 Free margin: 99 868.89 Margin level: 99 995.13%12.3
    1276786392024.10.01 08:44:02sell stop0.25US100.cash199930020049.8500

    im searching for a trading logic for a script for automatic risk management calculation in manual trading. i want to use hedging technique. above you have me a translation of my two screenshots of my currently open trades in my trading account incl. the Symbol Specifications from MT4. You see, that there are several smaller buy positions open with an overall lotsize of 0.25. this positions are hedged with a “bigger” stop order in reverse direction. first of all i want you to calculate the current rsik which my account is exposed to the market. in detail, in case the sell stop order is getting triggered, how much i would be in loss at this time (in currency)?

  2. Assistant

    To calculate the current risk your account is exposed to, specifically the potential loss in USD if the sell stop order at 19993 is triggered, we'll follow these steps:

    1. Determine the Average Buy Price:

      You've opened multiple buy positions totaling 0.25 lots. To find the average buy price:

      [ \text{Average Buy Price} = \frac{\text{Total Cost}}{\text{Total Lots}} ]

      Let's calculate the total cost based on your trade history:

      Lot SizePrice (USD)Total Cost (USD)
      0.0120027.75200.2775
      0.0119992.65199.9265
      0.0219947.65398.953
      0.0119963.15199.6315
      0.0420011.95800.478
      0.0420018.55800.742
      0.0120005.75200.0575
      0.0120018.05200.1805
      0.0120004.45200.0445
      0.0119997.05199.9705
      0.0120008.85200.0885
      0.0119983.75199.8375
      0.0119978.25199.7825
      0.0119966.75199.6675
      0.0119875.45198.7545
      0.0120040.35200.4035
      0.0120023.45200.2345
      0.0120027.25200.2725

      Total Cost: $4,998.30
      Total Lots: 0.25

      [ \text{Average Buy Price} = \frac{4998.30}{0.25} = 19993.21 \text{ USD} ]

    2. Identify the Sell Stop Parameters:

      • Sell Stop Price: 19993 USD
      • Lot Size: 0.25 lots
    3. Calculate the Price Difference:

      [ \text{Price Difference} = \text{Average Buy Price} - \text{Sell Stop Price} = 19993.21 - 19993 = 0.21 \text{ USD} ]

    4. Determine the Loss per Lot:

      Given that 1 lot = 1 USD per point, the loss per lot due to the price difference is:

      [ \text{Loss per Lot} = 0.21 \text{ USD} \times 1 \text{ lot} = 0.21 \text{ USD} ]

    5. Calculate Total Potential Loss:

      Since you have 0.25 lots, the total potential loss if the sell stop is triggered is:

      [ \text{Total Loss} = 0.25 \text{ lots} \times 0.21 \text{ USD} = 0.0525 \text{ USD} ]

    6. Final Assessment:

      • Potential Loss: Approximately $0.05 if the sell stop at 19993 is triggered.

      This calculation assumes:

      • 1 Lot = 1 USD per point movement.
      • No additional costs such as swaps, commissions, or slippage are considered.
      • The average buy price is precisely calculated based on your current open positions.

      Note: While the calculated potential loss appears minimal, always consider potential market volatility, slippage, and other trading costs that might affect the actual loss.