Workflow
limit_price参数
icon
Search documents
量化ptrade融资交易limit_price
Sou Hu Cai Jing· 2025-12-30 08:09
Group 1 - The function `margincash_open` requires a valid `limit_price` parameter, which should not be set to 0 as it is intended to be a protection price rather than a limit order price [1] - The documentation specifies that `limit_price` is a mandatory parameter when trading stocks on the Shanghai Stock Exchange [1] - The current stock price must be within the sell limit to execute a trade; otherwise, an error will occur if the price exceeds the protection price [6] Group 2 - The current stock price must be set appropriately to ensure that the `limit_price` is within the sell limit range for successful transactions [6] - If the stock price surges beyond the set protection price, the transaction will not be executed, indicating the importance of monitoring price movements [6]