Jump to content
  • 0

How to programmatically find minimum trailing step?


dantrader435

Question

Hi there

Considering changing my platform to IG and familiarizing myself with the IG REST API. Is there a REST API method to find out the minimum trailing step? Is there also a way to set this value myself?

I have tried (GET /markets) for UC.D.NVDA.CASH.IP  (NVIDIA CORP) and I am able to find the minimum stop distance but not trailing step as per the below json snippet:

    "dealingRules": {
        "minStepDistance": {
            "unit": "PERCENTAGE",
            "value": 0.1
        },
        "minDealSize": {
            "unit": "POINTS",
            "value": 1.0
        },
        "minControlledRiskStopDistance": {
            "unit": "PERCENTAGE",
            "value": 10.0
        },
        "minNormalStopOrLimitDistance": {
            "unit": "POINTS",
            "value": 20.0
        },
        "maxStopOrLimitDistance": {
            "unit": "PERCENTAGE",
            "value": 90.0
        },
        "controlledRiskSpacing": {
            "unit": "POINTS",
            "value": 100.0
        },
        "marketOrderPreference": "AVAILABLE_DEFAULT_OFF",
        "trailingStopsPreference": "AVAILABLE"

 

At time of writing, the minimum stop distance as per the IG online platform is 20 which matches minNormalStopOrLimitDistance, but the minimum trailing step is 27 which I cannot find anywhere in any of the REST API methods.

 

Thanks in advance!

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • image.png

  • Posts

    • In the previous year, #bullrun2024 had been a trending hashtag as most crypto enthusiasts continually drooled over the prospects of witnessing another bull cycle. 2024 is finally here and so far so good has produced only fireworks. BTC has soared to 60k+, the market is green, and there’s a general sense that the bulls are returning. If there’s one thing that pays most in such bullish market, it is the flair to spot early gems and position oneself before a breakout. In that regard, Bitget has been my plug for a few years running. The early listing of $ORDI last year for instance before Binance listing 7 months after, and a surge ultimately is well documented. This year alone, Bitget has continued its wealth creation for users nicely, coins like $PORTAL, $GPT, $GTAI and so on have gone on to print for investors as depicted in the picture below. Web3 rewards not just active participation, but strategic positioning. There’s no gainsaying that the key to securing insane profits in this market is by positioning early and strategically too. Bitget’s eagle-eye for spotting early gem is a flex. Numbers don’t lie.  
    • Portal itself is awesome. Those who haven't got any airdrop, I think it's best time to accumulate for them.. tho, I'm gonna DCA....
    • Nope the hype is worth it. The project is dope itself as well as the team. Already deposited my bag at Bitget... Let's hope for the best 🤞
×
×
  • Create New...
us