Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions pyinjective/composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,21 @@ def order_data(
cid=cid,
)

def order_data_without_mask(
self,
market_id: str,
subaccount_id: str,
order_hash: Optional[str] = None,
cid: Optional[str] = None,
) -> injective_exchange_tx_pb.OrderData:
return injective_exchange_tx_pb.OrderData(
market_id=market_id,
subaccount_id=subaccount_id,
order_hash=order_hash,
order_mask=1,
cid=cid,
)

def SpotOrder(
self,
market_id: str,
Expand Down