
    >i                        d dl Z d dlmZ  ee      j                  Zedz  Zedz  Zedz  Zedz  Z	edz  Z
edz  Zed	z  Zed
z  Zeee	e
eeefD ]  Zej                  dd        dZdZdZdZdZdZdddddddddddddddddddddddddddddddZdZdZdZdZg d g d!g d"g d#g d$g d%g d&g d'g d(d)	Zg Zej;                         D ]  Zej?                  e        i d*g d+d,g d-d.g d/d0g d1d2g d3d4g d5d6g d7d8g d9d:g d;d<g d=d>g d?d@g dAdBg dCdDdEdFgdGg dHdIdJdKgdLg dMg dNg dOdPdQgdRdSgg dTg dUg dVg dWg dXg dYg dZg d[g d\d]Z i d^d_d`d_dadbdcdbdddbdedfdgdfdhdfd:dbdidbdjdfdkdfd<dfd0dld2dldmdldndldldododododpZ!g dqg drg dsg dtduZ"ej?                  g dv       i dwg dxdyg dzd{g d|d}g d~dg ddg dddgdg ddg ddddgdg ddg ddg ddg ddg ddg ddg dddgddgdZ#g dZ$dZ%dZ&dZ'dZ(dZ)dZ*doZ+doZ,dZ-dZ.dZ/doZ0dZ1dZ2dZ3 ee      dz  dz  Z4 ee      dz  dz  Z5dZ6dZ7y)    N)Pathpdf_directory	processed
embeddings	documentsmetadatanotesdigestscapsulesT)parentsexist_oki     i  i@        i   i     )
chunk_sizechunk_min_sizechunk_max_sizesentence_overlapmin_sentencesi  i  i  ix  i  )	technicalresearchlegalmanualdefaultzBAAI/bge-base-en-v1.5Fg(\?)0tradingtradetradertrading strategytrading systemztrading planbuyselllongshortpositionentryexitsignal	indicatortechnical analysisfundamental analysiszquantitative analysiszsentiment analysisrisk managementposition sizing	stop losstake profittrailing stop
volatility	liquidityslippagespread
commissionfeescostsbacktestingzforward testingzpaper tradingzlive trading
simulationperformancereturnsprofitlosspnldrawdownzsharpe ratiozsortino ratiozmaximum drawdownwin ratezprofit factor
expectancy)5sports betting
sportsbookoddsliner4   	moneyline
over/underpoint spreadvigjuice	bookmakerbookiebetwagerstakepayoutbankrollzbankroll managementz	value betedge	advantagehandicapzasian handicapzdouble chancezdraw no betaccumulatorparlayround robinteaserpleaserzif betzreverse bet	arbitragezsure bethedgescalpingmiddlezlive bettingzin-playzcash outzearly payoutzbetting exchangezmatched bettingdutchingdutchkelly criterion
martingale	fibonacci
laboucherezflat bettingzpercentage bettingzunit bettingzstaking plan)8stockequityshareshareszstock marketzequity marketnysenasdaqzlondon stock exchangeztokyo stock exchangezhong kong exchangedividendzdividend yieldearningsearnings per shareepspe ratioprice to earningsz	peg ratioprice to salesprice to book
market capz	blue chipzgrowth stockzvalue stockzmomentum stockzcyclical stockzdefensive stockzincome stockipoinitial public offeringzsecondary offeringsplitzreverse splitmergeracquisitiontakeoverzspin offearnings reportzquarterly earningszannual report10k10q8kzinsider tradingzinsider buyingzinsider sellingzinstitutional ownershipzshort interestshort squeezezgamma squeezezoptions flowz	dark poolzhigh frequency tradingzalgorithmic tradingzquant trading)Icryptocurrencycryptobitcoinbtcethereumethaltcoinzdecentralized financedefiznon-fungible tokennft
blockchainzsmart contractzdecentralized exchangedexzcentralized exchangecexwalletz
hot walletzcold walletzhardware walletzsoftware walletminingproof of workpowproof of stakeposstakingyield farmingzliquidity miningzimpermanent lossr3   zgas feeznetwork congestionzbitcoin halvingzethereum mergezethereum 2.0zlayer 1zlayer 2zscaling solutionrollups	sidechainzcross chainbridgezwrapped token
stablecointetherusdtusdcdaifiatzcrypto exchangezspot tradingfutures
perpetualsoptionsderivativesleveragemargin tradingliquidationr}   whalehodlzdiamond handszpaper handsfomofudzrug pullzpump and dumpzwash tradingzmarket manipulationzfront runningzsandwich attack)]forexforeign exchangecurrency tradingz
fx tradingzcurrency pairz
major pairz
minor pairzexotic pairzeur/usdeurusdzgbp/usdgbpusdzusd/jpyusdjpyzusd/chfusdchfzaud/usdaudusdzusd/cadusdcadznzd/usdnzdusdzeur/gbpeurgbpzeur/jpyeurjpyzgbp/jpygbpjpyzchf/jpychfjpyzaud/jpyaudjpyzcad/jpycadjpyznzd/jpynzdjpypipz	pip valuezlot sizezstandard lotzmini lotz	micro lotznano lotr   marginzmargin callzstop outcarry tradezinterest rate differentialcentral bankfedfederal reserveecbzeuropean central bankbojzbank of japanboezbank of englandrbnzzreserve bank of new zealandzinterest rate decisionfomcmonetary policyquantitative easingqetapering	inflationcpippiemployment datanon-farm payrollsnfpeconomic indicatorr+   r*   price actionzsupport and resistancez
trend linezfibonacci retracementzfibonacci extensionmoving averagersirelative strength indexmacdbollinger bandsstochastic oscillatorzichimoku cloudzforex sessionzlondon sessionznew york sessionztokyo sessionzsydney sessionzoverlapping session)6riskr,   zrisk assessmentzrisk mitigationzrisk controlzportfolio riskzsystemic riskzidiosyncratic riskzmarket riskzcredit riskzliquidity riskzoperational riskz
model riskz	tail riskz
black swanzvalue at riskvarzexpected shortfalleszstress testingzscenario analysiszmonte carlo simulationcorrelationdiversificationhedging	insurancer.   r0   zbreakeven stopprofit targetzrisk reward ratior@   z	loss ratezaverage winzaverage lossrA   r`   z	optimal fzfixed fractionalzpercentage riskzdollar riskr-   zportfolio allocationasset allocationrebalancingztactical allocationzstrategic allocationzcore and satellitezbarbell strategyzbullet strategyzladder strategyzbuckets approachzliability matchingimmunization)lr*   ztechnical indicatorzchart patterncandlestickr   trendztrend followingzmean reversionbreakout	breakdownreversalcontinuationsupport
resistancezpivot pointrb   zgolden ratiozelliott wavezharmonic patterngartleyzbat patternzbutterfly patternzcrab patternzshark patternzcypher patternr   zsimple moving averagesmazexponential moving averageemazweighted moving averagewmazhull moving averagehmavwapzvolume weightedr   zbollinger bandzkeltner channelzdonchian channelenvelopezprice channelzregression channelztrend channelzascending channelzdescending channelzhorizontal channeltrianglewedgeflagpennantz
double topzdouble bottomzhead and shoulderszinverse head and shoulderszcup and handlezascending trianglezdescending trianglezsymmetrical trianglezrising wedgezfalling wedgezbullish flagzbearish flagzbullish pennantzbearish pennantr   r   
stochasticr   williams %rzwilliams percent rr   z%moving average convergence divergencezcommodity channel indexccimomentumzrate of changerocr   zultimate oscillatorzawesome oscillatorzacceleration decelerationaczbalance of powerbopzchaikin money flowcmfzease of movementeomzforce indexzmoney flow indexmfiznegative volume indexnvizon balance volumeobvzpositive volume indexpvizvolume oscillatorzaccumulation distributionza/d linezchaikin oscillatorzmarket facilitation indexr   zschaff trend cyclestcztrue strength indextsi)sr+   fundamentalszeconomic datar   zgross domestic productgdpzconsumer price indexr   zproducer price indexr   zunemployment rater   r   r   zjobless claimszretail saleszindustrial productionzcapacity utilizationzhousing startszbuilding permitszexisting home salesznew home saleszdurable goods orderszfactory orderszism manufacturingzism servicespmizpurchasing managers indexzconsumer confidencezbusiness confidencezyield curveztreasury yieldzfederal funds ratezdiscount ratez
prime rateliboreuriborsofrr   zfiscal policyr   r   r   zforward guidancer   r   r   r   r   zbalance of paymentsztrade balancezcurrent accountzcapital accountzforeign direct investmentfdizportfolio investmentz	hot moneyzcurrency reservezforeign exchange reservezcommodity pricesz	oil pricez	crude oilzbrent crudewtiz
gold pricezsilver pricezcopper pricezagricultural commoditycornwheatsoybeancoffeesugarry   zearnings seasonzearnings surprisezbeat estimateszmiss estimatesguidancezrevenue guidancezearnings guidancezbalance sheetzincome statementzcash flow statementzfinancial statementrevenuezcost of goods soldcogszgross marginzoperating marginz
net marginzreturn on equityroezreturn on assetsroazreturn on capitalr   zdebt to equityzleverage ratiozcurrent ratiozquick ratiozworking capitalzfree cash flowfcfrl   rm   ro   perq   pbrp   pszenterprise valueevz	ev/ebitda)footballsoccerzpremier leaguezla liga
bundesligazserie azligue 1zchampions leaguezeuropa leaguezfa cupzcopa del reyz	dfb pokalzcoppa italiazcoupe de francetransferztransfer windowzsquad rotationzstarting eleven	formationz4-4-2z4-3-3z3-5-2injury
suspensionzred cardzyellow cardpenaltyz	free kickzcorner kickzthrow inoffsidehandballfoul
basketballnbazcollege basketballzmarch madnesszncaa tournamentzpoint guardzshooting guardzsmall forwardzpower forwardcenterrH   rF   rG   z
first halfzsecond halfquarterzthree pointerz
free throwreboundassiststealblockturnoverpace
efficiencyztrue shooting percentagezeffective field goal percentagebaseballmlbzamerican leagueznational leaguezworld serieszall starpitchercatcher	infielder
outfielderzbatting averagezon base percentagezslugging percentageopserawhip	strikeoutzhome runrbirunhitdoubletriplezstolen basezsacrifice flyz
ground outhockeynhlzstanley cupplayoffszregular seasonz
power playzpenalty killfaceofficingr   goalr(  zsave percentagezgoals against averagez
plus/minuscorsifenwickzexpected goalstennisatpwtaz
grand slam	wimbledonus openzfrench openzaustralian openacezdouble faultzbreak pointzmatch pointz	set pointtiebreakservereturnforehandbackhandvolleysmashz	drop shotgolfpgalpgamastersrI  zbritish openzpga championshipbirdiebogeyeagle	albatrossparz	under parzover parrT   fairwayroughgreenbunkerzwater hazardputtdriveironmmaufczmixed martial artsknockout
submissiondecisionzunanimous decisionzsplit decisionztechnical knockoutzdoctor stoppagezreferee stoppagezground and poundmountguardzrear naked chokearmbarztriangle chokekimura	americanaz	heel hookz
ankle lockoctagoncagez
fight cardzhome advantagezaway disadvantage
motivationr   formstreakzwinning streakzlosing streakz
hot streakzcold streakresttravelzjet lagweatherzfield conditionsrefereeumpireofficialr   zvideo assistant refereezinstant replaycoachingtacticsstrategy)	trading_conceptssports_bettingstocks_equitiesr~   forex_currencyrisk_managementtechnical_analysisfundamental_analysissports_domainsr   )r   r   r   r    r!   )purchaser#   zgo longbullishr"   )r$   zgo shortbearishr<   )gainrk   r;   r>   r=   )r?   znegative returndeficitrD   )rE   r4   rI   rJ   rM   )rN   rO   gamblerK   )rL   rC   bookrV   )rU   combomultir[   )r   
protectioncoverrd   )re   rf   securityrj   )yieldrP   distributionrk   )r<   r  incomers   rt   zpublic offeringr   )r   zdigital goldr~   r   r   zsmart contract platformr   )r   r   hashing)r   r   r   )fxr   r   zpercentage in pointzprice interest pointr   gearing)r   r   r   r   r   )floorbottomzdemand zone)ceilingtopzsupply zone)	directionr   bias)zbreak abovezbreak belowzbreak through)
turnaroundpivotzchange in direction)z
stop orderzprotective stopz	risk stop)r   zexit targetzlimit order)zspreading riskr   zportfolio mix)r   r   r   r   r   r   r   r   r   r   r.   r/   r   r   g      ?r,   r*   g?r+   r8   r:   g?r1   r2   rW   r`   rZ   gffffff?r   r   g      ?)r   r!   r"   r#   r$   )rB   r  r#  r.  r=  rE  rR  rb  rD   r4   rF   rV   rW   )
r~   r   r   r   r   r   r   r   r   exchange)	rd   re   rj   rk   rs   rr   rn   r*   r+   )
r   currencyr   r   r   r   r   r   r   r   )sportsr   stocksr   (  phzph levelzph.zph-zph:zph scaleacidity
alkalinityacidicalkalinetemperaturetempcelsius
fahrenheitu   °cu   °fdegreeswarmcoolheathumidityrhzrelative humiditymoisturedrywetppmzparts per millioneczelectrical conductivitytdsztotal dissolved solidsnutrient
fertilizernpknitrogen
phosphorus	potassiummacronutrientmicronutrientmeasurementrangelevelamountconcentrationquantitylightlumensrZ  ppfdwattsledhpsmhspectrumphotoperiodsoilmedium	substratecocoperlitevermiculitepeatcompostwatering
irrigationdrainagerunoffflooddripspray
hydroponichydroponicshydrosoillesszdeep water culturedwcr   	aeroponiczebb and flowgrowingcultivation	cultivategrowplantcropharvestseedseedlingclonecuttingpropagationgermination
vegetativeveg	floweringflowerbudtrichomepistilstamencuringdryingtrimmingpruningtoppingfimminglsthstpestdiseasemoldmildewzspider miteaphidfungusbacteriaventilationairflowfanexhaustintakezcarbon filterindooroutdoor
greenhousez	grow roomz	grow tentcannabis	marijuanahempweedpotganjar  r  straincultivarvarietygenetics	phenotypegenotypeindicasativahybrid	ruderalis
autoflowerautothccbdcbgcbncbcthcacbdacannabinoidcannabinoidsterpeneterpenesterpmyrcenelimonenepinenelinaloolcaryophyllenezcannabinoid profilezterpene profilezthc contentzcbd contentpotency
extractionextractconcentrate
distillateisolatezfull spectrumzbroad spectrumrosinhashkiefzbubble hashzdry siftz
live resinshatterwaxbudderzco2 extractionzsolvent extractionbutanepropaneethanolhydrocarbonedibletincturetopicalcapsulevape	cartridgedabdabbingsmokingvaping	ingestion
sublingualtransdermalhealthhealthywellness	wellbeingtherapeuticztherapeutic dosemedical	medicinalmedicine	treatmenttherapyztherapeutic usezmedical usezmedicinal usedosagedosedosingmg	milligram	microgrammcgml
millilitergramgzmg/kgbioavailabilityz	half-life
metabolism
metabolitepharmacokineticspainzpain relief	analgesiczchronic painzneuropathic painanxietyzanxiety reliefstresszstress relief
relaxationcalminflammationzanti-inflammatoryinflammatoryswellingseizureepilepsy	epilepticanticonvulsantdravetzlennox-gastautnauseavomitingappetitezappetite stimulantcachexiasleepinsomniaz	sleep aidsedativezsleep quality
depressionmoodmood disorderbipolarptsdtraumacancertumorchemotherapyzcancer treatmentoncologyglaucomazeye pressurezintraocular pressurezmultiple sclerosisms
spasticityzmuscle spasm	parkinsontremorzmovement disorder	alzheimerdementia	cognitivememoryautismautism spectrumasdadhdattention deficithyperactivity	addictionsubstance abuse
withdrawal
dependencezside effectzadverse effectcontraindicationinteractionzdrug interactionsafetysafetoxicitytoxicoverdosezlethal doseclinical trialstudyr   peer-reviewedevidenceefficacy	effectivepatientsymptom	conditionr  disordersyndromedoctor	physicianzmedical professionalprescriptionrecommendationlawr   illegallegalitylegalization	legalizeddecriminalizationdecriminalized
regulation	regulated
regulatory
compliance	compliantlicense	licensingpermit
permissionauthorizationjurisdictionz	state lawzfederal lawz	local law	municipalzcity ordinancestatefederal	federally
governmentgovtdeazdrug enforcement administrationfdazfood and drug administrationatfz"bureau of alcohol tobacco firearms
possessionpossession limitr  carry	transportgramsouncespoundsozlbkgkilogramcriminalcrimecriminalizemisdemeanorfelony
infractionr  finesentencejailprisonincarcerationlegislationbillactstatute	ordinancer  ruleprohibition
prohibitedbanbannedrestriction
restrictedtaxtaxationtaxedz
excise taxz	sales tax
dispensaryretailretailerstoreshopr  zcultivation licensezgrow licensezgrowing permitr  distributor	wholesale
wholesalertestingzlab testing
laboratoryzquality controlqc	packaginglabelinglabelwarningzchild-resistantbusinesszbusiness ownerentrepreneurentrepreneurshipstartupcompanycorporationr  r<   r   zprofit marginrk   r  costpricepricingzwholesale pricezretail pricezmarket pricemarketzmarket sizezmarket sharezmarket analysiszmarket research	valuationvalueworth
investmentinvestinvestorroizreturn on investmentsalesr  cagrzgrowth rategrowth	expanding	expansionsupplydemandzsupply and demandzprice elasticityzsupply chainr  zbusiness modelzrevenue modelzpricing strategyzmarket entryzentry strategycompetitioncompetitive
competitorzmarket segmentztarget marketniche	financialfinancefundingcapitalre   debtloancreditpartnershippartnerzjoint venturerv   rw   	franchisefranchising
franchisee
franchisor	marketingadvertising	promotionbrandbrandingcustomerclientconsumeruserr  science
scientificr   
researcherr1  r  studiesr  trialr  zpeer reviewjournalpublicationmethodologymethod	procedureprotocol
experimentexperimentaldatadatasetresultsfindings
conclusion
hypothesistheorycompoundmoleculechemical	chemistrybiochemistryr1  distillationchromatographypurification
refinementr  
percentage%ratio
proportionrL  analysisanalyze
analyticalr  quantifyqualifyquantitativequalitativestatistical
statisticsstatisticallysignificantsignificancezp-valuer   r  labr  testassaysamplespecimenr  zevidence-based	empiricalempiricallyprovenproofbiology
biologicalbotany	botanicalzplant sciencehorticulturehorticulturalr  geneticgenomednarnagenezgenetic modificationgmpharmacologypharmacologicalpharmacokineticpharmacodynamicneuroscienceneurologicalbrainneuralneuronneurotransmitterendocannabinoidzendocannabinoid systemecsreceptorcb1cb2
psychologypsychologicalpsychologistzmental healthzmental illnessr{  
depressive	depressedr|  r}  r~  manicrh  anxiouspaniczpanic attackphobiazsocial anxietyr  zpost-traumatic stressr  	traumaticri  stressedr  r  r  hyperactivefocusr  r  autisticr  r  aspergerr  	addictiver  r  	dependentr  r  	cognitionr  recalllearningzbrain functionbehavior
behavioralzbehavioral therapycbtzcognitive behavioral therapyrV  	therapist
counseling	counselorpsychotherapyrP  rO  zmental wellness	emotionalemotionmindfulness
meditationrj  rk  peacefuloptimaloptimumidealbestrecommended	suggestedr  r  	efficientr-  r  r  r   risky	dangerousharmfulbenefit
beneficialrS   advantageousqualityzhigh qualitypremiumgradezgrade aorganicorganicallynatural	naturally	synthetic
artificialr  )r  r  r  r  r  r  )r  r  r  r  r  r  )r  r  r  r  r  )r  farmingplantingr  )r  r  r  r  )r  r  r  r   r  lighting)lightslampsr  r  	nutrients)r  foodfeedingr  r  r  )r  dirtr  earthrR  )rS  rQ  rM  r   )r  r  r  r  )r   r  r  r  )industryr  
commercialr  )r  
productionoutputr2  )r3  oilr:  r9  r0  psychoactivecannabidiolznon-psychoactive)r  r   )u5   ph\s*[:\-]?\s*(\d+\.?\d*)\s*[-–—to]\s*(\d+\.?\d*)u,   (\d+\.?\d*)\s*[-–—to]\s*(\d+\.?\d*)\s*phz(\d+\.?\d*)\s*ppmu   (\d+\.?\d*)\s*°[cf]z(\d+\.?\d*)\s*percentz(\d+\.?\d*)\s*%z(\d+\.?\d*)\s*mgz(\d+\.?\d*)\s*milligramz(\d+\.?\d*)\s*mcgz(\d+\.?\d*)\s*mlz(\d+\.?\d*)\s*mg/kgu1   (\d+\.?\d*)\s*mg\s*[-–—to]\s*(\d+\.?\d*)\s*mgz(\d+\.?\d*)\s*gramsz(\d+\.?\d*)\s*ouncesz(\d+\.?\d*)\s*poundsz0\$(\d+[,\d]*\.?\d*)\s*(million|billion|thousand)z&(\d+\.?\d*)\s*%?\s*(roi|margin|growth)z&(\d+\.?\d*)\s*percent\s*(market|share)z)deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B   g?i?B    g?g      ?
      zenrichment_status.jsonzenrichment_log.jsonlz0.0.0.0i  )8ospathlibr   __file__parentBASE_DIRPDF_DIRPROCESSED_DIREMBEDDINGS_DIRDOCUMENTS_DIRMETADATA_DIR	NOTES_DIRDIGESTS_DIRCAPSULES_DIRdir_pathmkdir
CHUNK_SIZECHUNK_OVERLAPCHUNK_MIN_SIZECHUNK_MAX_SIZESENTENCE_OVERLAPMIN_SENTENCES_PER_CHUNKDOCUMENT_TYPE_CONFIGSEMBEDDING_MODELSEMANTIC_CHUNKING_ENABLEDSEMANTIC_MAX_CHARSSEMANTIC_SIMILARITY_THRESHOLDTRADING_KEYWORD_TAXONOMYTECHNICAL_TERMSvaluesdomain_keywordsextendTRADING_SYNONYMSKEYWORD_WEIGHTSDOMAIN_KEYWORD_MAPPINGSYNONYMSMEASUREMENT_PATTERNSLANGUAGE_MODELMAX_NEW_TOKENSTEMPERATURE	DO_SAMPLEKNOWLEDGE_CARD_LLM_BUDGETHYBRID_SEARCH_OVERSAMPLEHYBRID_VECTOR_WEIGHTHYBRID_KEYWORD_WEIGHTHYBRID_MIN_KEYWORD_SCOREHYBRID_BM25_WEIGHTMAX_CHUNKS_PER_SOURCEMIN_CHUNK_SCOREDEFAULT_RETRIEVAL_KENRICHMENT_DEFAULT_THREADSENRICHMENT_MAX_THREADSENRICHMENT_STATUS_PATHENRICHMENT_LOG_PATHWEB_HOSTWEB_PORT     +/var/www/html/backtest/airagagent/config.py<module>r     s   	  >  
_
$;&-+z)G#	i'z) .-yR]_kl 0HNN4$N/0 
  
     ;$ L * "   $ 	
"(46/gC L /668 ,O?+,,H, 
5, ,	,
 4, 6, ., 
', 1, /, 1,  ,!," 3#,$ /%,& 
%'89',, 8-,. 12/,0 11,2 : <!#9:!9-8 23.?> @BNW, ^ s #	
 C 3 3 #  c 3 s   S!& c'( C)* S+, -.  ;D b I I	     F FR== 4 5	
 5 6 m_ 1 2 ;' 4 5 1 
. 4  0!" 7#$ ~&-.'. : =	 #             m,z9<TT =)J69OO  r  