question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TradingAPI `check_order()` no longer returns `free_space_new` and the 3 `transaction_XXX` properties

See original GitHub issue

The create order docu shows that the response on check_order() has 6 parameters. I did see all of them in the past, but recently it only returns:

  • confirmation_id
  • response_datetime

This behaviour is observed on both NASDAQ and Euronext Amsterdam.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
funnel20commented, Jan 30, 2022

@Chavithra Awesome. I already wrote the docu with the Pythonian names.

1reaction
Chavithracommented, Jan 17, 2022

Hello @funnel20,

you are right, I think they have changed their API.

The check_order response looks like this now :

{
    "confirmationId": "MOCK_CONFIRMATION_ID",
    "freeSpaceNew": 1.2345,
    "showExAnteReportLink": true,
    "transactionFee": 1.2
}

A new release let you access these new parameters.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found