-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from mauricelimaquaq/fix-rdb-stripe-config
Fix rdb.q config
- Loading branch information
Showing
1 changed file
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |