Fix typo in variable name for micro vs mid basis points calculation
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ class OrderBook:
|
||||
micro_price = (best_bid_price + best_ask_price) / 2
|
||||
|
||||
mid_price = (best_bid_price + best_ask_price) / 2
|
||||
imcro_vs_mid_bps = (micro_price - mid_price) * 10000
|
||||
micro_vs_mid_bps = (micro_price - mid_price) * 10000
|
||||
|
||||
return {
|
||||
"best_bid_price": best_bid_price,
|
||||
|
||||
Reference in New Issue
Block a user