This article attends to tensions and negotiations surrounding the introduction and development of a news-ranking algorithm in a Swedish daily. Approaching algorithms as culture, being composed of collective human practices, the study emphasizes socio-institutional dynamics in the everyday life of the algorithm. The focus on tensions and negotiations is justified from an institutional perspective and operationalized through an analytical framework of logics. Empirically the study is based on interviews with 14 different in-house workers at the daily, journalists as well as programmers and market actors. The study shows that logics connected to both journalism and programming co-developed the news-ranking algorithm. Tensions and their negotiations around these logics contributed to its very development. One example is labeling of the algorithm as editor-led, allowing journalists to oversee some of its parameters. Social practices in the newsroom, such as Algorithm-Coffee, was also important for its development. In other words, different actors, tensions between them and how these were negotiated, co-constituted by the algorithm itself.