piker
piker copied to clipboard
User dir layout and naming
Relating to finally starting to fill in and use a main conf.toml
as per #221, I think it's worth discussing thee naming and org of
(sub)dirs in the user directory managed for both data storage and
config.
On linux this dir is normally located @ /home/<user>/.config/piker/
latest layout and naming ideas:
-
$HOME/.config/piker/-
conf.toml- root config as in #221
- eventually
.data,.clearingand.uicontrols- ADD ISSUE HERE
-
brokers.toml- private, containing live order ctl creds!
- relates to backend specific config which can be somewhat vague: https://github.com/pikers/piker/issues?q=is%3Aissue+is%3Aopen+brokers+label%3Abroker-backend
-
fsp.toml- eventually points to other code and/or DSL stuff?
-
viewlists.toml- like watchlists but with meta-data for UI like overlay stuff?
-
_cache/- landing in #528 or something related
-
binance.symcache.toml -
kraken.symcache.toml -
ib.symcache.toml...
-
_tsdb/- as per new stuff in #486
-
aapl.nasdaq.ib.ohlcv60s.parquet -
btc.usdtm.perp.binance.ohlcv60s.parquet...
-
accounts/- design plans / refinement in #515
-
ledgers/I'm thinking we could maybe not have this subdir and instead just name ledger files as something likeledger.binance.spot.tomlmuch like the below..? -
account.binance.spot.toml...
-