Jump to content

Lovely_Trader_1

Community Member
  • Posts

    5
  • Joined

  • Last visited

  • Days Won

    1

Lovely_Trader_1 last won the day on July 22

Lovely_Trader_1 had the most liked content!

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Lovely_Trader_1's Achievements

Occasional Contributor

Occasional Contributor (2/10)

1

Reputation

  1. @KoketsoIGok, i noted that you will only be providing generic replies, not examples to understand how these stops/limits are set to manage our deals in a better way...so not very helpful, but i will just leave it at this point in time, so this topic can be closed for now, thanks.
  2. @KoketsoIG noted, but if you could explain to me exactly what are those limits , where i can see the limits (available at epic level?) with the sample deal data that i have given in my earlier post , it will be really helpful for me to understand better and i can try to handle this scenario in my code properly to avoid getting such error... i am really looking forward for this as i am getting this error quite frequently ... ( given below is the epic level data that i got as well , but there are no much changes in these parameters during the rejection or success) thanks so much in advance. ----------------------------------------------------------------------------------------------------------------------- Munch({'instrument': Munch({'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': '-', 'name': 'USD/JPY Mini', 'forceOpenAllowed': True, 'stopsLimitsAllowed': True, 'lotSize': 100.0, 'unit': 'CONTRACTS', 'type': 'CURRENCIES', 'controlledRiskAllowed': True, 'streamingPricesAvailable': True, 'marketId': 'USDJPY', 'currencies': [Munch({'code': 'Y.', 'name': 'JPY', 'symbol': '¥', 'baseExchangeRate': 116.49474, 'exchangeRate': 0.007, 'isDefault': False})], 'marginDepositBands': [Munch({'min': 0, 'max': 634, 'margin': 5}), Munch({'min': 634, 'max': 3171, 'margin': 5}), Munch({'min': 3171, 'max': 5074, 'margin': 5}), Munch({'min': 5074, 'max': None, 'margin': 15})], 'margin': 5.0, 'slippageFactor': Munch({'unit': 'pct', 'value': 30.0}), 'openingHours': None, 'expiryDetails': None, 'rolloverDetails': None, 'newsCode': 'JPY=', 'chartCode': 'USDJPY', 'country': None, 'valueOfOnePip': '100.00', 'onePipMeans': '0.01 JPY/USD', 'contractSize': '10000', 'specialInfo': ['DEFAULT KNOCK OUT LEVEL DISTANCE', 'MIN KNOCK OUT LEVEL DISTANCE', 'MAX KNOCK OUT LEVEL DISTANCE']}), 'dealingRules': Munch({'minStepDistance': Munch({'unit': 'POINTS', 'value': 5.0}), 'minDealSize': Munch({'unit': 'POINTS', 'value': 1.0}), 'minControlledRiskStopDistance': Munch({'unit': 'POINTS', 'value': 5.0}), 'minNormalStopOrLimitDistance': Munch({'unit': 'POINTS', 'value': 2.0}), 'maxStopOrLimitDistance': Munch({'unit': 'PERCENTAGE', 'value': 75.0}), 'controlledRiskSpacing': Munch({'unit': 'POINTS', 'value': 10.0}), 'marketOrderPreference': 'AVAILABLE_DEFAULT_OFF'}), 'snapshot': Munch({'marketStatus': 'TRADEABLE', 'netChange': -0.052, 'percentageChange': -0.03, 'updateTime': '08:55:09', 'delayTime': 0, 'bid': 156.133, 'offer': 156.143, 'high': 156.584, 'low': 155.358, 'binaryOdds': None, 'decimalPlacesFactor': 3, 'scalingFactor': 100, 'controlledRiskExtraSpread': 0.8})}) {'date': '2024-07-18T07:55:09.579', 'status': None, 'reason': 'ATTACHED_ORDER_LEVEL_ERROR', 'dealStatus': 'REJECTED', 'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': None, 'dealReference': '5LWU9RBTGP2TZEB', 'dealId': 'DIAAAAQAXUUN5AV', 'affectedDeals': [], 'level': None, 'size': None, 'direction': 'SELL', 'stopLevel': None, 'limitLevel': None, 'stopDistance': None, 'limitDistance': None, 'guaranteedStop': False, 'trailingStop': False, 'profit': None, 'profitCurrency': None} ----------------------------------------------------------------------------------------------------------------------- Munch({'instrument': Munch({'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': '-', 'name': 'USD/JPY Mini', 'forceOpenAllowed': True, 'stopsLimitsAllowed': True, 'lotSize': 100.0, 'unit': 'CONTRACTS', 'type': 'CURRENCIES', 'controlledRiskAllowed': True, 'streamingPricesAvailable': True, 'marketId': 'USDJPY', 'currencies': [Munch({'code': 'Y.', 'name': 'JPY', 'symbol': '¥', 'baseExchangeRate': 116.500885, 'exchangeRate': 0.007, 'isDefault': False})], 'marginDepositBands': [Munch({'min': 0, 'max': 634, 'margin': 5}), Munch({'min': 634, 'max': 3171, 'margin': 5}), Munch({'min': 3171, 'max': 5074, 'margin': 5}), Munch({'min': 5074, 'max': None, 'margin': 15})], 'margin': 5.0, 'slippageFactor': Munch({'unit': 'pct', 'value': 30.0}), 'openingHours': None, 'expiryDetails': None, 'rolloverDetails': None, 'newsCode': 'JPY=', 'chartCode': 'USDJPY', 'country': None, 'valueOfOnePip': '100.00', 'onePipMeans': '0.01 JPY/USD', 'contractSize': '10000', 'specialInfo': ['DEFAULT KNOCK OUT LEVEL DISTANCE', 'MIN KNOCK OUT LEVEL DISTANCE', 'MAX KNOCK OUT LEVEL DISTANCE']}), 'dealingRules': Munch({'minStepDistance': Munch({'unit': 'POINTS', 'value': 5.0}), 'minDealSize': Munch({'unit': 'POINTS', 'value': 1.0}), 'minControlledRiskStopDistance': Munch({'unit': 'POINTS', 'value': 5.0}), 'minNormalStopOrLimitDistance': Munch({'unit': 'POINTS', 'value': 2.0}), 'maxStopOrLimitDistance': Munch({'unit': 'PERCENTAGE', 'value': 75.0}), 'controlledRiskSpacing': Munch({'unit': 'POINTS', 'value': 10.0}), 'marketOrderPreference': 'AVAILABLE_DEFAULT_OFF'}), 'snapshot': Munch({'marketStatus': 'TRADEABLE', 'netChange': -0.041, 'percentageChange': -0.03, 'updateTime': '08:55:31', 'delayTime': 0, 'bid': 156.144, 'offer': 156.154, 'high': 156.584, 'low': 155.358, 'binaryOdds': None, 'decimalPlacesFactor': 3, 'scalingFactor': 100, 'controlledRiskExtraSpread': 0.8})}) {'date': '2024-07-18T07:55:31.558', 'status': 'AMENDED', 'reason': 'SUCCESS', 'dealStatus': 'ACCEPTED', 'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': '-', 'dealReference': 'P2VLVAB2JD6TZEB', 'dealId': 'DIAAAAQAXTM3KA6', 'affectedDeals': [{'dealId': 'DIAAAAQAXTM3KA6', 'status': 'AMENDED'}], 'level': 156.163, 'size': 20.0, 'direction': 'SELL', 'stopLevel': 156.763, 'limitLevel': 156.148, 'stopDistance': None, 'limitDistance': None, 'guaranteedStop': True, 'trailingStop': False, 'profit': None, 'profitCurrency': None} -----------------------------------------------------------------------------------------------------------------------
  3. Hi Site Admin, i got the below error in DEMO environment but got rectified automatically in 20 seconds....just wanted to understand the reason why this is happening as i am facing this issue very frequently. Thanks {'date': '2024-07-18T07:55:09.579', 'status': None, 'reason': 'ATTACHED_ORDER_LEVEL_ERROR', 'dealStatus': 'REJECTED', 'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': None, 'dealReference': '5LWU9RBTGP2TZEB', 'dealId': 'DIAAAAQAXUUN5AV', 'affectedDeals': [], 'level': None, 'size': None, 'direction': 'SELL', 'stopLevel': None, 'limitLevel': None, 'stopDistance': None, 'limitDistance': None, 'guaranteedStop': False, 'trailingStop': False, 'profit': None, 'profitCurrency': None} {'date': '2024-07-18T07:55:31.558', 'status': 'AMENDED', 'reason': 'SUCCESS', 'dealStatus': 'ACCEPTED', 'epic': 'CS.D.USDJPY.CSM.IP', 'expiry': '-', 'dealReference': 'P2VLVAB2JD6TZEB', 'dealId': 'DIAAAAQAXTM3KA6', 'affectedDeals': [{'dealId': 'DIAAAAQAXTM3KA6', 'status': 'AMENDED'}], 'level': 156.163, 'size': 20.0, 'direction': 'SELL', 'stopLevel': 156.763, 'limitLevel': 156.148, 'stopDistance': None, 'limitDistance': None, 'guaranteedStop': True, 'trailingStop': False, 'profit': None, 'profitCurrency': None}
×
×
  • Create New...
us