@@ -63,7 +63,7 @@ class OrderError:
6363 new_order_failure_reason : str
6464
6565 def __init__ (self , error : str = '' , message : str = '' , error_details : str = '' ,
66- preview_failure_reason : str = '' , new_order_failure_reason : str = '' ) -> None :
66+ preview_failure_reason : str = '' , new_order_failure_reason : str = '' , ** kwargs ) -> None :
6767 self .error = error
6868 self .message = message
6969 self .error_details = error_details
@@ -80,7 +80,7 @@ class LimitGTC:
8080 limit_price : str
8181 post_only : bool
8282
83- def __init__ (self , base_size : str , limit_price : str , post_only : bool ) -> None :
83+ def __init__ (self , base_size : str , limit_price : str , post_only : bool , ** kwargs ) -> None :
8484 self .base_size = base_size
8585 self .limit_price = limit_price
8686 self .post_only = post_only
@@ -96,7 +96,7 @@ class LimitGTD:
9696 post_only : bool
9797 end_time : datetime
9898
99- def __init__ (self , base_size : str , limit_price : str , post_only : bool , end_time : str ) -> None :
99+ def __init__ (self , base_size : str , limit_price : str , post_only : bool , end_time : str , ** kwargs ) -> None :
100100 self .base_size = base_size
101101 self .limit_price = limit_price
102102 self .post_only = post_only
@@ -112,7 +112,7 @@ class MarketIOC:
112112 quote_size : str
113113 base_size : str
114114
115- def __init__ (self , quote_size : str = None , base_size : str = None ) -> None :
115+ def __init__ (self , quote_size : str = None , base_size : str = None , ** kwargs ) -> None :
116116 self .quote_size = quote_size
117117 self .base_size = base_size
118118
@@ -131,7 +131,7 @@ def __init__(self,
131131 base_size : str ,
132132 limit_price : str ,
133133 stop_price : str ,
134- stop_direction : str ) -> None :
134+ stop_direction : str , ** kwargs ) -> None :
135135 self .base_size = base_size
136136 self .limit_price = limit_price
137137 self .stop_price = stop_price
@@ -154,7 +154,7 @@ def __init__(self,
154154 limit_price : str ,
155155 stop_price : str ,
156156 end_time : str ,
157- stop_direction : str ) -> None :
157+ stop_direction : str , ** kwargs ) -> None :
158158 self .base_size = base_size
159159 self .limit_price = limit_price
160160 self .stop_price = stop_price
@@ -176,7 +176,7 @@ class OrderConfiguration:
176176
177177 def __init__ (self , market_market_ioc : dict = None , limit_limit_gtc : dict = None ,
178178 limit_limit_gtd : dict = None , stop_limit_stop_limit_gtc : dict = None ,
179- stop_limit_stop_limit_gtd : dict = None ) -> None :
179+ stop_limit_stop_limit_gtd : dict = None , ** kwargs ) -> None :
180180 self .market_market_ioc = MarketIOC (
181181 ** market_market_ioc ) if market_market_ioc is not None else None
182182 self .limit_limit_gtc = LimitGTC (
@@ -258,7 +258,7 @@ def __init__(self, order_id: str, product_id: str, side: str, client_order_id: s
258258 order_placement_source : str = None ,
259259 outstanding_hold_amount : str = None ,
260260
261- order_error : dict = None ) -> None :
261+ order_error : dict = None , ** kwargs ) -> None :
262262 self .order_id = order_id
263263 self .product_id = product_id
264264 self .side = side
@@ -348,7 +348,7 @@ def __init__(self,
348348 orders : List [dict ],
349349 has_next : bool ,
350350 cursor : str ,
351- sequence : int ,
351+ sequence : int , ** kwargs
352352 ) -> None :
353353
354354 self .orders = list (map (lambda x : Order (** x ), orders )) if orders is not None else None
@@ -379,7 +379,7 @@ class OrderCancellation:
379379 failure_reason : str
380380 order_id : str
381381
382- def __init__ (self , success : bool , failure_reason : str , order_id : str ) -> None :
382+ def __init__ (self , success : bool , failure_reason : str , order_id : str , ** kwargs ) -> None :
383383 self .success = success
384384 self .failure_reason = failure_reason
385385 self .order_id = order_id
@@ -392,7 +392,7 @@ class OrderBatchCancellation:
392392
393393 results : List [OrderCancellation ]
394394
395- def __init__ (self , results : List [OrderCancellation ]) -> None :
395+ def __init__ (self , results : List [OrderCancellation ], ** kwargs ) -> None :
396396 self .results = results
397397
398398 @classmethod
@@ -444,7 +444,7 @@ def __init__(
444444 liquidity_indicator : str ,
445445 size_in_quote : bool ,
446446 user_id : str ,
447- side : str ) -> None :
447+ side : str , ** kwargs ) -> None :
448448 self .entry_id = entry_id
449449 self .trade_id = trade_id
450450 self .order_id = order_id
@@ -475,7 +475,7 @@ class FillsPage:
475475
476476 def __init__ (self ,
477477 fills : List [dict ],
478- cursor : str ,
478+ cursor : str , ** kwargs
479479 ) -> None :
480480
481481 self .fills = list (map (lambda x : Fill (** x ), fills )) if fills is not None else None
0 commit comments