Have you tried GetPositions in prod? No sense troubleshooting an issue if it only exists in demo.
Have you tried GetPositions in prod? No sense troubleshooting an issue if it only exists in demo.
2026-07-13 · Kalshi · 16 条相关讨论
Have you tried GetPositions in prod? No sense troubleshooting an issue if it only exists in demo.
Have you tried GetPositions in prod? No sense troubleshooting an issue if it only exists in demo.
you fell for the classic trap of using the demo server
you fell for the classic trap of using the demo server
Why is it a trap? I don't want to touch the prod servers until I am ok with demo. I also think that prod and demo have different accounts, API keys and therefore signatures. So what do they have to do with each other? For the record, with the same keys and signatures I can authenticate correctly and pull in market data via WS
Why is it a trap? I don't want to touch the prod servers until I am ok with demo. I also think that prod and demo have different accounts, API keys and therefore signatures. So what do they have to do with each other? For the record, with the same keys and signatures I can authenticate correctly and pull in market data via WS
demo is notoriously buggy and even when it's not it doesn't always accurately reflect how the prod servers work. it's fine to test some simple call and response architecture but you can end up wasting a lot of time getting somethign to work in demo just to find it doesn't work the same in prod
demo is notoriously buggy and even when it's not it doesn't always accurately reflect how the prod servers work. it's fine to test some simple call and response architecture but you can end up wasting a lot of time getting somethign to work in demo just to find it doesn't work the same in prod
IMo they fail to keep it inline with prod
IMo they fail to keep it inline with prod
most people here just bite the bullet and test in prod with very small position sizes
most people here just bite the bullet and test in prod with very small position sizes
you are gonna have to take financial hits to get the data you want.
you are gonna have to take financial hits to get the data you want.
This is interesting... I do get it that the other way forward might be using prod with small amounts however there is regulatory/operational concerns too... i.e. I might want to be able to code freely against a functional demo and then switch to prod with accounts/money coming from somewhere that a) has regulatory permission to trade b) has KYCd the venue
This is interesting... I do get it that the other way forward might be using prod with small amounts however there is regulatory/operational concerns too... i.e. I might want to be able to code freely against a functional demo and then switch to prod with accounts/money coming from somewhere that a) has regulatory permission to trade b) has KYCd the venue
It is what it is. No one can tell you what to do with your capital but in my experience the time wasted in demo far exceeds a small investment you're willing to lose in testing. You can literally trade fractional shares. We're talking at most pennies per test trade
It is what it is. No one can tell you what to do with your capital but in my experience the time wasted in demo far exceeds a small investment you're willing to lose in testing. You can literally trade fractional shares. We're talking at most pennies per test trade
It is not the money that is the issue but the principle. I cant trade even $1 of real money if I don't go via all the appropriate hoops. The demo docs and env seem pretty ok for simple things like getting a position or a balance. Why do we assume this is broken?
It is not the money that is the issue but the principle. I cant trade even $1 of real money if I don't go via all the appropriate hoops. The demo docs and env seem pretty ok for simple things like getting a position or a balance. Why do we assume this is broken?
We'd all love there to be a fully functional demo.env in principle. But there isn't so we soldier on Now something like fetching positions should be straightforward enough. That's like a problem on your end and it's hard to diagnose that without seeing your payloads
We'd all love there to be a fully functional demo.env in principle. But there isn't so we soldier on Now something like fetching positions should be straightforward enough. That's like a problem on your end and it's hard to diagnose that without seeing your payloads
Also perps are BRAND new so there's not a lof of experience anywhere in what differences there might be in the API's
Also perps are BRAND new so there's not a lof of experience anywhere in what differences there might be in the API's
I spent months building my own paper trading system based on prod
I spent months building my own paper trading system based on prod
By the way, in my case, I just want to test the mechanics, getting positions and balances, placing orders, getting fills etc. Not strategies
By the way, in my case, I just want to test the mechanics, getting positions and balances, placing orders, getting fills etc. Not strategies
The problem with testing fills and therefore positions is that there needs to be actual volume in the demo env and that's a crap shoot. Now of you know you can get a fill in demo then fetching fills, positions etc should be straightforward Can you pull account balance? That's the easiest way to know if your payloads are formatted correctly since it doesn't rely on anything except a valid acct/key
The problem with testing fills and therefore positions is that there needs to be actual volume in the demo env and that's a crap shoot. Now of you know you can get a fill in demo then fetching fills, positions etc should be straightforward Can you pull account balance? That's the easiest way to know if your payloads are formatted correctly since it doesn't rely on anything except a valid acct/key
Oh yeah, the SDK is bunk
Oh yeah, the SDK is bunk