broker-sync: drop IBKR_ACCOUNT_ID env (now derived via ensure_account)
This commit is contained in:
parent
6d13ba12da
commit
17c59a280b
1 changed files with 9 additions and 8 deletions
|
|
@ -421,14 +421,15 @@ resource "kubernetes_cron_job_v1" "imap" {
|
||||||
name = "BROKER_SYNC_DATA_DIR"
|
name = "BROKER_SYNC_DATA_DIR"
|
||||||
value = "/data"
|
value = "/data"
|
||||||
}
|
}
|
||||||
# 2026-05-26: skip InvestEngine email parsing. IE has its own
|
# IE email parsing IS enabled (2026-05-27). The bearer-token CLI
|
||||||
# bearer-token API path (`broker-sync invest-engine`) — running
|
# path (`broker-sync invest-engine`) is not wired as a CronJob
|
||||||
# both produces duplicate BUYs in Wealthfolio because the two
|
# — token expires ~monthly, MFA blocks scripted refresh, and
|
||||||
# generate different external_ids for the same fill.
|
# the `/api/v0.3X/` version probe drifts every 4-6 weeks. Email
|
||||||
env {
|
# confirmations land on every fill anyway, so we standardise on
|
||||||
name = "BROKER_SYNC_IMAP_EXCLUDE_PROVIDERS"
|
# IMAP as the single canonical path for IE (parity with Schwab).
|
||||||
value = "invest-engine"
|
# If the bearer CLI is ever run manually, dedup is at WF level
|
||||||
}
|
# (external_id) so a re-run is safe; just expect the IMAP store
|
||||||
|
# not to know about those rows.
|
||||||
env {
|
env {
|
||||||
name = "WF_SESSION_PATH"
|
name = "WF_SESSION_PATH"
|
||||||
value = "/data/wealthfolio_session.json"
|
value = "/data/wealthfolio_session.json"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue