Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Is there a way to retrieve if you've had a loss or win amount?
Collapse
X
-
Is there a way to retrieve if you've had a loss or win amount?
I'm trying to figure out if there's a way to retrieve from NinjaTrader if an account has lost or profited a certain amount of value or not. How would you find/read that value and be able to get it externally like to a Powershell script?Tags: None
-
Hello MatthewLesko,
The API does not provide account access for external applications.
From a NinjaScript using the Addon approach you can retrieve the account Position.GetUnrealizedPnL() and loop through the account Executions for the day (but not previous days).
I would like to augment the functionality of the chart trader buttons to include some database logging and a check of my prior trades before accepting the click event e.g. checking my recent trade history before actually submitting the order via the "Buy Market" or "Sell Market" buttons. Is there a way toChelsea B.NinjaTrader Customer Service
-
Thanks so an add-on is something I can make that is able to keep running in the background while trading?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bortz, 11-06-2023, 08:04 AM
|
48 responses
1,743 views
0 likes
|
Last Post
by carnitron
Today, 06:57 PM
|
||
Started by Jonker, 04-27-2024, 01:19 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 05:45 PM | ||
Started by businessman1929, 04-29-2024, 01:28 PM
|
2 responses
22 views
0 likes
|
Last Post Today, 05:38 PM | ||
Started by bltdavid, 03-27-2023, 05:32 AM
|
18 responses
347 views
0 likes
|
Last Post
by ETFVoyageur
Today, 05:28 PM
|
||
Started by NM_eFe, Today, 05:15 PM
|
0 responses
5 views
0 likes
|
Last Post
by NM_eFe
Today, 05:15 PM
|
Comment