• Ask a question
  • Spaces
    • TT® Platform
    • Autospreader®
    • Autotrader™
    • Charting & Analytics
    • Options
    • ADL®
      • ADL Samples
    • RTD
    • APIs
      • TT .NET SDK
      • TT API & XT API
      • TT REST API
    • Cryptocurrencies
    • Topics
    • Questions
    • Articles
    • Ideas
    • Badges
  • Sign in
  • Home /
  • APIs /
  • TT API & XT API /
avatar image
0
Question by jwaldron · Oct 20, 2020 at 05:58 PM · TTAPI

New order fails in API because Risk Limits not set

I am getting an error I've gotten previously, which is "Send new order failed Risk Limits are not downloaded from TTUS Server"... this usually meant I had to put a copy of the AlphaRiskCheck.dll in the folder where I launched my application... I am running in Python and loading .Net libraries... I've had no problems with this for a couple years... I modified my package environments yesterday, and all of a sudden I'm getting this error, even though the .dll is there, as nothing changed in regards to the underlying code/paths.. when I call OrderFeed.IsTradingEnabled it's returning False as expected given the error, but I don't know how else to troubleshoot? Everything else works as expected, market feeds, etc... any ideas?

Comment
Add comment
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Zack · Oct 20, 2020 at 06:32 PM

Unfortunately no immediate ideas. Can you open a ticket and upload your local logfiles? Do you have any way of verifying that the .dll is being loaded correctly?

Comment
Add comment Show 1 · Share
10 |1800 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jwaldron · Oct 20, 2020 at 06:55 PM 0
Share

I was wondering if there was some sort of property of the TTAPI instance that might confirm that... but seems the only way to tell is if the OrderFeed is enabled, right? It is something stupid, so don't worry about it... I created a bare bones set of imports with my base objects and was able to submit an order through the API, so somewhere an import is creating a conflict, just need to work through it.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Community

Ask questions and share ideas about the TT® and X_TRADER® platforms.

First time here? See our Getting Started Guide and FAQs.

Follow

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

XTrader orders in the TTAPI 1 Answer

Target Invocation Exception on TT API Application instance 8 Answers

Is there a way to pull account PnL/balances with the TT API or XT API 2 Answers

Spread Price Subscription and Order Entry with TTAPI_Sample code 1 Answer

TTAPI OrderFeed Declaration 1 Answer

Trading Technologies Home - Legal - Privacy - Contact

© 2017 Trading Technologies International, Inc. All rights reserved.

Powered by AnswerHub

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • TT® Platform
  • Autospreader®
  • Autotrader™
  • Charting & Analytics
  • Options
  • ADL®
    • ADL Samples
  • RTD
  • APIs
    • TT .NET SDK
    • TT API & XT API
    • TT REST API
  • Cryptocurrencies
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges