Jump to content
  • 0

Rest demo API deal rejected - stop loss too close - early morning only


jamesl5

Question

Hi - in the demo system some of my API position requests get rejected because the guaranteed stop loss is too close. 

I believe I'm correctly checking against the dealing rules, and the requests are within the 'minControlledRiskStopDistance 'value.

This only seems to happen before around 6-7am - requests meeting the same criteria are accepted after this time.  (Curiously, minControlledRiskStopDistance changes around this time from 2 to 20.)

I'm looking at CC.D.LCO.USS.IP, and example deal IDs are DIAAAAKVLGU9GA4 (6.00am 20-Oct-22, rejected) and  DIAAAAKVPFZAZAY (7.20am 20-Oct-22, accepted).

Am I missing anything?

Thank you,

 

James

 

Link to comment

2 answers to this question

Recommended Posts

  • 0

I think I've just answered my own question - 'minControlledRiskStopDistance' is % in the early hours/late evening - so the 2 I've referred to above is 2%, rather than 2 points.  In points, this would be c180 points, hence the rejection of a request around 28 points.

 

James

Link to comment
  • 0
17 hours ago, jamesl5 said:

I think I've just answered my own question - 'minControlledRiskStopDistance' is % in the early hours/late evening - so the 2 I've referred to above is 2%, rather than 2 points.  In points, this would be c180 points, hence the rejection of a request around 28 points.

 

James

Hi @jamesl5

Thank you for reaching out. 

That is correct. Guaranteed stop distance is normally in % form. All the best, OfentseIG

Link to comment

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

    • 2024 Καλύτερος κωδικός αναφοράς MEXC: mexc-rb Κωδικός αναφοράς MEXC: Χρησιμοποιείται ως "mexc-rb". Είναι ο πιο χρησιμοποιούμενος κωδικός αναφοράς MEXC στον κόσμο, ισχύει εφ' όρου ζωής και με το υψηλότερο ποσοστό έκπτωσης. Κατά την εγγραφή σας στο ανταλλακτήριο κρυπτονομισμάτων MEXC, πληκτρολογήστε "mexc-rb" όπου λέει "Κωδικός πρόσκλησης". Η έκπτωση της χρέωσης συναλλαγής που θα λάβετε είναι 100%. Θα λάβετε επίσης ένα μπόνους rakeback $1000 USDT. Κωδικός αναφοράς MEXC ανταλλαγής κρυπτονομισμάτων: Με το "mexc-rb" κερδίζετε εκπτώσεις προμήθειας μελλοντικής εκπλήρωσης και εκπτώσεις τελών συναλλαγών spot και περιθωρίου. Παίρνετε επίσης μπόνους και πολλές προσφορές. Για επενδύσεις και συναλλαγές στον κόσμο της τεχνολογίας και της χρηματοδότησης, εγγραφείτε τώρα στο χρηματιστήριο MEXC με τον κωδικό αναφοράς "mexc-rb".
    • MEXC Referrl Code: Used as “mexc-rb”. It is the most used MEXC referrl code in the world, valid for life and with the highest discount rate. When registering to the MEXC cryptocurrency exchange, enter “mexc-rb” where it says “Invitation Code”. The transaction fee discount you will receive is 100%. You will also receive a $1000 USDT rakeback bonus. Cryptocurrency exchange MEXC Referrl Code: With “mexc-rb” you earn futures transaction fee discounts and spot and margin transaction fee discounts. You also get bonuses and many promotions. To invest and trade in the world of technology and finance, register now to the MEXC exchange with the referrl code “mexc-rb”.
    • MEXC Referrl Code: Used as “mexc-rb”. It is the most used MEXC referrl code in the world, valid for life and with the highest discount rate. When registering to the MEXC cryptocurrency exchange, enter “mexc-rb” where it says “Invitation Code”. The transaction fee discount you will receive is 100%. You will also receive a $1000 USDT rakeback bonus. Cryptocurrency exchange MEXC Referrl Code: With “mexc-rb” you earn futures transaction fee discounts and spot and margin transaction fee discounts. You also get bonuses and many promotions. To invest and trade in the world of technology and finance, register now to the MEXC exchange with the referrl code “mexc-rb”.
×
×
  • Create New...
us