Skip to content

Commit

Permalink
Merge pull request #69 from Polymarket/fix/fix-address-funcs
Browse files Browse the repository at this point in the history
Fix: fix to address fetching functions
  • Loading branch information
JonathanAmenechi authored Mar 11, 2024
2 parents af9c8b9 + 039bf39 commit 55b8349
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions poly_market_maker/clob_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def get_collateral_address(self):
def get_conditional_address(self):
return self.client.get_conditional_address()

def get_exchange(self):
return self.client.get_exchange_address()
def get_exchange(self, neg_risk = False):
return self.client.get_exchange_address(neg_risk)

def get_price(self, token_id: int) -> float:
"""
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ parsimonious==0.8.1
pluggy==1.0.0
protobuf==3.19.4
py==1.11.0
py-clob-client>=0.2.3
py-clob-client>=0.13.3
py-order-utils>=0.0.21
pycryptodome==3.14.1
pyparsing==3.0.7
Expand Down

0 comments on commit 55b8349

Please sign in to comment.