Add limit order example with Russian documentation#165
Open
Bezoutoff wants to merge 5 commits intoPolymarket:mainfrom
Open
Add limit order example with Russian documentation#165Bezoutoff wants to merge 5 commits intoPolymarket:mainfrom
Bezoutoff wants to merge 5 commits intoPolymarket:mainfrom
Conversation
- Create limit_order_example.py with detailed Russian comments - Update .env.example with comprehensive configuration guide - Add ИНСТРУКЦИЯ_RU.md with complete Russian language instructions - Include examples for both proxy and EOA wallet types - Add step-by-step guide for placing limit orders 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Create place_limit_order.py with pre-configured token ID - Add .env.template for easy configuration - Include confirmation prompt before order placement - Add market data fetching and order status tracking - Supports both proxy and EOA wallet types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Update input validation to accept 'y' or 'yes' for confirmation - Change prompt text from (yes/no) to (y/n) for clarity 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add test_existing_keys.py to verify existing API credentials - Add check_signature_type.py to create new credentials with correct signature type - Scripts test multiple configurations automatically - Help users resolve 'invalid signature' errors 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Change signature_type from 1 to 2 (works with MetaMask + Polymarket Proxy) - Add clearer comment explaining signature type options - Tested and verified with successful order placement 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code
Overview
Description
Testing instructions
Types of changes
Notes
Status
[WIP]if necessary (changes not yet made).Note
Adds Russian-language examples, diagnostics, and docs for placing Polymarket limit orders, including env setup and signature_type handling.
limit_order_example.py: Sample client to create/derive API creds, fetch markets, and prepare a limit order.place_limit_order.py: Ready-to-run script posting a GTC limit order with existing API creds; interactive confirmation; shows midpoint/orderbook.check_signature_type.py: Diagnostic tool to find workingsignature_type/funderand create new API keys.test_existing_keys.py: Verifies existing API keys acrosssignature_type/fundercombinations and signs a test order..env.example; add.env.templatewith Russian guidance; support optionalFUNDERand configurableCLOB_API_URL.ИНСТРУКЦИЯ_RU.mdwith step-by-step guide,signature_typematrix, and common operations.Written by Cursor Bugbot for commit 2ae2999. This will update automatically on new commits. Configure here.