Skip to content

Commit

Permalink
Merge pull request #89 from mauricelimaquaq/fix-rdb-stripe-config
Browse files Browse the repository at this point in the history
Fix rdb.q config
  • Loading branch information
mauricelimaquaq authored Dec 17, 2021
2 parents f8f1b56 + db1f308 commit 9b6a177
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions appconfig/settings/rdb.q
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
// Bespoke RDB config : Finance Starter Pack

\d .rdb
hdbdir:hsym`$getenv[`KDBHDB] // the location of the hdb directory
reloadenabled:1b // if true, the RDB will not save when .u.end is called but
// will clear it's data using reload function (called by the WDB)
hdbdir:hsym`$getenv[`KDBHDB] // the location of the hdb directory
reloadenabled:1b // if true, the RDB will not save when .u.end is called but
// will clear it's data using reload function (called by the WDB)

connectonstart:1b // rdb connects and subscribes to tickerplant on startup
connectonstart:1b // rdb connects and subscribes to tickerplant on startup
tickerplanttypes:`segmentedtickerplant
gatewatypes:`none
replaylog:1b

hdbtypes:() //connection to HDB not needed
hdbtypes:() //connection to HDB not needed

subfiltered:0b
// path to rdbsub{i}.csv
subcsv:hsym first `.proc.getconfigfile["rdbsub/rdbsub",(procnum:3_string .proc`procname),".csv"]
// save the subcsv file onto disk
subcsv 0: csv 0: flip`tabname`filters`columns!(`trade`quote;2#`$"sym in .ds.stripe[sym;",(string -1+value procnum),"]";`)
subcsv:hsym first `.proc.getconfigfile["rdbsub/rdbsub",(3_string .proc`procname),".csv"]

\d .servers

CONNECTIONS:enlist `gateway // if connectonstart false, include tickerplant in tickerplanttypes, not in CONNECTIONS
CONNECTIONS:enlist `gateway // if connectonstart false, include tickerplant in tickerplanttypes, not in CONNECTIONS

0 comments on commit 9b6a177

Please sign in to comment.