I am interested in the Dai stable coin and have seen multiple different explanations of how the coin balances and pegs to the $1. One said it was to do with the increase or decrease in interest rates to bring the price up or down(eg. If interest goes up then demand goes down and the price falls and vice versa). The other said it was to do with supply and demand change due to people buying cheaper and selling higher for a profit(eg. when the value of dai is higher than dollar people sell for a profit, which increases supply and so the value goes down; when the value is low people buy which drives price up as supply decreases).
Which of these is correct?
I apologise if this is on the wrong page.