then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?
then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?
该用户的聊天记录定位。
then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?
then how can I use `py-clob-client-v2` to have gasless order placement? Or it is gasless already?
what do you mean "blocked" ?
what do you mean "blocked" ?
I am trying to use py_builder_relayer_client to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: TypeError: RelayClient.__init__() got an unexpected keyword argument 'host' import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com/", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )
I am trying to use py_builder_relayer_client to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: TypeError: RelayClient.__init__() got an unexpected keyword argument 'host' import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com/", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )
what do you do to solve the error?
what do you do to solve the error?
Is the host URL wrong? host="https://relayer-v2.polymarket.com/",
Is the host URL wrong? host="https://relayer-v2.polymarket.com/",
I am trying to use `py_builder_relayer_client` to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: `TypeError: RelayClient.__init__() got an unexpected keyword argument 'host'` import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )
I am trying to use `py_builder_relayer_client` to have gasless order placement. However, after I enter my credentials correctly and run the following code , it returns me an error: `TypeError: RelayClient.__init__() got an unexpected keyword argument 'host'` import os from py_builder_relayer_client.client import RelayClient client = RelayClient( host="https://relayer-v2.polymarket.com", chain=137, signer=os.getenv("PRIVATE_KEY"), relayer_api_key=os.environ["RELAYER_API_KEY"], relayer_api_key_address=os.environ["RELAYER_API_KEY_ADDRESS"], )
Selling positions back is usually better. Because everything still goes through clob. If you add sth extra which doesn’t belong to PM, you know PM may crash… high uncertainty. Suggest you to sell instead of merge unless your cash is insufficient
Selling positions back is usually better. Because everything still goes through clob. If you add sth extra which doesn’t belong to PM, you know PM may crash… high uncertainty. Suggest you to sell instead of merge unless your cash is insufficient
We usually don’t merge. If you merge, you need to call web3 library, but there are some sample codes in PolyMarket GitHub repo. We usually sell positions back.
We usually don’t merge. If you merge, you need to call web3 library, but there are some sample codes in PolyMarket GitHub repo. We usually sell positions back.
Thanks mate. Let me check.
Thanks mate. Let me check.
Mine with Google login is old. But I create a new one with Google login and it works great.
Mine with Google login is old. But I create a new one with Google login and it works great.
Was your wallet created before v2 updates? Or it was created after it?
Was your wallet created before v2 updates? Or it was created after it?
Anyone test this? Is it successful? If yes, we need to post it in GitHub issue and let everyone knows there is solution finally
Anyone test this? Is it successful? If yes, we need to post it in GitHub issue and let everyone knows there is solution finally
There is no function to get cash value . But I know how to get all my position values. I only miss getting cash value part
There is no function to get cash value . But I know how to get all my position values. I only miss getting cash value part
How to get the cash value of my account?
How to get the cash value of my account?
I don;t get it. I need to use drive L2 credentials while I create a secure client in Python SDK??
I don;t get it. I need to use drive L2 credentials while I create a secure client in Python SDK??
I don't get your point. All your shared above 2 links are all related to py-clob-client-v2 library, but I don't use this library. I only use polymarket-client==0.1.0b7
I don't get your point. All your shared above 2 links are all related to py-clob-client-v2 library, but I don't use this library. I only use polymarket-client==0.1.0b7
The Python SDK authenticates with a local private key. By default, uses the signer’s deterministic Deposit Wallet as the account wallet. In Python SDK, I don't need to manually derive L2 auth . https://docs.polymarket.com/dev-tooling/python#private-key-setup
The Python SDK authenticates with a local private key. By default, uses the signer’s deterministic Deposit Wallet as the account wallet. In Python SDK, I don't need to manually derive L2 auth . https://docs.polymarket.com/dev-tooling/python#private-key-setup
I don’t use py-clob-client-v2.
I don’t use py-clob-client-v2.
wait a sec. i am wrong
wait a sec. i am wrong
scam
scam
I just create a new account and connect it to Python SDK beta. Did anyone get this error before? `RequestRejectedError: call blocked: call[1] blocked: setApprovalForAll operator` How to solve it?
I just create a new account and connect it to Python SDK beta. Did anyone get this error before? `RequestRejectedError: call blocked: call[1] blocked: setApprovalForAll operator` How to solve it?
how to solve it
how to solve it
I just create a new account and connect it to Python SDK beta. Did anyone get this error before? `RequestRejectedError: call blocked: call[1] blocked: setApprovalForAll operator`
I just create a new account and connect it to Python SDK beta. Did anyone get this error before? `RequestRejectedError: call blocked: call[1] blocked: setApprovalForAll operator`
Use Cloud and deploy it in Ireland
Use Cloud and deploy it in Ireland
Issue: I encountered an error while trying to execute a trade using the PolyMarket Python SDK beta: ``` Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000 ``` I use the limit order: ``` response = await secure_client.place_limit_order(token_id, side="BUY", price="0.01", size="10") ```
Issue: I encountered an error while trying to execute a trade using the PolyMarket Python SDK beta: ``` Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000 ``` I use the limit order: ``` response = await secure_client.place_limit_order(token_id, side="BUY", price="0.01", size="10") ```
BTW, does anyone know how to get the account's available cash?
BTW, does anyone know how to get the account's available cash?
If you don't want to use those 3rd Party, you can only build your own Question matching system
If you don't want to use those 3rd Party, you can only build your own Question matching system
There are some 3rd Party APis doing Kalshi + PolyMarket integration. But I don't want to give them my API key access. You don't know whether that is a scam
There are some 3rd Party APis doing Kalshi + PolyMarket integration. But I don't want to give them my API key access. You don't know whether that is a scam
You are right, but not accurate. For example, “US x Iran permanent peace deal by December 31, 2026” does not have fee_type. It is Null .
You are right, but not accurate. For example, “US x Iran permanent peace deal by December 31, 2026” does not have fee_type. It is Null .
I only use fee_type to filter out crypto related markets.
I only use fee_type to filter out crypto related markets.
That field is usually useless. It doesn’t cover all fee structures (et. Politics, finance, culture, weather…etc) What I have seen so far, it only covers Sport and Crypto
That field is usually useless. It doesn’t cover all fee structures (et. Politics, finance, culture, weather…etc) What I have seen so far, it only covers Sport and Crypto
Was Buying. That was confirmed as a bug by the PM team. Some people said it was fixed yesterday, but I haven’t tested it yet
Was Buying. That was confirmed as a bug by the PM team. Some people said it was fixed yesterday, but I haven’t tested it yet
Btw, in the Python beta SDK, how to change signatureType?
Btw, in the Python beta SDK, how to change signatureType?
my Wallet is old. I checked my address in Polygon. My Address is signatureType 1
my Wallet is old. I checked my address in Polygon. My Address is signatureType 1
how do u build your own? Your own must be built on top of their offiical API
how do u build your own? Your own must be built on top of their offiical API
Then, what can I use??
Then, what can I use??
I already took days to update my code
I already took days to update my code
I was using py-clob-client-v2. That has lots of signature types issues. Now, Python SDK beta also has a new problem. damn
I was using py-clob-client-v2. That has lots of signature types issues. Now, Python SDK beta also has a new problem. damn
screw it.
screw it.
I am using Python SDK beta
I am using Python SDK beta
can anyone answer the above question?
can anyone answer the above question?
i know it is scam
i know it is scam
My account has enough cash. Does anyone know how to solve this error Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000 ?
My account has enough cash. Does anyone know how to solve this error Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000 ?
My account has enough cash. Does anyone know how to solve this error `Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000` ?
My account has enough cash. Does anyone know how to solve this error `Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000` ?
My account has enough cash and I only placed an order to buy 10 shares. But I keep getting `Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000` . How to solve it?
My account has enough cash and I only placed an order to buy 10 shares. But I keep getting `Order placement failed (will retry next iteration): not enough balance / allowance: the balance is not enough -> balance: 0, order amount: 10000000` . How to solve it?
Does anyone know how to get the Net Liquidity Value of an account (Total Portfolio Value)? I see the PM API doc does not mention it https://docs.polymarket.com/dev-tooling/python#account-data
Does anyone know how to get the Net Liquidity Value of an account (Total Portfolio Value)? I see the PM API doc does not mention it https://docs.polymarket.com/dev-tooling/python#account-data
It seems more information is required.
It seems more information is required.
Isn’t this easy? Just use the /price endpoint for market price.. or other for midprice….etc
Isn’t this easy? Just use the /price endpoint for market price.. or other for midprice….etc
Does anyone know how to get the market's minimum price increment? I don't understand the rule. 1. I thought: the minimum price increment is 0.01 if contract price is >= 0.1. But the World Cup winner markets are not like that. 2. the `/markets` endpoint does return `orderPriceMinTickSize`. But, it seems not accurate. For all contracts, it returns `orderPriceMinTickSize` 0.001. For example, `US Iran Permanent Peace Deal By 30 June 2026` price is now $0.24. Its `orderPriceMinTickSize` is 0.001. But I cannot place the order at $0.241. The minimum price increment is 0.01. I can only place at $0.24 or $0.25. Did I do anything wrong?
Does anyone know how to get the market's minimum price increment? I don't understand the rule. 1. I thought: the minimum price increment is 0.01 if contract price is >= 0.1. But the World Cup winner markets are not like that. 2. the `/markets` endpoint does return `orderPriceMinTickSize`. But, it seems not accurate. For all contracts, it returns `orderPriceMinTickSize` 0.001. For example, `US Iran Permanent Peace Deal By 30 June 2026` price is now $0.24. Its `orderPriceMinTickSize` is 0.001. But I cannot place the order at $0.241. The minimum price increment is 0.01. I can only place at $0.24 or $0.25. Did I do anything wrong?
Use Python new beta SDK. Otherwise, can only wait for new update.
Use Python new beta SDK. Otherwise, can only wait for new update.