pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
103 stars 17 forks source link

the boss, `conf.toml` #221

Open goodboy opened 2 years ago

goodboy commented 2 years ago

i'm thinking we might as well have a top level config file for users to choose and tweak a lot of optional/variable settings we starting to acquire.

Some options i can think of off-hand,

[allocation.default]
size_units = 'currency'
limit = 5e3
slots = 4

[allocation.options]
size_units = 'units'
limit = 10
slots = 1

[allocation.peeneez]
size_units = 'percent_of_port'
limit = 20
slots = 6

[style]
colorscheme = 'default'

[tractor]
port = 6116

[ui]
update_throttle = 60  # Hz

opinions welcome obvsly.


TODO:

goodboy commented 1 year ago

A version of this actually already landed in #489 and is being added to in both #486 and #523 🏄🏼

Oh and we ended up jsut going with conf.toml for filename.