I have three columns "event-type", "remainingQuantity" and "limit price".I want to run this algorithm. Loop every row where side = buy{ If (eventtype == Initial | Place) then buy_order_volume_btc += row.remainingQuantity buy_order_volume_USD += row.remainingQuantity*row.limitPrice
Aucun commentaire:
Enregistrer un commentaire