Skip to content

Commit

Permalink
feat: set pyv1 client metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
samtin0x committed Oct 17, 2024
1 parent c1bd996 commit 4a02790
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion v4-client-py-deprecated/v4_client_py/clients/modules/post.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
from ...chain.aerial.client.utils import prepare_and_broadcast_basic_transaction


PY_V1_CLIENT_ID = 1


class Post:
def __init__(
self,
Expand Down Expand Up @@ -134,7 +137,7 @@ def place_order(
subticks=subticks,
time_in_force=time_in_force,
reduce_only=reduce_only,
client_metadata=client_metadata,
client_metadata=PY_V1_CLIENT_ID,
condition_type=condition_type,
conditional_order_trigger_subticks=conditional_order_trigger_subticks,
)
Expand Down

0 comments on commit 4a02790

Please sign in to comment.