Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing ttcli config file does nothing #15

Open
PixelovyLabyrintDev opened this issue Jan 2, 2025 · 3 comments
Open

Changing ttcli config file does nothing #15

PixelovyLabyrintDev opened this issue Jan 2, 2025 · 3 comments

Comments

@PixelovyLabyrintDev
Copy link

I changed the .cfg file to show the theta collumn when displaying an option chain, however changing show-theta to true did nothing.

@Graeme22
Copy link
Contributor

Graeme22 commented Jan 2, 2025

Hello! Can you post your config and the version you're on?

@PixelovyLabyrintDev
Copy link
Author

PixelovyLabyrintDev commented Jan 2, 2025

Sure, im on the newest version 0.4 and the config is:

[general]
# the username & password can be passed to the CLI in 3 ways: here,
# through the $TT_USERNAME/$TT_PASSWORD environment variables, or,
# if neither is present, entered manually.
username = my username is here
password = my password is here

# the account number to use by default for trades/portfolio commands.
# this bypasses the account choice menu.
# default-account = 5WX01234

[portfolio]
# this number controls how much BP can be used in total, relative to
# the current $VIX level, before the CLI will warn you.
# for example, with a VIX of 25, BP usage of 40%, and variation of 10,
# you'd be warned for high BP usage since the acceptable range would be
# VIX - variation < BP% < VIX + variation. you may also be warned for
# low usage if you're perceived to be using your capital inefficiently;
# e.g. with a VIX of 25, BP usage of 10%, and variation of 10.
bp-target-percent-variation = 10
# this sets an upper bound for the amount of BP that can be allocated
# to a single positions before the CLI will warn you.
bp-max-percent-per-position = 5.0
# this allows you to set a target beta-weighted delta for your portfolio;
# the CLI will warn you unless target - variation < BWD < target + variation.
delta-target = 0
delta-variation = 5
[portfolio.positions]
# these control whether the columns show up when running `tt pf positions`
show-mark-price = true
show-trade-price = false
show-delta = true
show-theta = true
show-gamma = true

[option]
# the default days to expiration to use for option-related commands;
# this bypasses the date selection menu.
# default-dte = 45
[option.chain]
# these control whether the columns show up when running `tt option chain`
show-delta = true
show-volume = true
show-open-interest = true
show-theta = true
****

@Graeme22
Copy link
Contributor

Graeme22 commented Jan 8, 2025

Things are working fine for me... Could I get some more info? OS, Python version, SDK version. And where are you editing the file (what path)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants