Skip to content

Commit 0b19c33

Browse files
committed
fix: lint issue
1 parent e6a17f6 commit 0b19c33

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

examples/basic_tpsl.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import argparse
2-
from ast import List
2+
33
import example_utils
4+
45
from hyperliquid.utils import constants
56
from hyperliquid.utils.signing import OrderRequest
67

@@ -19,7 +20,7 @@ def main():
1920
tp = px * 1.05 # take profit at +4%
2021
sl = px * 0.95 # stop loss at -4%
2122

22-
orders: List[OrderRequest] = [
23+
orders: list[OrderRequest] = [
2324
{
2425
"coin": market,
2526
"is_buy": position_is_long,

hyperliquid/exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def bulk_orders(
142142

143143
if builder:
144144
builder["b"] = builder["b"].lower()
145-
order_action = order_wires_to_order_action(order_wires, builder)
145+
order_action = order_wires_to_order_action(order_wires, builder, grouping)
146146

147147
signature = sign_l1_action(
148148
self.wallet,

0 commit comments

Comments
 (0)