all publishers

HimanshuJ16

@himanshuj16 source repo

512 published skills · page 4 of 6

  1. ▌
    Transaction Cost Analysis Tca Integration · himanshuj16 bundle
    Use when validating whether a backtested edge survives execution, decomposing implementation shortfall into delay, spread cross, square-root impact, commission and opportunity cost, and comparing estimated against realised.
    1 install
  2. ▌
    Us Reg Sho Short Sale Locate Requirements · himanshuj16 bundle
    Use when building the pre-trade gate between an equity strategy and a US venue under SEC Regulation SHO: Rule 200(g) order marking, the Rule 203(b)(1) locate requirement, and the Rule 201 price test when a circuit breaker is in effect.
    1 install
  3. ▌
    Walk Forward Hyperparameter Search Budget · himanshuj16 bundle
    Use when walk-forward optimisation would otherwise run tens of thousands of parameter combinations per window; bounds and audits the cumulative trial count that drives selection bias. It never sees a performance number.
    1 install
  4. ▌
    Adaptive Execution Under Volatility Spikes · himanshuj16 bundle
    Use before each child-order decision in a TWAP, VWAP or POV schedule when a volatility spike should bound participation, child size and limit offset; fails closed when the volatility feed is stale or missing.
    1 install
  5. ▌
    Adaptive Sampling Under Extreme Tick Rates · himanshuj16 bundle
    Use when a trade-tick stream exceeds a consumer's measured processing ceiling and you must emit 1:N samples that still preserve traded volume and notional. Not for order-book, quote or compliance feeds that need every message.
    1 install
  6. ▌
    Backtest Audit Trail For Regulatory Review · himanshuj16 bundle
    Use when a backtest result needs a durable record of exactly what produced it: git commit SHA, per-file data checksums, hyperparameter manifest and environment, signed with HMAC for integrity against outsiders.
    1 install
  7. ▌
    Benchmark Relative Performance Attribution · himanshuj16 bundle
    Use when a strategy must be judged against a benchmark index rather than on raw return: alpha, beta, tracking error, information ratio and Brinson-Fachler allocation and selection effects. Multi-factor attribution with inference is strategy-performance-attribution-vs-market-beta.
    1 install
  8. ▌
    Clock Drift Monitoring Alerting Thresholds · himanshuj16 bundle
    Use when a host stamping reportable events must prove its clock stays inside the MiFID II RTS 25 divergence limit for that activity, evaluating PTP offset and daemon state and latching a halt on breach. Disciplining the clock is a separate skill.
    1 install
  9. ▌
    Concept Drift Vs Staleness Differentiation · himanshuj16 bundle
    Use when a live signal degrades and you must decide what to fix, separating concept drift in the conditional relationship, covariate shift in the feature distribution, and plain data staleness, since each calls for a different remedy.
    1 install
  10. ▌
    Counterparty And Broker Concentration Risk · himanshuj16 bundle
    Use when cash, collateral and positions sit at several prime brokers or exchanges and no one number says how much is at any single one; enforces NAV exposure caps and CDS spread bounds, and returns an advisory routing decision.
    1 install
  11. ▌
    Data Vendor Cross Validation For Backtests · himanshuj16 bundle
    Use before trusting a single vendor's history, to cross-check OHLCV bars against a genuinely independent second source for price discrepancies, phantom volume, stale prints and missing-bar coverage.
    1 install
  12. ▌
    Dependency Pinning And Reproducible Builds · himanshuj16 bundle
    Use when auditing a requirements file before it is used with pip hash-checking mode, to verify exact == pins and valid strong hashes. It audits; resolving versions is pip-compile or uv with generate-hashes.
    1 install
  13. ▌
    Execution Cost Model Recalibration Cadence · himanshuj16 bundle
    Use when a pre-trade cost model feeds sizing or venue choice and you must know whether it still tracks reality; audits its error and systematic bias against realised shortfall and refits the spread and impact terms.
    1 install
  14. ▌
    Feature Store For Live And Backtest Parity · himanshuj16 bundle
    Use when a model trains offline on bars and serves online on a stream, and two separate feature code paths would drift apart; one shared computation engine plus a numeric parity check between batch and streaming output.
    1 install
  15. ▌
    Global Macro Economic Calendar Integration · himanshuj16 bundle
    Use when a live system must stop quoting around scheduled macro releases such as FOMC, CPI and payrolls, resolving release timestamps across daylight saving and resuming only when the window has genuinely closed.
    1 install
  16. ▌
    Graceful Shutdown Draining In Flight Ticks · himanshuj16 bundle
    Use when redeploying or restarting tick workers under SIGTERM and in-flight queue entries, sink writes and consumer offsets must not be lost. Drains data queues; open orders and positions need an explicit unwind decision first.
    1 install
  17. ▌
    Insider Transaction Filing Signal Research · himanshuj16 bundle
    Use when building an equity factor from SEC Form 4 insider filings, scoring open-market purchases and sales on the EDGAR dissemination timestamp rather than the trade date and weighting by the filer's role.
    1 install
  18. ▌
    Kraken Websocket V2 Auth And Subscriptions · himanshuj16 bundle
    Use when a bot connects to Kraken Spot WebSocket v2: signs the REST call that mints the token, builds validated subscribe frames, routes each channel to the right endpoint and respects the token's 900-second use window.
    1 install
  19. ▌
    Online Learning For Adaptive Signal Models · himanshuj16 bundle
    Use when a live linear signal model must update observation by observation because the relationship moves faster than the retraining cadence; LMS, normalised LMS or recursive least squares with forgetting.
    1 install
  20. ▌
    Opportunity Cost Tracking For Idle Capital · himanshuj16 bundle
    Use when unallocated cash sits earning less than a money-market benchmark, measuring the drag as the spread against that benchmark and sizing the sweepable balance net of margin requirements.
    1 install
  21. ▌
    Order To Trade Ratio Fee Penalty Avoidance · himanshuj16 bundle
    Use when unexecuted order traffic is subject to a venue order-to-trade ratio limit or surcharge, computing the count and volume ratios per instrument on the regulatory definition. The venue computes the official number.
    1 install
  22. ▌
    Position Limit Reporting Cftc Large Trader · himanshuj16 bundle
    Use for self-surveillance of US futures and options positions against CFTC large-trader reporting levels in 17 CFR 15.03 and Part 150 speculative position limits, aggregating sub-accounts before the carrying broker reports.
    1 install
  23. ▌
    Post Only And Maker Taker Fee Optimization · himanshuj16 bundle
    Use when a limit order must rest rather than execute as a taker. Builds the post-only payload each venue actually accepts (Binance LIMIT_MAKER and GTX, Bybit PostOnly, Coinbase post_only, Kraken oflags=post, FIX ExecInst 6) and refuses marketable prices.
    1 install
  24. ▌
    Questrade API Rate Limit And Account Types · himanshuj16 bundle
    Use when integrating the Questrade IQ API: single-use refresh-token rotation inside a 7-day validity window, the per-session api_server URL, and category rate limits of 30/second for account calls and 20/second for market data.
    1 install
  25. ▌
    Queue Position Modeling For Passive Orders · himanshuj16 bundle
    Use when resting liquidity in a strict price-time book and you need to know how much volume is still ahead of your order and what that is worth, tracking fills and cancels as they consume the level.
    1 install
  26. ▌
    Recovery Plan For Lost Or Compromised Keys · himanshuj16 bundle
    Use when auditing in peacetime whether the key-loss and key-compromise recovery plan would actually work, checking backup integrity, Shamir shard sufficiency, quorum distribution and emergency sweep readiness.
    1 install
  27. ▌
    Regional Broker Data Residency Constraints · himanshuj16 bundle
    Use when choosing where to run a process that connects to a broker in a specific national market. Separates enforced controls such as SEBI static-IP whitelisting from hosting-region mandates that do not actually bind the deploying entity.
    1 install
  28. ▌
    Risk Metric Recalculation Frequency Tuning · himanshuj16 bundle
    Use when a real-time risk engine cannot recompute every metric on every tick; assigns metrics to cadence tiers and accelerates them under stress. Never use it to defer a per-order pre-trade check.
    1 install
  29. ▌
    Smart Contract Approval Scope Minimization · himanshuj16 bundle
    Use when a bot grants ERC-20 spending rights to a DeFi protocol, refusing unlimited allowances and sizing each approval to the exact transaction notional, with expiring Permit2 allowances preferred where available.
    1 install
  30. ▌
    Websocket Reconnection With State Recovery · himanshuj16 bundle
    Use when a long-lived venue WebSocket must reconnect and then prove downstream state still matches: bounded jittered backoff, deterministic re-subscription from desired state, and fail-closed sequence-gap recovery that withholds messages until filled.
    1 install
  31. ▌
    Zerodha Kite Postback Webhook Verification · himanshuj16 bundle
    Use when consuming Zerodha Kite order postbacks. The SHA-256 checksum covers only order_id, order_timestamp and api_secret, so status, filled_quantity and average_price arrive unauthenticated and a verified postback only triggers reconciliation.
    1 install
  32. ▌
    Auction Only Order Types For Illiquid Names · himanshuj16 bundle
    Use when a large block in an illiquid equity would walk the book during continuous trading, and limit-on-close or market-on-close orders move it at the auction instead. Trading against a published imbalance is close-auction-participation-strategy.
    1 install
  33. ▌
    Benchmark Selection For Strategy Evaluation · himanshuj16 bundle
    Use when choosing which index to evaluate a strategy against, before any attribution runs; screens candidate benchmarks by tracking error, beta and R-squared so a tech-heavy book is not flattered by a broad index or a cash rate.
    1 install
  34. ▌
    Clock Synchronization Ptp For Trading Hosts · himanshuj16 bundle
    Use when standing up or auditing the time-sync stack itself on a Linux trading host: NIC hardware timestamping, ptp4l against the grandmaster profile and phc2sys to the system clock, with linuxptp telemetry parsed as reported.
    1 install
  35. ▌
    Corporate Action Event Calendar Integration · himanshuj16 bundle
    Use when ingesting corporate action calendars and tracking the declaration, ex-date, record date and payment date lifecycle to compute dividend entitlements and audit vendor feed parity. Building adjusted prices is corporate-action-adjusted-backtesting.
    1 install
  36. ▌
    Credit Default Swap Basics For Algo Context · himanshuj16 bundle
    Use when integrating credit default swap metrics into a strategy or capital-structure arbitrage: hazard rates, implied default probability, indicative upfront on the post-2009 fixed-coupon convention, and risky annuity.
    1 install
  37. ▌
    Cross Asset Hedge Execution Synchronization · himanshuj16 bundle
    Use when a primary leg fill must be hedged immediately in another asset, as in delta hedging, convertible arbitrage or ETF basis trading, enforcing latency bounds so legging risk does not open between the two.
    1 install
  38. ▌
    Cross Sectional Vs Time Series Model Design · himanshuj16 bundle
    Use when choosing between a cross-sectional model that ranks instruments against peers at one timestamp and a time-series model that scores each instrument against its own history; the two imply different neutrality and sizing.
    1 install
  39. ▌
    Eu Market Abuse Regulation Mar Surveillance · himanshuj16 bundle
    Use when screening EU or EEA order and trade batches for wash trading, spoofing, layering and quote stuffing under Regulation 596/2014 Article 16, producing suspicious transaction and order report candidates. The UK applies its own assimilated regime.
    1 install
  40. ▌
    Execution Algorithm Kill Switch Integration · himanshuj16 bundle
    Use when building the component that executes an emergency stop in an order gateway or algorithm: latches order entry shut before dispatching cancels, sends mass-cancel per venue and tracks acknowledgements. Authorisation happens upstream.
    1 install
  41. ▌
    Factor Research Multiple Testing Correction · himanshuj16 bundle
    Use when a research pipeline screens many candidate factors and selection rests on t-statistics or p-values. Bonferroni and Holm bound family-wise error; Benjamini-Hochberg and BHY bound false discovery rate under dependence; plus the Harvey-Liu-Zhu t-hurdle.
    1 install
  42. ▌
    Feed Handler Cpu Pinning And Numa Awareness · himanshuj16 bundle
    Use when a feed handler or execution loop shows latency jitter unrelated to market activity. Pins workers to chosen cores and confirms pages are resident on the local NUMA node, removing scheduler migration and cross-socket interconnect hops.
    1 install
  43. ▌
    Fifo Vs Specific Lot Tax Accounting Methods · himanshuj16 bundle
    Use when a US sell must be matched against an inventory of open tax lots and the method changes the answer: FIFO, LIFO, HIFO or specific identification, with per-lot short-term and long-term gain classification.
    1 install
  44. ▌
    Historical Tick Data Storage And Compaction · himanshuj16 bundle
    Use when designing a tick archive that must stay affordable, delta-encoding timestamps and prices, laying columns out for compression, choosing a Parquet codec and tiering partitions by age.
    1 install
  45. ▌
    Label Noise Estimation In Financial Targets · himanshuj16 bundle
    Use when a binary financial target such as a triple-barrier or fixed-horizon label is mislabelled by microstructure noise; confident learning estimates the noise transition matrix and flags suspect samples before training.
    1 install
  46. ▌
    Market Data Feed Arbitration Across Vendors · himanshuj16 bundle
    Use when a strategy prices off two independent vendors for the same instrument and must decide per tick whether a tradeable, cross-verified price exists. Covers divergence tolerance, stale and frozen feed quarantine, and total blackout.
    1 install
  47. ▌
    Model Card Documentation For Trading Models · himanshuj16 bundle
    Use when a trading model is promoted, revalidated or handed to someone who did not build it; a structured record of identity, intended and out-of-scope uses, training data, evaluation, known failure modes and owner.
    1 install
  48. ▌
    Multi Asset Backtest Currency Normalization · himanshuj16 bundle
    Use when a backtest holds assets in several currencies and P&L must be reported in one; converts cash flows and valuations at dated rates instead of summing unconverted numbers, which silently mixes currencies.
    1 install
  49. ▌
    Multi Timeframe Backtest Consistency Checks · himanshuj16 bundle
    Use when a strategy trades bars it did not receive natively, resampled or vendor-supplied, to rebuild them from higher-resolution data and compare; catches boundary-anchor, gap and aggregation errors.
    1 install
  50. ▌
    Point In Time Database For Ml Training Data · himanshuj16 bundle
    Use when assembling a feature and label matrix, to as-of join features on the knowledge axis so no row carries a restated value that was not knowable at the label timestamp. The storage schema itself is backtest-database-schema-for-point-in-time-queries.
    1 install
  51. ▌
    Reference Data Change Notification Pipeline · himanshuj16 bundle
    Use when an instrument-master record is refreshed and something downstream will act on it, separating identity and routing changes such as symbol or ISIN from order-construction changes such as lot size or tick size.
    1 install
  52. ▌
    Risk Budget Allocation Across Time Horizons · himanshuj16 bundle
    Use when one account runs intraday through multi-week strategies and the portfolio volatility budget must be split across horizon sleeves, deriving each sleeve's volatility target and position-size scalar.
    1 install
  53. ▌
    Scenario Based Stress Testing Custom Shocks · himanshuj16 bundle
    Use when revaluing a factor-mapped book under deterministic multi-factor shocks with betas and durations, whether a historical crisis or a hypothetical. Per-symbol replay of a past crash is stress-testing-against-historical-crash-scenarios.
    1 install
  54. ▌
    Smart Order Router Failover On Venue Outage · himanshuj16 bundle
    Use when a router sends live orders to several venues and must keep working when one stops: per-venue circuit breakers with cooldown and single-probe recovery, stale-quote exclusion, and demotion of recovering venues.
    1 install
  55. ▌
    Synthetic Labels From Triple Barrier Method · himanshuj16 bundle
    Use when the supervised target must reflect the path rather than the endpoint; labels each event by which barrier it touches first, a volatility-scaled profit target, a stop, or a time limit.
    1 install
  56. ▌
    Uk Fca Algorithmic Trading Systems Controls · himanshuj16 bundle
    Use when building the order-entry gate for algorithmic trading into a UK venue under FCA Handbook MAR 7A.3.2R and RTS 6 Article 15. RTS 6 prescribes no numeric limits; the firm sets them from its capital base and clearing arrangements.
    1 install
  57. ▌
    Us Reg Nms Order Protection Rule Compliance · himanshuj16 bundle
    Use when an execution in a US NMS stock must be tested after the fact against the protected quotations displayed when it printed, under SEC Regulation NMS Rule 611 and the surveillance duty in Rule 611(a)(2). Post-trade surveillance, not a router control.
    1 install
  58. ▌
    Walk Forward Optimization Window Management · himanshuj16 bundle
    Use when generating the rolling or anchored in-sample and out-of-sample windows for parameter optimisation, separated by a purge and embargo gap, and computing walk-forward efficiency across them.
    1 install
  59. ▌
    Warrants And Structured Product Integration · himanshuj16 bundle
    Use when pricing, hedging or marking listed covered warrants and Turbo warrants or CBBCs on HKEX, Euronext, SGX or Borsa Italiana, including the knock-out barrier that Turbos carry and covered warrants do not.
    1 install
  60. ▌
    Adjusted Vs Unadjusted Price Series Pitfalls · himanshuj16 bundle
    Use before loading historical OHLCV into a backtest, to declare and verify the adjustment mode; separates raw, split-adjusted and total-return conventions and catches split, dividend and continuity errors in vendor adjustment factors.
    1 install
  61. ▌
    Air Gapped Signing Workflow For Cold Storage · himanshuj16 bundle
    Use when moving crypto out of cold storage and the signing key must never touch an internet-connected machine; models the round trip where an intent crosses a QR or SD gap and the offline vault re-derives the approval display itself.
    1 install
  62. ▌
    Binance Futures Testnet To Mainnet Promotion · himanshuj16 bundle
    Use when a Binance Futures strategy moves from testnet to mainnet, where the same code pointed at a different host reaches real leveraged capital; binds each base URL to its environment, separates credentials and fails closed on a mismatch.
    1 install
  63. ▌
    Capacity Planning For Symbol Universe Growth · himanshuj16 bundle
    Use before expanding a strategy from a small basket to a large universe, to forecast CPU, memory and network bandwidth from per-symbol measurements. A first-order procurement estimate, not a load test.
    1 install
  64. ▌
    Chaos Engineering For Trading Infrastructure · himanshuj16 bundle
    Use when failover, timeout and gap-recovery paths have never actually run under fault; injects reproducible latency, message loss and simulated process death at an I/O boundary, behind an activation gate and never near live capital.
    1 install
  65. ▌
    Circuit Breaker For Downstream Service Calls · himanshuj16 bundle
    Use when a trading process calls a non-order dependency (reference data, an alt-data vendor, an internal microservice) that can hang and exhaust threads and connection pools. Never wrap order submission or cancels with it.
    1 install
  66. ▌
    Convertible Bond Arbitrage Data Requirements · himanshuj16 bundle
    Use when defining the data contract for a convertible bond arbitrage strategy and computing the screening metrics on top of it: parity, conversion premium, bond floor from the issuer credit spread, delta hedge size and net carry.
    1 install
  67. ▌
    Counterparty Credit Risk For Otc Derivatives · himanshuj16 bundle
    Use when trading bilateral OTC derivatives outside central clearing, to compute current exposure, potential future exposure and credit valuation adjustment across ISDA netting sets with CSA collateral terms.
    1 install
  68. ▌
    Cross Region Data Replication Lag Monitoring · himanshuj16 bundle
    Use when a multi-region database or event stream can serve a stale read to a trading process, measuring replication lag against P95 and P99 targets and recommending a read failover before the staleness matters.
    1 install
  69. ▌
    Earnings Call Transcript Nlp Signal Research · himanshuj16 bundle
    Use when building an equity feature from earnings call transcripts, scoring financial sentiment with a finance-specific lexicon and measuring the tone gap between scripted remarks and the spontaneous analyst question session.
    1 install
  70. ▌
    Exchange Matching Engine Behavior Under Load · himanshuj16 bundle
    Use when estimating how much extra delay a matching engine adds as inbound message rates approach its capacity, and converting that utilisation into a quoting directive. A closed-form model, not telemetry.
    1 install
  71. ▌
    Exchange Self Match Prevention Configuration · himanshuj16 bundle
    Use when several order-generating processes under one beneficial owner quote the same instrument on the same venue, configuring native self-match prevention such as the CME iLink and FIX identifier and instruction fields.
    1 install
  72. ▌
    Execution Algorithm Regression Testing Suite · himanshuj16 bundle
    Use before promoting a change to an execution algorithm, replaying the candidate build against a recorded baseline across required stress scenarios and failing the build if implementation shortfall got measurably worse.
    1 install
  73. ▌
    Finra Algo Trading Registration Requirements · himanshuj16 bundle
    Use when a FINRA member deploys or materially changes an automated trading system, to decide whether Rule 1220(b)(4) Securities Trader registration is triggered for the person primarily responsible for its design or modification.
    1 install
  74. ▌
    Fpga Based Market Data Processing Evaluation · himanshuj16 bundle
    Use when deciding between continuing to optimise a kernel-bypass CPU path and buying an FPGA SmartNIC tick-to-trade path, checking that the two latency profiles were measured on the same basis before comparing them.
    1 install
  75. ▌
    Hong Kong Sfc Algorithmic Trading Guidelines · himanshuj16 bundle
    Use when an algorithmic system or DMA gateway sends orders to the Stock Exchange of Hong Kong and must satisfy SFC Code of Conduct paragraph 18 and Schedule 7 electronic trading requirements. The SFC sets no numeric limits; you calibrate them.
    1 install
  76. ▌
    Hyperparameter Tuning Without Target Leakage · himanshuj16 bundle
    Use when a search selects hyperparameters for a model whose labels are forward-looking and overlapping, such as h-bar returns or triple-barrier outcomes; purged and embargoed nested cross-validation so the selection folds stay clean.
    1 install
  77. ▌
    India Sebi Algo Trading Tagging Requirements · himanshuj16 bundle
    Use when a broker, empanelled algo provider or tech-savvy retail client sends algorithmic orders to NSE, BSE or MCX under the SEBI circular of 4 February 2025, covering algorithm tagging, registration and order-per-second thresholds. Direct market access flow is excluded.
    1 install
  78. ▌
    Multi Signature Approval For Large Transfers · himanshuj16 bundle
    Use when a large crypto transfer needs independent human authorisation before it proceeds, binding each approval to a hash of the exact payload reviewed and counting only registered signers across distinct devices.
    1 install
  79. ▌
    Position Limit Breach Simulation Fire Drills · himanshuj16 bundle
    Use when scheduling fire drills that inject a synthetic over-limit position into a non-production risk stack and grade whether the pre-trade gate, post-trade control, kill switch and alerting all behaved. A grader, not a control.
    1 install
  80. ▌
    Post Only Limit Repricing Under Fast Markets · himanshuj16 bundle
    Use when post-only limit orders are submitted into a book that moves between reading the best bid and offer and the order arriving; guarantees a strictly passive, tick-aligned price client-side and bounds the reprice rate.
    1 install
  81. ▌
    Reference Data Symbol Mapping Across Vendors · himanshuj16 bundle
    Use when data from several vendors must join on the same instrument across tickers, RICs, ISINs, CUSIPs, SEDOLs and FIGIs, resolving each to one canonical internal symbol point-in-time and back again.
    1 install
  82. ▌
    Runbook Automation For Common Incident Types · himanshuj16 bundle
    Use when monitoring already classifies a trading incident and the first minute of response should be a pre-approved sequence rather than improvisation. It executes a runbook; it does not decide whether the alert is real.
    1 install
  83. ▌
    Segregation Of Duties For Custody Operations · himanshuj16 bundle
    Use when a custody transfer release must require more than one person in a form an auditor can read: maker-checker, a role-conflict matrix at registration, and a self-approval block that surviving a role change cannot bypass.
    1 install
  84. ▌
    Survivorship Bias Free Universe Construction · himanshuj16 bundle
    Use when a backtest needs the instruments actually tradable on each historical date, keeping delisted, bankrupt and acquired names in history and settling their terminal cash value rather than dropping them.
    1 install
  85. ▌
    Swiss Finma Algorithmic Trading Expectations · himanshuj16 bundle
    Use when a firm runs algorithmic trading as an admitted SIX Swiss Exchange participant and must evidence the controls the Swiss framework requires: per-algorithm order flagging, notification to the Exchange, and order-to-transaction ratio limits.
    1 install
  86. ▌
    Vendor Outage Fallback Data Source Hierarchy · himanshuj16 bundle
    Use when the same instrument comes from several vendors at different quality tiers and a live process must pick one on every tick, with priority-ranked failover on staleness and outage. It picks a source; it does not compare them.
    1 install
  87. ▌
    Algorithmic Trading Firm Licensing Thresholds · himanshuj16 bundle
    Use when auditing whether a proprietary trading firm has crossed a quantitative registration trigger: the 17 CFR 240.15b9-1 conditions for FINRA membership exemption, the MiFID II Article 19 message-rate test, and the SEBI limbs.
    1 install
  88. ▌
    Asic Market Integrity Rules Automated Trading · himanshuj16 bundle
    Use when building the Automated Order Processing gate an Australian market participant must place in front of every trading message, under ASIC Market Integrity Rules 2017 Part 5.6: reject-outcome filters on value, volume and price.
    1 install
  89. ▌
    Binary Protocol Parsing For Low Latency Feeds · himanshuj16 bundle
    Use when decoding fixed-layout binary market data by byte offset (NASDAQ ITCH, CME MDP 3.0 SBE, Eurex T7 EMDI): frame validation, message-type dispatch, fixed-point tick prices and zero-copy buffer walking that fails loud.
    1 install
  90. ▌
    Calendar Spread And Multi Leg Order Atomicity · himanshuj16 bundle
    Use when executing a multi-leg strategy on a venue with no native combination instrument, managing legging risk when one leg fills and the market moves before the other. A native spread instrument makes this unnecessary.
    1 install
  91. ▌
    Dark Pool Routing Logic · himanshuj16 bundle
    Use when slicing a block into non-displayed venues and a counterparty could probe the resting size; enforces anti-pinging minimum quantity thresholds and filters venues by self-measured post-trade markout.
    1 install
  92. ▌
    Okx Unified Account API · himanshuj16 bundle
    Use when a bot signs OKX v5 private endpoints or sizes orders on a Unified Account: the prehash signing string, live and demo separation via the simulated-trading header, and tiered multi-currency margin ratio arithmetic.
    1 install
  93. ▌
    Tase Israel Exchange API · himanshuj16 bundle
    Use when routing orders to or scheduling activity against the Tel Aviv Stock Exchange, which moved to a Monday-Friday trading week on 5 January 2026, with Asia/Jerusalem session resolution across IST and IDT.
    1 install
  94. ▌
    Model Staleness Detection · himanshuj16 bundle
    Use when an ML signal model is already live and needs continuous health monitoring: rolling realised accuracy with a confidence bound, binned PSI feature drift against the training baseline, and a sizing multiplier that decays as it degrades.
    1 install
  95. ▌
    Deribit Crypto Options API · himanshuj16 bundle
    Use when trading Deribit inverse coin-settled BTC and ETH options: JSON-RPC 2.0 payload construction with post_only and order labels, coin-to-USD premium conversion, and portfolio Greeks including the coin-settlement term.
    1 install
  96. ▌
    Lookahead Bias Elimination · himanshuj16 bundle
    Use when writing or auditing backtest code, to ensure no signal or decision uses information unavailable at the decision timestamp, starting with a bar's own close. Universe-selection lookahead is backtest-look-ahead-in-universe-selection.
    1 install
  97. ▌
    Schwab API OAUTH Pkce Flow · himanshuj16 bundle
    Use when authenticating against the Charles Schwab Trader API or migrating off TD Ameritrade. Schwab documents a confidential-client authorization-code flow with HTTP Basic auth and no code_challenge, plus a 7-day refresh ceiling.
    1 install
  98. ▌
    Tastytrade API Integration · himanshuj16 bundle
    Use when building or migrating a Tastytrade options or futures bot. Session-token authentication was discontinued on 2025-12-01 in favour of an OAuth2 refresh-token grant, and equity options use the 21-character OCC symbol layout.
    1 install
  99. ▌
    Wash Sale Rule Tracking Us · himanshuj16 bundle
    Use when a US taxable account realises losses and re-enters the same security within 61 days, so IRC 1091 disallows the loss: FIFO lot matching, replacement-window scanning, basis carry-forward and the Form 1099-B boxes.
    1 install
  100. ▌
    Lse Millennium Exchange API · himanshuj16 bundle
    Use when validating an order for the London Stock Exchange order book before dispatch: the TIDM mnemonic format, the per-instrument trading currency including pence versus pounds, and the applicable tick band.
    1 install