First off, awesome project! I've been looking forward to playing around with it and finally found the time.
I'm running into an issue running in live mode, all health checks all passed (I have all of the api keys in .env etc), but I'm running into an issue for a live order to actually be placed it seems:
API request failed without retry [trading_system.kalshiclient] endpoint=/trade-api/v2/portfolio/orders error=HTTP 400: {"error":{"code":"invalid_order","message":"invalid order","details":"exactly one of yes_price, no_price, yes_price_dollars, or no_price_dollars should be provided"}}
Larger log dump below
logs.txt
First off, awesome project! I've been looking forward to playing around with it and finally found the time.
I'm running into an issue running in live mode, all health checks all passed (I have all of the api keys in .env etc), but I'm running into an issue for a live order to actually be placed it seems:
API request failed without retry [trading_system.kalshiclient] endpoint=/trade-api/v2/portfolio/orders error=HTTP 400: {"error":{"code":"invalid_order","message":"invalid order","details":"exactly one of yes_price, no_price, yes_price_dollars, or no_price_dollars should be provided"}}
Larger log dump below
logs.txt