[{"data":1,"prerenderedAt":779},["ShallowReactive",2],{"navigation_docs_en":3,"-en-avance-configuration":160,"-en-avance-configuration-surround":774},[4,25,87,126,141],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Bien démarrer",false,"\u002Fen\u002Fgetting-started","en\u002F1.getting-started",[10,15,20],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fen\u002Fgetting-started\u002Fintroduction","en\u002F1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fen\u002Fgetting-started\u002Finstallation","en\u002F1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"First Launch","\u002Fen\u002Fgetting-started\u002Fpremier-demarrage","en\u002F1.getting-started\u002F3.premier-demarrage","i-lucide-rocket",{"title":26,"icon":6,"path":27,"stem":28,"children":29,"page":6},"Guide d'utilisation","\u002Fen\u002Fguide","en\u002F2.guide",[30,57,62,67,72,77,82],{"title":31,"path":32,"stem":33,"children":34},"File Import","\u002Fen\u002Fguide\u002Fimport","en\u002F2.guide\u002F1.import\u002Findex",[35,36,41,45,49,53],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39,"icon":40},"MetaTrader 5","\u002Fen\u002Fguide\u002Fimport\u002Fmt5","en\u002F2.guide\u002F1.import\u002F1.mt5","i-lucide-file-spreadsheet",{"title":42,"path":43,"stem":44,"icon":40},"NinjaTrader 8","\u002Fen\u002Fguide\u002Fimport\u002Fninja-trader","en\u002F2.guide\u002F1.import\u002F2.ninja-trader",{"title":46,"path":47,"stem":48,"icon":40},"Interactive Brokers","\u002Fen\u002Fguide\u002Fimport\u002Finteractive-brokers","en\u002F2.guide\u002F1.import\u002F3.interactive-brokers",{"title":50,"path":51,"stem":52,"icon":40},"Quantower","\u002Fen\u002Fguide\u002Fimport\u002Fquantower","en\u002F2.guide\u002F1.import\u002F4.quantower",{"title":54,"path":55,"stem":56,"icon":40},"Standard CSV format","\u002Fen\u002Fguide\u002Fimport\u002Fstandard-csv","en\u002F2.guide\u002F1.import\u002F5.standard-csv",{"title":58,"path":59,"stem":60,"icon":61},"Dashboard and metrics","\u002Fen\u002Fguide\u002Fdashboard","en\u002F2.guide\u002F2.dashboard","i-lucide-chart-line",{"title":63,"path":64,"stem":65,"icon":66},"Calendar","\u002Fen\u002Fguide\u002Fcalendrier","en\u002F2.guide\u002F3.calendrier","i-lucide-calendar",{"title":68,"path":69,"stem":70,"icon":71},"Daily view","\u002Fen\u002Fguide\u002Fdaily-view","en\u002F2.guide\u002F4.daily-view","i-lucide-calendar-days",{"title":73,"path":74,"stem":75,"icon":76},"Trades","\u002Fen\u002Fguide\u002Ftrades","en\u002F2.guide\u002F5.trades","i-lucide-table",{"title":78,"path":79,"stem":80,"icon":81},"Notes panel","\u002Fen\u002Fguide\u002Fnotes","en\u002F2.guide\u002F6.notes","i-lucide-pen-tool",{"title":83,"path":84,"stem":85,"icon":86},"Tag system","\u002Fen\u002Fguide\u002Ftags","en\u002F2.guide\u002F7.tags","i-lucide-tag",{"title":88,"icon":6,"path":89,"stem":90,"children":91,"page":6},"Settings","\u002Fen\u002Fparametres","en\u002F3.parametres",[92,97,102,106,111,116,121],{"title":93,"path":94,"stem":95,"icon":96},"Accounts","\u002Fen\u002Fparametres\u002Fcomptes","en\u002F3.parametres\u002F1.comptes","i-lucide-users",{"title":98,"path":99,"stem":100,"icon":101},"Symbols","\u002Fen\u002Fparametres\u002Fsymboles","en\u002F3.parametres\u002F2.symboles","i-lucide-chart-candlestick",{"title":103,"path":104,"stem":105,"icon":86},"Tags","\u002Fen\u002Fparametres\u002Ftags","en\u002F3.parametres\u002F3.tags",{"title":107,"path":108,"stem":109,"icon":110},"Backup","\u002Fen\u002Fparametres\u002Fbackup","en\u002F3.parametres\u002F4.backup","i-lucide-database-backup",{"title":112,"path":113,"stem":114,"icon":115},"Tools","\u002Fen\u002Fparametres\u002Ftools","en\u002F3.parametres\u002F5.tools","i-lucide-wrench",{"title":117,"path":118,"stem":119,"icon":120},"Plugins","\u002Fen\u002Fparametres\u002Fplugins","en\u002F3.parametres\u002F6.plugins","i-lucide-puzzle",{"title":122,"path":123,"stem":124,"icon":125},"Options","\u002Fen\u002Fparametres\u002Foptions","en\u002F3.parametres\u002F7.options","i-lucide-cog",{"title":127,"icon":6,"path":128,"stem":129,"children":130,"page":6},"Configuration avancée","\u002Fen\u002Favance","en\u002F4.avance",[131,136],{"title":132,"path":133,"stem":134,"icon":135},"Configuration","\u002Fen\u002Favance\u002Fconfiguration","en\u002F4.avance\u002F1.configuration","i-lucide-settings",{"title":137,"path":138,"stem":139,"icon":140},"FAQ","\u002Fen\u002Favance\u002Ffaq","en\u002F4.avance\u002F3.faq","i-lucide-circle-help",{"title":142,"icon":143,"path":144,"stem":145,"children":146,"page":6},"Développeur","i-lucide-code","\u002Fen\u002Fdev","en\u002F5.dev",[147,152,157],{"title":148,"path":149,"stem":150,"icon":151},"Technical reference","\u002Fen\u002Fdev\u002Freference-technique","en\u002F5.dev\u002F1.reference-technique","i-lucide-server",{"title":153,"path":154,"stem":155,"icon":156},"External storage","\u002Fen\u002Fdev\u002Fstockage-externe","en\u002F5.dev\u002F2.stockage-externe","i-lucide-hard-drive",{"title":117,"path":158,"stem":159,"icon":120},"\u002Fen\u002Fdev\u002Fplugins","en\u002F5.dev\u002F3.plugins",{"id":161,"title":132,"body":162,"description":765,"extension":766,"links":767,"meta":768,"navigation":769,"path":133,"seo":770,"stem":134,"__hash__":773},"docs_en\u002Fen\u002F4.avance\u002F1.configuration.md",{"type":163,"value":164,"toc":750},"minimark",[165,170,179,184,451,455,461,475,478,482,489,503,507,510,531,535,538,562,566,569,592,600,611,615,619,671,674,678,685,718,722,725,743,746],[166,167,169],"h2",{"id":168},"environment-variables","Environment variables",[171,172,173,174,178],"p",{},"Configure TradeJourney via the ",[175,176,177],"code",{},".env"," file at the project root.",[180,181,183],"h3",{"id":182},"all-available-options","All available options",[185,186,191],"pre",{"className":187,"code":188,"filename":177,"language":189,"meta":190,"style":190},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# === PostgreSQL ===\nPOSTGRES_USER=tradejourney\nPOSTGRES_PASSWORD=CHANGE_ME_TO_STRONG_PASSWORD\nPOSTGRES_DB=tradejourney\nPOSTGRES_EXTERNAL_PORT=5432\n\n# === Application ===\nEXTERNAL_PORT=3000            # Application external port\nAPP_VERSION=\"prod_w_1.1.0\"    # Application version\nDEBUG_MODE=false              # Debug mode (detailed logs)\nSHOW_LOG_VIEW=false           # Show console button (LogView)\n\n# === Security ===\nJWT_SECRET=CHANGE_ME_TO_RANDOM_SECRET       # openssl rand -base64 32\nADMIN_API_TOKEN=CHANGE_ME_TO_RANDOM_SECRET\n\n# === Features ===\nQUANTOWER_ENABLE=true         # Enable Quantower import\nPLUGINS_ENABLED=false         # Enable plugin system\nPOLYGON_API_KEY=              # Polygon.io API key (optional)\n\n# === External storage server (optional) ===\nSTORAGE_SERVER_PORT=5000\nSTORAGE_SERVER_DEBUG=false\nCLEANUP_DAYS_OLD=2\n","bash","",[175,192,193,202,217,228,238,249,256,262,276,295,309,322,327,333,347,358,363,369,383,396,407,412,418,429,440],{"__ignoreMap":190},[194,195,198],"span",{"class":196,"line":197},"line",1,[194,199,201],{"class":200},"sHwdD","# === PostgreSQL ===\n",[194,203,205,209,213],{"class":196,"line":204},2,[194,206,208],{"class":207},"sTEyZ","POSTGRES_USER",[194,210,212],{"class":211},"sMK4o","=",[194,214,216],{"class":215},"sfazB","tradejourney\n",[194,218,220,223,225],{"class":196,"line":219},3,[194,221,222],{"class":207},"POSTGRES_PASSWORD",[194,224,212],{"class":211},[194,226,227],{"class":215},"CHANGE_ME_TO_STRONG_PASSWORD\n",[194,229,231,234,236],{"class":196,"line":230},4,[194,232,233],{"class":207},"POSTGRES_DB",[194,235,212],{"class":211},[194,237,216],{"class":215},[194,239,241,244,246],{"class":196,"line":240},5,[194,242,243],{"class":207},"POSTGRES_EXTERNAL_PORT",[194,245,212],{"class":211},[194,247,248],{"class":215},"5432\n",[194,250,252],{"class":196,"line":251},6,[194,253,255],{"emptyLinePlaceholder":254},true,"\n",[194,257,259],{"class":196,"line":258},7,[194,260,261],{"class":200},"# === Application ===\n",[194,263,265,268,270,273],{"class":196,"line":264},8,[194,266,267],{"class":207},"EXTERNAL_PORT",[194,269,212],{"class":211},[194,271,272],{"class":215},"3000",[194,274,275],{"class":200},"            # Application external port\n",[194,277,279,282,284,287,290,292],{"class":196,"line":278},9,[194,280,281],{"class":207},"APP_VERSION",[194,283,212],{"class":211},[194,285,286],{"class":211},"\"",[194,288,289],{"class":215},"prod_w_1.1.0",[194,291,286],{"class":211},[194,293,294],{"class":200},"    # Application version\n",[194,296,298,301,303,306],{"class":196,"line":297},10,[194,299,300],{"class":207},"DEBUG_MODE",[194,302,212],{"class":211},[194,304,305],{"class":215},"false",[194,307,308],{"class":200},"              # Debug mode (detailed logs)\n",[194,310,312,315,317,319],{"class":196,"line":311},11,[194,313,314],{"class":207},"SHOW_LOG_VIEW",[194,316,212],{"class":211},[194,318,305],{"class":215},[194,320,321],{"class":200},"           # Show console button (LogView)\n",[194,323,325],{"class":196,"line":324},12,[194,326,255],{"emptyLinePlaceholder":254},[194,328,330],{"class":196,"line":329},13,[194,331,332],{"class":200},"# === Security ===\n",[194,334,336,339,341,344],{"class":196,"line":335},14,[194,337,338],{"class":207},"JWT_SECRET",[194,340,212],{"class":211},[194,342,343],{"class":215},"CHANGE_ME_TO_RANDOM_SECRET",[194,345,346],{"class":200},"       # openssl rand -base64 32\n",[194,348,350,353,355],{"class":196,"line":349},15,[194,351,352],{"class":207},"ADMIN_API_TOKEN",[194,354,212],{"class":211},[194,356,357],{"class":215},"CHANGE_ME_TO_RANDOM_SECRET\n",[194,359,361],{"class":196,"line":360},16,[194,362,255],{"emptyLinePlaceholder":254},[194,364,366],{"class":196,"line":365},17,[194,367,368],{"class":200},"# === Features ===\n",[194,370,372,375,377,380],{"class":196,"line":371},18,[194,373,374],{"class":207},"QUANTOWER_ENABLE",[194,376,212],{"class":211},[194,378,379],{"class":215},"true",[194,381,382],{"class":200},"         # Enable Quantower import\n",[194,384,386,389,391,393],{"class":196,"line":385},19,[194,387,388],{"class":207},"PLUGINS_ENABLED",[194,390,212],{"class":211},[194,392,305],{"class":215},[194,394,395],{"class":200},"         # Enable plugin system\n",[194,397,399,402,404],{"class":196,"line":398},20,[194,400,401],{"class":207},"POLYGON_API_KEY",[194,403,212],{"class":211},[194,405,406],{"class":200},"              # Polygon.io API key (optional)\n",[194,408,410],{"class":196,"line":409},21,[194,411,255],{"emptyLinePlaceholder":254},[194,413,415],{"class":196,"line":414},22,[194,416,417],{"class":200},"# === External storage server (optional) ===\n",[194,419,421,424,426],{"class":196,"line":420},23,[194,422,423],{"class":207},"STORAGE_SERVER_PORT",[194,425,212],{"class":211},[194,427,428],{"class":215},"5000\n",[194,430,432,435,437],{"class":196,"line":431},24,[194,433,434],{"class":207},"STORAGE_SERVER_DEBUG",[194,436,212],{"class":211},[194,438,439],{"class":215},"false\n",[194,441,443,446,448],{"class":196,"line":442},25,[194,444,445],{"class":207},"CLEANUP_DAYS_OLD",[194,447,212],{"class":211},[194,449,450],{"class":215},"2\n",[166,452,454],{"id":453},"configure-the-port","Configure the port",[171,456,457,458,460],{},"By default, TradeJourney uses port ",[175,459,272],{},". To change:",[185,462,464],{"className":187,"code":463,"filename":177,"language":189,"meta":190,"style":190},"EXTERNAL_PORT=8080\n",[175,465,466],{"__ignoreMap":190},[194,467,468,470,472],{"class":196,"line":197},[194,469,267],{"class":207},[194,471,212],{"class":211},[194,473,474],{"class":215},"8080\n",[171,476,477],{},"Then restart the application.",[166,479,481],{"id":480},"enable-the-plugin-system","Enable the plugin system",[171,483,484,485,488],{},"Plugins are disabled by default. To display the ",[486,487,117],"strong",{}," tab in settings:",[185,490,492],{"className":187,"code":491,"filename":177,"language":189,"meta":190,"style":190},"PLUGINS_ENABLED=true\n",[175,493,494],{"__ignoreMap":190},[194,495,496,498,500],{"class":196,"line":197},[194,497,388],{"class":207},[194,499,212],{"class":211},[194,501,502],{"class":215},"true\n",[166,504,506],{"id":505},"enable-debug-mode","Enable debug mode",[171,508,509],{},"To display detailed logs during development or debugging:",[185,511,513],{"className":187,"code":512,"filename":177,"language":189,"meta":190,"style":190},"DEBUG_MODE=true\nSHOW_LOG_VIEW=true\n",[175,514,515,523],{"__ignoreMap":190},[194,516,517,519,521],{"class":196,"line":197},[194,518,300],{"class":207},[194,520,212],{"class":211},[194,522,502],{"class":215},[194,524,525,527,529],{"class":196,"line":204},[194,526,314],{"class":207},[194,528,212],{"class":211},[194,530,502],{"class":215},[166,532,534],{"id":533},"timezone-per-account","Timezone per account",[171,536,537],{},"To manage different timezones per account:",[539,540,541,550,553,559],"ol",{},[542,543,544,545,547,548],"li",{},"Go to ",[486,546,88],{}," → ",[486,549,93],{},[542,551,552],{},"Edit an account",[542,554,555,556],{},"Enable ",[486,557,558],{},"Manage timezone at account level",[542,560,561],{},"Select the appropriate timezone",[166,563,565],{"id":564},"data-structure","Data structure",[171,567,568],{},"TradeJourney stores its data in two places:",[570,571,572,582],"ul",{},[542,573,574,577,578,581],{},[486,575,576],{},"PostgreSQL database",": all trades, accounts, tags, and notes. Each database you create in the application corresponds to an ",[486,579,580],{},"isolated PostgreSQL schema",".",[542,583,584,587,588,591],{},[486,585,586],{},"Disk files"," (",[175,589,590],{},"upload\u002F"," folder): trade screenshots and plugins.",[185,593,598],{"className":594,"code":596,"language":597},[595],"language-text","upload\u002F\n└── user_1_data\u002F\n    ├── database_test\u002F\n    │   ├── screenshots\u002F   # Screenshots des trades\n    │   └── plugins\u002F       # Plugins installés\n    └── database_db2\u002F\n        └── screenshots\u002F\n","text",[175,599,596],{"__ignoreMap":190},[171,601,602,603,606,607,610],{},"With Docker, this data is persisted in two volumes: ",[175,604,605],{},"tradejourney_pg_data"," (PostgreSQL) and ",[175,608,609],{},"tradejourney_uploads"," (files).",[166,612,614],{"id":613},"update","Update",[180,616,618],{"id":617},"with-docker","With Docker",[185,620,623],{"className":187,"code":621,"filename":622,"language":189,"meta":190,"style":190},"# First back up your data (see the Backup page)\ndocker compose down\ngit pull origin master\ndocker compose up -d --build\n","Terminal",[175,624,625,630,642,656],{"__ignoreMap":190},[194,626,627],{"class":196,"line":197},[194,628,629],{"class":200},"# First back up your data (see the Backup page)\n",[194,631,632,636,639],{"class":196,"line":204},[194,633,635],{"class":634},"sBMFI","docker",[194,637,638],{"class":215}," compose",[194,640,641],{"class":215}," down\n",[194,643,644,647,650,653],{"class":196,"line":219},[194,645,646],{"class":634},"git",[194,648,649],{"class":215}," pull",[194,651,652],{"class":215}," origin",[194,654,655],{"class":215}," master\n",[194,657,658,660,662,665,668],{"class":196,"line":230},[194,659,635],{"class":634},[194,661,638],{"class":215},[194,663,664],{"class":215}," up",[194,666,667],{"class":215}," -d",[194,669,670],{"class":215}," --build\n",[171,672,673],{},"PostgreSQL and file volumes are preserved between updates.",[180,675,677],{"id":676},"without-docker","Without Docker",[171,679,680,684],{},[681,682,683],"em",{},"In development mode",":",[185,686,688],{"className":187,"code":687,"filename":622,"language":189,"meta":190,"style":190},"git pull origin master\nnpm install\nnpm run dev\n",[175,689,690,700,708],{"__ignoreMap":190},[194,691,692,694,696,698],{"class":196,"line":197},[194,693,646],{"class":634},[194,695,649],{"class":215},[194,697,652],{"class":215},[194,699,655],{"class":215},[194,701,702,705],{"class":196,"line":204},[194,703,704],{"class":634},"npm",[194,706,707],{"class":215}," install\n",[194,709,710,712,715],{"class":196,"line":219},[194,711,704],{"class":634},[194,713,714],{"class":215}," run",[194,716,717],{"class":215}," dev\n",[166,719,721],{"id":720},"mobile-access","Mobile access",[171,723,724],{},"TradeJourney is responsive and accessible from a mobile on the same network:",[539,726,727,737],{},[542,728,729,730,733,734],{},"Find your machine's IP: ",[175,731,732],{},"ip addr"," or ",[175,735,736],{},"ifconfig",[542,738,739,740],{},"Access from mobile: ",[175,741,742],{},"http:\u002F\u002F192.168.1.X:3000",[171,744,745],{},"For permanent access, configure a domain name, or a tool like Ngrok that points to your machine.",[747,748,749],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":190,"searchDepth":204,"depth":204,"links":751},[752,755,756,757,758,759,760,764],{"id":168,"depth":204,"text":169,"children":753},[754],{"id":182,"depth":219,"text":183},{"id":453,"depth":204,"text":454},{"id":480,"depth":204,"text":481},{"id":505,"depth":204,"text":506},{"id":533,"depth":204,"text":534},{"id":564,"depth":204,"text":565},{"id":613,"depth":204,"text":614,"children":761},[762,763],{"id":617,"depth":219,"text":618},{"id":676,"depth":219,"text":677},{"id":720,"depth":204,"text":721},"Environment variables and advanced configuration options.","md",null,{},{"icon":135},{"title":771,"description":772},"Advanced configuration - TradeJourney","All environment variables and configuration options available in TradeJourney.","7vXpybiSBCTVIDGwOxn3PK4FWarp9ffNrOIz6iMejy0",[775,777],{"title":122,"path":123,"stem":124,"description":776,"icon":125,"children":-1},"Interface preferences, timezone, cloud storage, and chart colors.",{"title":137,"path":138,"stem":139,"description":778,"icon":140,"children":-1},"Frequently asked questions about TradeJourney.",1780445261236]