
    Cj                        d Z ddlZej                            dd          ZdZej                            dd          Zej                            dd	          Zd
Zej                            dd          Z	 e
ej                            dd                    Zej                            dd          Zej                            dd          Zej                            dd          ZdS )u,  
Configuration for the TD Slope params server.

DELIBERATE DESIGN CHOICE: this service uses its OWN shared secret,
separate from the license-validation secret already embedded in
LicenseValidator.mqh. Reasons:

  1. Blast radius — if this secret ever leaks (e.g. a sloppy log line,
     a compromised dev machine), it only exposes the params feed, not
     the license-validation channel that gates whether the EA runs at
     all. Keeping them separate means a leak here can't be used to
     forge VALID license responses, and vice versa.
  2. This endpoint will eventually carry walk-forward parameters —
     arguably more commercially sensitive (the actual edge) than the
     license check itself. Worth not entangling its security with a
     channel that already exists and works.
  3. If you'd rather reuse the existing license secret instead, that's
     possible too — the existing secret CAN be recovered by replaying
     LicenseValidator.mqh's exact XOR-decode routine against the
     _LV_OS/_LV_XK byte arrays already in that file. Just say so and
     I'll do that instead of minting a new one. Defaulting to a new,
     separate secret unless told otherwise.

Set real values via environment variables in production — never commit
real secrets to source control. The values below are placeholders.
    NTD_PARAMS_SHARED_SECRET5REPLACE_ME_WITH_A_REAL_RANDOM_SECRET_BEFORE_DEPLOYINGi,  TD_PARAMS_DATA_DIRz./data/paramsTD_PARAMS_SYMBOLS_PATHz./data/symbol_synonyms.json   TD_PARAMS_DB_HOSTz	127.0.0.1TD_PARAMS_DB_PORT3306TD_PARAMS_DB_USERparamsreaderTD_PARAMS_DB_PASS	CHANGE_METD_PARAMS_DB_NAMETradeSimulatorLicense)__doc__osenvirongetPARAMS_SHARED_SECRETMAX_TIMESTAMP_SKEW_SECONDSPARAMS_DATA_DIRSYMBOL_SYNONYMS_PATHMAX_PARAMS_AGE_DAYSLICENSE_DB_HOSTintLICENSE_DB_PORTLICENSE_DB_USERLICENSE_DB_PASSLICENSE_DB_NAME     /wd/td-params-server/config.py<module>r#      s    6 
			
 z~~;   ! 
 *..!5GG z~~;     *..!4kBB#bjnn%8&AABB*..!4nEE*..!4kBB*..!46MNNr!   