Q: Can the stock be shared? #256
-
I'm implementing a Stock based on PostgreSQL as the storage facility, which includes all the implementations from memory.rs. Now, i have a question: Currently, each user stores their own stock-related files (state, stash, index). When converting this to database tables, it's natural to have an owner field to distinguish whose stock it is. I am asking if i can remove the owner field and have all users share a global stock? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Of course the stock can be shared; however stock properties are fully depend on the specific data providers the stock uses. First of all, the default Second, they are not really designed to work with databases or anything which can support partial state saving. Instead, a new dedicated providers has to be developed by companies, according to their needs.
No, this is against the design I am describing above. You should not touch |
Beta Was this translation helpful? Give feedback.
there is no owner keyword in index, state or stash. I do not understand what you refer to.