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

pp indicators in sidepanel UX #224

Open
3 of 4 tasks
Tracked by #515
goodboy opened this issue Sep 12, 2021 · 2 comments
Open
3 of 4 tasks
Tracked by #515

pp indicators in sidepanel UX #224

goodboy opened this issue Sep 12, 2021 · 2 comments
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" config newb friendly question wut dis!? UI

Comments

@goodboy
Copy link
Contributor

goodboy commented Sep 12, 2021

In #223 we land multi-account support per brokerd an now support position display and orders over multiple broker accounts on the same order mode for a chart.

Some lingering UX questions and options i had thought of include how to display the state of which accounts both are loaded and live - ready for order submissiong, as well as which of those accounts have existing positions per symbol and can we show this succinctly both in the search view and the account selection view.

Some ideas:

  • always load all accounts defined (per broker) in brokers.toml and show an x graphic beside accounts entries which weren't loaded/connected to indicate that switching to these will be a no-op
    • one way to show invalid accounts per instrument would be an icon on the drop down view which should self-explain that selection will be a noop?
  • or only load accounts that can be currently used/connected for the symbol.
    • and add a refresh control that would allow (re)loading accounts incrementally (say after starting some remote brokerd)
  • once you have a loaded account, show a small pp triangle marker or dot graphic beside each account that has an existing position (possibly in green/red to indicate pnl polarity)
    • can likely do this with icons next to each entry; i'm thinking similar to our pp line markers?
@goodboy
Copy link
Contributor Author

goodboy commented Sep 14, 2021

In #226 there's 2 un-done bullets that can be used as resources as well.

The current state after that lands is that we have long/short icons (with the same graphic as our level marker for pps) and we're only loading accounts that the brokerd reports to us on connection to the EMS.

@goodboy
Copy link
Contributor Author

goodboy commented Sep 14, 2021

Another thing we should add is the new pp marker icons to entries in our custom search view.

this SO shows that you just use QStandardItem.setIcon(). we'll prolly want to add a pp column to the headers as well.

I've been thinking we might actually want to populate a section as well with pps for each brokerd and just have the feeds be unloaded until a user selects one?

@goodboy goodboy changed the title Account "liveness", has pp?, UX pp indicators in sidepanel UX Jun 27, 2022
@goodboy goodboy added the accounting prolly positioning: the accounting of "what/when (is) owned" label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accounting prolly positioning: the accounting of "what/when (is) owned" config newb friendly question wut dis!? UI
Projects
None yet
Development

No branches or pull requests

1 participant