Hi,

I have some questions about how to get the detail of each crypto symbol in portfolio (python) object:

1. Assume I bought BTCUSD and ETHUSD. In portfolio, the key will be BTCUSD or just BTC? How can I easily list all coins I have so far  and the quantity (value) of each coins in portfolio? USD will be a coin or cash in this case?

2. Assume I bought 2 times BTCUSD. One time is $10000 for one BTC, 2nd time is $20000 for one BTC. In portfolio object,, the BTC (or BTCUSD) will keep one price which is $15000, or it will keep 2 prices (one is $10000, and one is $20000)

3.. Assume I bought 2 times BTCUSD. 1st time is 2021-01-01, 2nd time is 2021-02-01. Will Portfolio help me to check the record when I begin to hold the coins (it will record 2 times date or none date infomration?). So when I backtest, my algorithm can do different decision base on different purchase date?

 

Thanks,

henry