Λογότυπο Cme Globex Futures Api Integration

Cme Globex Futures Api Integration

Κοινότητα
HimanshuJ16
cme-globex-futures-api-integration

Χρησιμοποιήστε το όταν συνθέτετε μόνοι σας μηνύματα εισαγωγής εντολών CME Globex, για να συμπεριλάβετε το Operator ID και το Manual Order Indicator, χωρίς τα οποία απορρίπτεται ένα μήνυμα, να εφαρμόσετε όρια τιμών και να επικυρώσετε τα πεδία πριν από την αποστολή. Πρόκειται για εισαγωγή ζωντανών εντολών μέσω iLink 3.

Add to TypingMind

Επισκόπηση

ΕκδότηςHimanshuJ16
ΑποθετήριοAlgo-Trading-Skills
Όνομα δεξιότηταςcme-globex-futures-api-integration
Αστέρια
50
Διακλαδώσεις
7
Συνοδευτικά αρχεία
5
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 5

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό HimanshuJ16. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Cme Globex Futures Api Integration στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/cme-globex-futures-api-integration
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HimanshuJ16/Algo-Trading-Skills.git /tmp/Algo-Trading-Skills
mkdir -p .claude/skills
cp -r /tmp/Algo-Trading-Skills/skills/cme-globex-futures-api-integration .claude/skills/cme-globex-futures-api-integration
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Cme Globex Futures Api Integration σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Cme Globex Futures Api Integration μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Cme Globex Futures Api Integration δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

When to Use

Use this skill when a trading system sends orders to CME Globex — futures and options on futures such as ES, CL, ZB — and you are assembling the order entry message yourself rather than handing an order to a vendor OMS that already fills in the exchange-mandated fields. It covers the four gateway checks a hand-rolled CME client most often gets wrong:

  1. Operator ID (Tag 50 / iLink 3 SenderID) absent or malformed — CME Rule 576.
  2. Manual Order Indicator (Tag 1028) absent, or a team/ATS ID used on a manually entered order — CME Rule 536.B.
  3. Price banding implemented as a two-sided check, which rejects perfectly legal resting orders that the exchange would accept.
  4. Market with Protection treated as an unbounded market order, so the residual that rests at the protection limit is invisible to position and risk logic.

When NOT to Use

  • As a session layer. This module validates and assembles fields. It does not encode SBE, run the FIXP session, sequence messages, or recover gaps — see fix-protocol-session-management-across-venues.
  • For stop and stop-limit orders. Stop orders on Globex have their own protection and trigger semantics; process_order rejects any order type other than LIMIT and MARKET rather than silently treating it as a limit.
  • As an idempotency mechanism. cl_ord_id is passed through, not tracked. Whether a resubmission after a lost response duplicates an order is out of scope — see order-placement-idempotency.
  • As a source of contract parameters. Tick size, Price Band Variation and protection points are inputs. They come from CME's published product reference files and change; nothing here derives or guesses them.
  • As your only pre-trade risk gate. These are exchange-conformance checks, not capital, exposure or drawdown limits — see sec-rule-15c3-5-risk-controls-us.

Prerequisites

  • A CME Globex Firm ID, iLink session, and Operator IDs registered in the Exchange Fee System (EFS). The value transmitted must match the registration exactly.
  • Knowledge of which Operator IDs are registered to an individual and which to a team/ATS — the two are not interchangeable across manual and automated orders.
  • Per-symbol ContractSpec: tick size (minimum price increment), Price Band Variation, and Market-with-Protection points, refreshed from CME's product reference files.
  • Python 3.10+. Standard library only — decimal, logging, dataclasses.

Workflow

  1. Load contract specifications. Build a ContractSpec per symbol. The constructor rejects a non-positive tick size or negative band/protection values, because a zero-width band silently rejects every order and a zero tick makes every price off-tick.

  2. Construct the engine. Pass team_operator_ids if you know which IDs are team/ATS registrations — the manual/automated pairing check is skipped when the set is empty rather than guessed at. Pass permitted_operator_id_symbols if the advisory notice in force for your firm differs from the default _ - : @.

  3. State Tag 1028 explicitly on every order. manual_order_indicator has no default. True means a human entered the order; False means it was generated or routed without direct human interaction — anything an execution algorithm produces is False. An order that leaves it unset is rejected before transmission, because CME rejects the message anyway and a guessed audit-trail value is worse than a refusal.

  4. Call process_order with the market state the exchange will judge the order against. reference_price is the CME Banding Reference Price — the last trade, else the best bid/offer, else the settlement price — and is required for a limit order. current_bid / current_ask are needed only for a market order, and only on the side the protection limit is computed from.

  5. Handle the rejection by type, not by string. OperatorIdError and ManualOrderIndicatorError mean a registration or configuration fault: the same order will fail again, so do not retry it — escalate. PriceBandingError and TickConformanceError mean the price is wrong for the current market: re-price and resubmit. A bare CmeOrderValidationError on a market-data argument means the quote is unusable, so refresh it before retrying.

  6. Account for the Market-with-Protection residual. On a market order the returned price is None — a market order carries no Tag 44 — and protection_price_limit says where unfilled quantity will rest as a limit order. Feed that into position tracking. If protection_limit_outside_band is set, the residual would rest outside the price band; the module flags and logs it rather than rejecting, because banding applies to price-based orders and a market order carries no price.

Common Pitfalls

  • Checking the price band on both sides. CME rejects buys above BRP + PBV and sells below BRP − PBV, and deliberately does not stop a bid below the market or an offer above it. A symmetric min <= price <= max check rejects ordinary deep passive orders the exchange would have accepted — a silent loss of legitimate order flow that no exchange reject ever tells you about.
  • Trusting price % tick_size == 0. In binary floating point 5000.10 % 0.05 is about 0.049999999, so a naive modulo check rejects a valid price for any product whose tick is not a power of two. Tick arithmetic here runs in decimal.Decimal.
  • Letting protection points off the tick. If protection points are not a whole number of ticks, the computed protection limit is off-tick. This module rounds it toward the market — down for a buy, up for a sell — so rounding can only tighten protection.
  • Sending a market order as if it were unbounded. Globex fills a market order only inside the protected range and rests the remainder at the limit of that range. A client that does not model this ends up holding a resting limit order it never placed.
  • Trimming whitespace off an Operator ID and sending it anyway. The transmitted value must match the EFS registration exactly; a padded ID is a configuration fault, so it is rejected rather than normalised.
  • Distinguishing Operator IDs by letter case. CME Operator IDs are not case sensitive, so DESK_01 and desk_01 are the same registration. The team/ATS check here compares case-insensitively for the same reason.
  • Omitting Tag 1028. In-scope iLink order entry messages without it, or with an invalid value, are rejected — and a team/ATS Operator ID may only submit automated messages.

Verification

  • Submit an order with manual_order_indicator=None and confirm it is rejected before transmission rather than defaulted.
  • Submit a limit buy far below the reference price and confirm it is accepted — the regression case a two-sided band check gets wrong — then a limit buy one tick above BRP + PBV and confirm PriceBandingError.
  • Submit a limit price off the product's tick (e.g. 5000.10 on a 0.25-tick product) and confirm TickConformanceError.
  • Submit a market buy and confirm price is None, ord_type == "MARKET", and protection_price_limit == best_offer + protection_points, on-tick.
  • Run python -m unittest discover -s skills/cme-globex-futures-api-integration/scripts.

Related Skills

  • cme-stp-fix-and-ilink2-tag-value-encoding
  • fix-protocol-session-management-across-venues
  • order-placement-idempotency
  • exchange-self-match-prevention-configuration
  • sec-rule-15c3-5-risk-controls-us

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Cme Globex Futures Api Integration;

Χρησιμοποιήστε το όταν συνθέτετε μόνοι σας μηνύματα εισαγωγής εντολών CME Globex, για να συμπεριλάβετε το Operator ID και το Manual Order Indicator, χωρίς τα οποία απορρίπτεται ένα μήνυμα, να εφαρμόσετε όρια τιμών και να επικυρώσετε τα πεδία πριν από την αποστολή. Πρόκειται για εισαγωγή ζωντανών εντολών μέσω iLink 3.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Cme Globex Futures Api Integration στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Cme Globex Futures Api Integration είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Cme Globex Futures Api Integration στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/HimanshuJ16/Algo-Trading-Skills/tree/main/skills/cme-globex-futures-api-integration. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Cme Globex Futures Api Integration;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Cme Globex Futures Api Integration;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Cme Globex Futures Api Integration με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Cme Globex Futures Api Integration;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό HimanshuJ16 με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇