hedgequantx 1.2.43 → 1.2.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "1.2.43",
3
+ "version": "1.2.45",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -150,6 +150,9 @@ class RithmicConnection extends EventEmitter {
150
150
  onLoginResponse(data) {
151
151
  try {
152
152
  const res = proto.decode('ResponseLogin', data);
153
+
154
+ // Debug: log full response
155
+ console.log('[DEBUG] Login response rpCode:', JSON.stringify(res.rpCode));
153
156
 
154
157
  if (res.rpCode?.[0] === '0') {
155
158
  this.state = 'LOGGED_IN';