Let F a mutual fund with two assets A and B. Initially, F contains 1 unit of A, 1 unit of B, and there is 1 share allocated to Alice. At a later time, Bob deposits 2 units of A into F. How can I calculate the amount of shares to create and allocate to Bob?
I can convert all the assets into a pivot like USD, then create shares proprotionnally to the amount deposited. However this approach requires to have access to a ticker (in this case A/USD and B/USD). Is it possible to calculate the amount of shares without relying on a pivot?