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

Remove symbol from quote list #14

Open
noamagiv opened this issue Sep 10, 2024 · 1 comment
Open

Remove symbol from quote list #14

noamagiv opened this issue Sep 10, 2024 · 1 comment

Comments

@noamagiv
Copy link

Hi,
I'm removing symbols from display using rm or remove and it's not saved after restart. What am I doing wrong?

In addition, is it possible to create several watch lists (quote goups?) and load them on demand (instead of current active that present on display

Thanks !

@mattsta
Copy link
Owner

mattsta commented Sep 10, 2024

It should work, but there may be bug fixes I haven't pushed updates to yet. I've got a couple dozen fixes I'm still testing through before another bulk update and all the fixes are related to each other, so it wasn't easy to do partial updates this time.

There are kinda three different quote systems though:

  • the live quote view where you can add AAPL or rm AAPL (these should be persisted across restarts with the same client id if your cache directories are working. You just have to always start things from the same directory where it drops the cache files)
  • you can also open multiple clients for different quote views like ICLI_CLIENT_ID=4 poetry run icli — each client ID has its own persistent quote state which is saved across restarts (if everything is working)
    • just remember IBKR binds orders to each client id so if you open an order in Client A, then Client B can't see or modify or cancel the order (unless it is Client 0 which is special).
      • though, this also means only the "order-owning client" gets updates for orders like submitted/filled/cancelled notifications too, which makes programming against live events easier since we don't need to protect against "all the clients seeing all the events."
  • there is a group quote system where you can create named groups of symbols for saving and restoring. Just type ? or q? for some of the "quote group" management commands.
    • but I've found the normal per-client quote state easier to use since I can have them all open at once in different terminal windows for different purposes.

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