HimanshuJ16
- 512 skills
- 0 followers
- last week last updated
- ▌ Order Placement Idempotency · himanshuj16 bundleUse when a bot places or modifies live orders and must never double-execute or send a duplicate order after a retry, timeout or reconnect, because a timeout means unknown rather than failed. For cancel races see broker-api-idempotent-cancel-requests.
- ▌ Risk Control Latency Budget · himanshuj16 bundleUse when auditing the timing of a risk control rather than its logic, because a correct kill switch that takes seconds to get a cancel in front of the matching engine has already failed; budgets observation, decision, dispatch and acknowledgement.
- ▌ Tick Data Schema Versioning · himanshuj16 bundleUse when an internal tick schema changes while consumers run at mixed versions. Stamps a schema_version envelope, chains upgrade and downgrade adapters, and marks the fields a migration synthesised rather than received.
- ▌ Etrade Oauth1 Signature Flow · himanshuj16 bundleUse when integrating E*TRADE, which signs every request with OAuth 1.0a HMAC-SHA1 rather than OAuth 2.0 bearer tokens. Covers the three-legged flow with oauth_callback=oob, RFC 5849 signature base strings, and the idle and end-of-day expiry rules.
- ▌ New Zealand Exchange Nzx API · himanshuj16 bundleUse when routing cash-equity or listed-fund orders to the NZX Main Board over FIX, enforcing the NZX price-step schedule including the listed-funds carve-out and NZSX session-phase awareness.
- ▌ Token Lifecycle Live Probing · himanshuj16 bundleUse when deciding whether a cached broker token is still usable before trading calls, because documented expiry times lie. The probe has three outcomes, and treating the inconclusive one as invalid causes needless re-authentication.
- ▌ Headless Broker Auth Patterns · himanshuj16 bundleUse when a bot must authenticate to a broker with no human at the keyboard. Classifies the broker into one of five auth archetypes before you build, so you do not implement a mechanism the broker neither publishes nor permits.
- ▌ Ice Futures Us Eu Integration · himanshuj16 bundleUse when building an order path into ICE Futures Europe or ICE Futures US for outright futures such as Brent, WTI, TTF gas or Sugar No. 11, applying the directional reasonability limit against the exchange-set anchor price.
- ▌ Model Versioning And Rollback · himanshuj16 bundleUse when a model or execution algorithm is registered, promoted or rolled back in production; an append-only SHA-256 registry where one semantic version permanently identifies one artifact, plus a guarded rollback path.
- ▌ Philippine Stock Exchange API · himanshuj16 bundleUse when validating equity orders for the Philippine Stock Exchange, keying board lot and tick size off the security's reference price and enforcing the asymmetric daily price band before entry.
- ▌ Saxo Bank Openapi Integration · himanshuj16 bundleUse when routing multi-asset orders through Saxo Bank OpenAPI, which identifies instruments by numeric UIC and requires an explicit AssetType on every order payload. Covers FX spot, equities, futures and options across simulation and live.
- ▌ Tick Buffering Burst Handling · himanshuj16 bundleUse when sizing in-memory tick buffers so an expiry or news burst neither drops data silently nor grows unbounded into an OOM kill. Pairs with producer-consumer-tick-pipeline; sustained backlog belongs to backpressure-drop-degrade-policy.
- ▌ Walk Forward Validation Setup · himanshuj16 bundleUse when validating a strategy or ML model on time-series data, because shuffled k-fold trains on the future; generates chronological train and test folds with a boundary gap and aggregates out-of-sample results.
- ▌ Australia Asic Drt Obligations · himanshuj16 bundleUse when a Reporting Entity under the ASIC Derivative Transaction Rules 2024 must validate an OTC derivative report before submission: ISO 17442 legal entity identifiers with check digits, ISO 23897 transaction identifiers and ISO 4914 product identifiers.
- ▌ Borsa Istanbul API Integration · himanshuj16 bundleUse when routing orders to Borsa Istanbul BISTECH over FIX 5.0 SP2 and the order lifecycle must be modelled correctly: NewOrderSingle, the two possible answers to a cancel request, and execution reports applied idempotently across resends.
- ▌ Bursa Malaysia API Integration · himanshuj16 bundleUse when routing orders to Bursa Malaysia BTS2 through Bursa Direct Access over FIXT.1.1 and FIX 5.0 SP1; enforces the client order id uniqueness BTS2 does not check itself, and models the cancel request and execution report lifecycle.
- ▌ Dubai Financial Market Dfm API · himanshuj16 bundleUse when validating an order for Dubai Financial Market before dispatch: the 10-digit National Investor Number, tick size and per-security price limits under UAE SCA rules, plus illustrative FIX 4.4 framing whose acceptance by DFM is unverified.
- ▌ Execution Realistic Simulation · himanshuj16 bundleUse when a backtest reports fills at the signal bar close with no slippage or fees; models a marketable order crossing the spread with latency, impact and commission. Passive resting orders need a queue-position model instead.
- ▌ Feed Handler Canary Deployment · himanshuj16 bundleUse when releasing a new market data parser and first live exposure should cover a slice of symbols only. Both decoders run in parallel, prices are audited tick by tick against the incumbent, and divergence triggers auto-rollback.
- ▌ Multi Currency Var Aggregation · himanshuj16 bundleUse when a book holds positions in several currencies and risk must not drop FX volatility or asset-FX correlation; aggregates VaR and expected shortfall across both risk factors. Linear payoffs only.
- ▌ Tail Risk Hedging With Options · himanshuj16 bundleUse when converting a stated annual premium budget into a contract count for a rolling out-of-the-money index put overlay, with Black-Scholes Greeks and the honest annual drag across rolls.
- ▌ Taiwan Stock Exchange Twse API · himanshuj16 bundleUse when a Taiwan Stock Exchange order must be legal before it reaches a securities firm: the six-band equity tick schedule of Operating Rules Article 62, lot rules, order types and short-sale status.
- ▌ Consumer Group Rebalance Safety · himanshuj16 bundleUse when trading workers consume order or tick events from a Kafka consumer group and a rebalance can move a partition mid-flight. Fences revoked partitions, drains in-flight work, and commits the next offset rather than the last processed one.
- ▌ Crypto Exchange API Integration · himanshuj16 bundleUse when a bot trades a crypto exchange rather than an equities broker, for 24/7 sessions, incompatible rate-limit models and exchange-specific order semantics. Venue-specific skills exist for Bybit, OKX, Kraken, Coinbase, Binance futures and Deribit.
- ▌ Eurex Market Data And Order API · himanshuj16 bundleUse when building an order path into Eurex over the T7 Enhanced Trading Interface, applying the directional price reasonability check against the opposite-side best, the contract minimum price change, and ETI scaled-integer encoding.
- ▌ Producer Consumer Tick Pipeline · himanshuj16 bundleUse when non-trivial work runs inside a WebSocket on_message callback and can stall the socket read loop. Moves processing off the read path so a slow database write, GC pause or inference call cannot cause a broker disconnect.
- ▌ Risk Control Dependency Mapping · himanshuj16 bundleUse when you need to know what can silently impair or bypass a risk control and what it takes down with it; maps dependencies on data, positions, clocks, state stores and venue sessions into a blast-radius graph.
- ▌ Alpaca Paper Live Key Separation · himanshuj16 bundleUse when a bot connects to the Alpaca Trading API and must never cross paper keys with the live endpoint; pins the base URL per environment, checks the key prefix, probes /v2/account and requires an explicit ALLOW_LIVE_TRADING flag.
- ▌ Backpressure Drop Degrade Policy · himanshuj16 bundleUse when a bounded tick buffer sits at capacity for sustained periods and you must choose a drop, sample or degrade policy per stream instead of inheriting a queue library's blocking default. For momentary spikes see tick-buffering-burst-handling.
- ▌ Esma Double Volume Cap Mechanism · himanshuj16 bundleUse as the waiver gate before EU dark venue selection. The named double volume cap no longer exists: Regulation 2024/791 replaced it with a single 7% Union-wide cap on the reference price waiver, enforced from ESMA-published data.
- ▌ Exchange Multicast Feed Handling · himanshuj16 bundleUse when building the sequencing layer of a co-located UDP multicast feed handler (CME MDP 3.0, MoldUDP64, Eurex T7 EMDI): A/B line arbitration, datagram re-sequencing, gap arbitration windows and venue retransmission escalation.
- ▌ Execution Algo Twap Vwap Slicing · himanshuj16 bundleUse when a parent order is large relative to typical volume and must track a schedule benchmark, splitting it into lot-aligned child orders across a time window or a volume profile with partial-fill catch-up.
- ▌ Futures Contract Roll Automation · himanshuj16 bundleUse when an open futures position must move to the next expiration before the contract becomes an obligation, triggering on volume and open-interest crossover, days to expiration and first notice day.
- ▌ Ibkr Tws Gateway Headless Launch · himanshuj16 bundleUse when an Interactive Brokers bot runs on a headless server or container: IB Gateway or TWS under Xvfb with IBC, port probes, daily reset handling, and socket readiness checks before the API session is assumed live.
- ▌ Idx Indonesia Stock Exchange API · himanshuj16 bundleUse when routing equity orders to the Indonesia Stock Exchange JATS system, enforcing four-letter tickers, Fraksi Harga tick sizes anchored to the previous close, 100-share board lots and segment designation.
- ▌ Jse South Africa API Integration · himanshuj16 bundleUse when routing equity orders to the Johannesburg Stock Exchange on LSEG Millennium Exchange, pricing in South African cents on a flat one-cent tick with whole-share lots and JSE session phases.
- ▌ Meta Strategy Signal Arbitration · himanshuj16 bundleUse when concurrent strategies emit conflicting signals on the same symbol, resolving them into one intent with risk-off vetoes, churn suppression and prevention of opposing internal orders reaching the market.
- ▌ Mt5 Python Bridge For Forex Bots · himanshuj16 bundleUse when a Python bot submits market deals to a MetaTrader 5 terminal: MqlTradeRequest construction, volume, stop and filling-mode validation against broker metadata, and TRADE_RETCODE triage. Windows x86-64 only.
- ▌ Multi Broker Rate Limit Handling · himanshuj16 bundleUse when API call volume approaches a broker's limits and risk-critical calls such as cancels must never queue behind data polling. Multi-window token buckets per endpoint class and account, strict tier priority, and structural 429 handling.
- ▌ Sec Rule 15c3 5 Risk Controls Us · himanshuj16 bundleUse when building the pre-order-entry gate a broker-dealer with market access must place in front of every order under 17 CFR 240.15c3-5: credit thresholds, single-order quantity and notional caps, and a firm-calibrated price collar, failing closed.
- ▌ Broker Agnostic Adapter Interface · himanshuj16 bundleUse when strategy code must run across several brokers and should not import kiteconnect, alpaca-py or ibapi directly; defines an adapter contract with Decimal prices, typed exceptions and normalised order status across venues.
- ▌ Broker API Changelog Diffing Tool · himanshuj16 bundleUse before upgrading a broker SDK or OpenAPI spec, to diff two schema snapshots for removed endpoints, newly required parameters, enum mutations and type changes so CI fails before the change reaches an order path.
- ▌ Bybit Derivatives API Integration · himanshuj16 bundleUse when signing Bybit V5 REST requests by hand rather than through the pybit SDK: HMAC-SHA256 over the exact bytes transmitted, a timestamp inside Bybit's asymmetric acceptance window, and the recv_window semantics.
- ▌ Correlation Aware Exposure Limits · himanshuj16 bundleUse when a book holds several instruments driven by the same sector or macro factor and per-symbol limits hide the real concentration; clusters instruments by pairwise correlation and caps aggregate exposure per cluster.
- ▌ Cross Account Aggregate Risk View · himanshuj16 bundleUse when risk is managed per sub-account and nothing measures firm-wide exposure; consolidates positions, cash and margin across accounts, enforces gross market value caps and flags internal long/short offsets.
- ▌ Data Quality Monitoring Dashboard · himanshuj16 bundleUse when monitoring feed completeness, timeliness, outliers, uniqueness and liveness across market data vendors, to catch null prices, latency spikes and stalled feeds before an algorithm trades on them.
- ▌ Hong Kong Exchange Hkex Orion API · himanshuj16 bundleUse when a Hong Kong equity, ETF, REIT, warrant or CBBC order must satisfy the SEHK rulebook before reaching the Orion Central Gateway, including the correct Part of the Second Schedule spread table for that security.
- ▌ Model Training Data Freshness Sla · himanshuj16 bundleUse as the gate immediately before a scheduled retraining job, when an upstream pipeline you do not control assembles the dataset; measures event-time ingestion lag against a target and breach ladder, netting out exchange non-publishing days.
- ▌ Multi Exchange Feed Normalization · himanshuj16 bundleUse when trade prints arrive from several venues and downstream code must not branch per venue. Maps payloads onto one canonical tick with a single symbol namespace, aggressor-side convention and timestamp timescale, failing loudly on unreadable fields.
- ▌ Multi Model Ensemble Weight Decay · himanshuj16 bundleUse when live capital is split across several forecasting models whose relative skill drifts with the regime; exponentially discounts each model's loss and information coefficient so a decayed model loses weight.
- ▌ Multi Timezone Session Scheduling · himanshuj16 bundleUse when scheduling logic references market open or close for an exchange in another time zone, resolving local trading hours to UTC across daylight saving instead of a hardcoded offset. Pair it with a holiday calendar.
- ▌ New Strategy Onboarding Checklist · himanshuj16 bundleUse when a newly researched strategy asks for its first live capital, evaluating conjunctive gates on backtest robustness, operational runtime readiness, model risk and compliance. Every field is an attestation, not a verification.
- ▌ Order Book Depth Processing L2 L3 · himanshuj16 bundleUse when maintaining a local L2 or L3 book from an already-sequenced depth feed, and reading top-of-book, weighted mid-price and depth imbalance off it under thread-safe mutation, with crossed and locked book detection.
- ▌ Paper To Live Promotion Checklist · himanshuj16 bundleUse as the final gate before a strategy routes real orders with real capital, scoring six conjunctive criteria including paper duration, trade count and slippage alignment. Every input is an observation you supply, not a verification.
- ▌ Risk Control Bypass Audit Logging · himanshuj16 bundleUse when a human can override a pre-trade or intra-trade risk control and the override must leave evidence: who requested, authorised and verified it, what was bypassed and until when. Parameter changes are audit-logging-for-configuration-changes.
- ▌ Smart Order Routing Across Venues · himanshuj16 bundleUse when splitting a parent order across lit US venues and the split must be defensible afterwards: consolidates the best accessible displayed price and ranks equally-priced venues by fee-inclusive net price. Options have their own linkage plan.
- ▌ Tick To Trade Latency Measurement · himanshuj16 bundleUse when measuring how long your own box takes to turn a tick into an order on the wire, decomposing six capture points into five labelled stages with nearest-rank percentiles. Never run it on the hot path.
- ▌ Value At Risk Var Live Monitoring · himanshuj16 bundleUse when a live book needs a portfolio loss estimate refreshed against current weights, computing parametric, historical-simulation and conditional VaR and vetoing risk-increasing orders that breach the limit.
- ▌ API Key Least Privilege Audit Tool · himanshuj16 bundleUse before deploying a live bot, to audit existing broker API keys for scopes they do not need. Flags withdrawal, transfer and admin rights that turn a leaked execution key into theft.
- ▌ B3 Brazil Exchange API Integration · himanshuj16 bundleUse when configuring B3 PUMA Trading System connectivity and choosing between the legacy FIX/FAST stack and Binary SBE; enforces the SBE gap-recovery precondition that separates them, and manages connection lifecycle state around a vendor SDK.
- ▌ Cme Globex Futures API Integration · himanshuj16 bundleUse when assembling CME Globex order entry messages yourself, to supply the Operator ID and Manual Order Indicator a message is rejected without, apply price banding and validate the fields before dispatch. This is live order entry over iLink 3.
- ▌ Crypto Wallet Key Custody Security · himanshuj16 bundleUse when a trading bot can reach private keys or withdrawal-enabled exchange credentials, so a compromise means irreversible loss; bounds the damage by auditing the declared key scope, permissions and separation.
- ▌ Exchange Tick Size Regime Tracking · himanshuj16 bundleUse when a limit price is constructed programmatically and must be a legal increment on the destination venue: SEC Rule 612 penny and sub-penny bands, and the MiFID II RTS 11 price-by-liquidity grid.
- ▌ Forex Broker Integration Oanda Mt5 · himanshuj16 bundleUse when integrating a forex broker where pip pricing, rollover and swap charges apply, over either an OANDA-style REST and streaming API or a MetaTrader 5 terminal. The MT5 order-submission path itself is mt5-python-bridge-for-forex-bots.
- ▌ Korea Exchange Krx API Integration · himanshuj16 bundleUse when routing cash-equity orders to Korea Exchange KOSPI or KOSDAQ on EXTURE 3.0, enforcing six-character short codes that may end in a letter, the revised tick size schedule and the truncated daily price limit band.
- ▌ Liquidity Adjusted Position Sizing · himanshuj16 bundleUse when sizing across instruments of very different liquidity, capping each position by average daily volume and book depth under a days-to-liquidate limit, so a position cannot be entered that cannot be exited.
- ▌ Margin Utilization Circuit Breaker · himanshuj16 bundleUse when a bot trades on margin and needs a latching halt on margin utilisation at a house budget well below the broker's liquidation point, because utilisation can spike on winning positions when requirements move.
- ▌ Multi Order Netting Before Routing · himanshuj16 bundleUse when a batch contains opposing interest in the same symbol from different strategies or desks, crossing them internally at the mid before routing the residual. Not a complete self-match control on its own.
- ▌ Nasdaq Totalview Itch Feed Parsing · himanshuj16 bundleUse when decoding Nasdaq TotalView-ITCH 5.0 add, execute, cancel, delete and replace messages to maintain a market-by-order book. MoldUDP64 framing, line arbitration and gap recovery sit upstream of this decode step.
- ▌ Nyse Arca Integrated Feed Handling · himanshuj16 bundleUse when decoding the NYSE Arca and Pillar Integrated Feed over XDP to maintain a per-order book, tracking each resting order by matching-engine order id through add, modify, delete, execute and replace messages.
- ▌ Reproducible Ml Training Pipelines · himanshuj16 bundleUse when a model will size, time or select trades and someone must later reproduce it exactly; records dataset, hyperparameters, code version and environment as SHA-256 digests and trains under scoped RNG seeding.
- ▌ Shanghai Shenzhen Connect Programs · himanshuj16 bundleUse when routing Northbound orders into Shanghai or Shenzhen A-shares through Stock Connect, enforcing the per-channel daily quota on its published net-buy formula and the SEHK pre-trade checking that backs the no-naked-short rule.
- ▌ Broker Account Margin Call Handling · himanshuj16 bundleUse when a bot trades a Reg T, portfolio or futures margin account and must act before the broker liquidates: tiered maintenance-margin warnings cross-checked against broker excess liquidity, initial-margin order gating and liquidity-aware de-leveraging.
- ▌ Broker Order Type Capability Matrix · himanshuj16 bundleUse when one strategy runs across brokers with different native order types (bracket, OCO, trailing stop, iceberg, peg, TWAP) and must decide whether to send a native type or emulate it locally while conserving the parent quantity.
- ▌ Cross Strategy Tax Lot Optimization · himanshuj16 bundleUse when several strategies trade the same securities under one US tax entity and uncoordinated sells default to the earliest lot; applies specific-lot identification with long-term-gain preference and internal netting.
- ▌ Crypto Transaction Tax Lot Tracking · himanshuj16 bundleUse when tracking US federal crypto tax lots per wallet across crypto-to-crypto swaps, DEX trades and gas fee dispositions, with FIFO, HIFO or LIFO matching and per-lot Form 8949 output.
- ▌ Demo Account Realism Gap Assessment · himanshuj16 bundleUse before promoting a paper-tested strategy to live capital, to measure how far demo fill latency, slippage, queue depth and partial-fill rates diverge from matched live executions, and derive a Sharpe haircut from the gap.
- ▌ Feature Engineering Without Leakage · himanshuj16 bundleUse when designing or auditing features for a model that predicts a future price move, to guarantee each feature is computable strictly before the target is realised; catches same-bar returns and label-derived inputs.
- ▌ Feature Importance Drift Monitoring · himanshuj16 bundleUse when a live model has a recorded training-time importance profile and you want early warning that regimes have reordered its drivers; measures what the model leans on, not whether it still makes money.
- ▌ Job Posting Data As A Growth Signal · himanshuj16 bundleUse when building a fundamental growth feature from web-scraped job postings, measuring quarter-on-quarter hiring velocity and engineering role mix while penalising stale ghost listings.
- ▌ Mifid Ii Algo Trading Compliance Eu · himanshuj16 bundleUse when an algorithmic trading firm must meet EU MiFID II RTS 6 obligations for orders sent to any EU or EEA trading venue: pre-trade controls, kill functionality that cancels unexecuted orders, testing, and the annual self-assessment.
- ▌ Multi Account Same Strategy Fan Out · himanshuj16 bundleUse when one master signal must be split across sub-accounts and the per-account quantities must sum exactly to the parent, with deterministic collision-free client order IDs and an auditable pro-rata allocation record.
- ▌ Real Time Liquidity Risk Monitoring · himanshuj16 bundleUse when a risk report computed at mid-price says nothing about the cost of getting out; measures days to liquidate at a participation cap, spread spikes, depth collapse and a liquidity-adjusted VaR add-on. Funding liquidity is separate.
- ▌ Risk Control Unit Testing Framework · himanshuj16 bundleUse before promoting a change to a pre-trade risk control, to run positive, boundary, breach and malformed-input cases and check the engine still rejects exactly what it should, matching triggered rule ids.
- ▌ Risk Limit Breach Escalation Matrix · himanshuj16 bundleUse when a breach needs a proportionate response rather than a binary halt; maps breach ratio and duration onto a severity ladder returning the action your enforcement layer should take.
- ▌ Upstox OAUTH Refresh Token Rotation · himanshuj16 bundleUse when holding an Upstox API v2 or v3 access token across time. Upstox issues no refresh token and the access token dies at 03:30 IST daily, so this covers expiry derivation, single-flight daily re-authentication and atomic persistence.
- ▌ Web Scraped Sentiment Data Pipeline · himanshuj16 bundleUse when scraped financial text must become a point-in-time sentiment feature for a ticker, cleaning markup and entity noise, scoring against a verified finance lexicon and deduplicating syndicated copy.
- ▌ Alternative Data Feature Integration · himanshuj16 bundleUse when turning an alternative data source into model features and the event date differs from the date your fund actually received the data; enforces point-in-time lag mapping from knowledge date so the feature cannot see the future.
- ▌ Automated Tax Lot Reporting Pipeline · himanshuj16 bundleUse when turning raw execution records into capital-gains reports at scale, matching sells against an open-lot ledger under FIFO or highest-in-first-out. Method comparison across FIFO, LIFO, HIFO and specific identification is fifo-vs-specific-lot-tax-accounting-methods.
- ▌ Best Execution Record Keeping Global · himanshuj16 bundleUse when execution quality must be screened against a benchmark and every screening decision retained as tamper-evident evidence under MiFID II Article 27 and FINRA Rule 5310. A screen that flags outliers, not a determination that best execution was achieved.
- ▌ Broker Side Order Throttle Detection · himanshuj16 bundleUse when a venue queues excess order messages instead of rejecting them, so congestion shows up only as acknowledgement latency. Detects undeclared throttling from an EWMA ACK round-trip baseline and paces dispatch with AIMD backoff.
- ▌ Close Auction Participation Strategy · himanshuj16 bundleUse when providing contra-side liquidity into a US closing cross against a published imbalance feed, or executing a rebalance at the official closing price with price protection. The opening cross is opening-auction-imbalance-based-execution.
- ▌ Colocation Latency Budget Accounting · himanshuj16 bundleUse when profiling the in-host hot path of a co-located server, decomposing NIC ingress to NIC egress into nanosecond phases and auditing each trace against its stage budget. Everything outside the box is a different skill.
- ▌ Cross Margining Across Asset Classes · himanshuj16 bundleUse when correlated positions sit at different clearing houses and you want to estimate the initial-margin offset and capital efficiency an approved cross-margining arrangement would give. Not the clearing house's own number.
- ▌ Deutsche Borse Xetra API Integration · himanshuj16 bundleUse when building an order path into Deutsche Boerse Xetra over the T7 Enhanced Trading Interface, validating RTS 11 tick size by liquidity band and the ETI field domains client-side before the message leaves your process.
- ▌ Moscow Exchange Moex API Integration · himanshuj16 bundleUse when a trading system must be structurally prevented from routing to a sanctioned venue while keeping a documented, reviewable adapter on file. Moscow Exchange and its OFAC-designated CCP are the worked example of the fail-closed gate.
- ▌ Multi Currency Pnl And Fx Conversion · himanshuj16 bundleUse when a book holds positions in more than one currency and P&L must not be summed across units, resolving point-in-time FX rates and separating trading result from currency translation.
- ▌ Order Book Imbalance Signal Pipeline · himanshuj16 bundleUse when a strategy trades on the relative size of resting queues. Computes signed top-of-book and depth-aggregated imbalance plus the imbalance-weighted mid, rejecting crossed books and out-of-order updates before a signal reaches execution.
- ▌ Physical Vs Cash Settlement Handling · himanshuj16 bundleUse on a position in an expiring contract, to resolve what the account is obliged to do and by when: a long pays an invoice, a short must present the deliverable, and cash settlement does neither.
- ▌ Robinhood Unofficial API Integration · himanshuj16 bundleUse when assessing programmatic access to a Robinhood account. Its Customer Agreement requires express written consent before any API reaches the account, and sanctioned alternatives now exist, so the contractual finding usually settles it.