I know how the process of changing BTC price occur, but I curious as to what gave the initial value to BTCandBTC and whether the price of another cryptocurrency refers to the BTC? How
How would I replicate this process using an API or any algorithm?