NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 2 of 2
Search: Posts Made By: sam028
Forum: NinjaTrader May 15th, 2013, 06:45 AM
Replies: 6
Views: 2,313
Posted By sam028
Not tested: private DateTime now,...

Not tested:


private DateTime now, timeinChicago;
private TimeZoneInfo cst;
protected override void Initialize()
{
cst = TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time");
}...
Forum: NinjaTrader May 14th, 2013, 04:27 PM
Replies: 6
Views: 2,313
Posted By sam028
Hmm, it's not always -5 hours, 365 days/year, be...

Hmm, it's not always -5 hours, 365 days/year, be careful.
You maye use TimeZoneInfo.FindSystemTimeZoneById("Central Standard Time") with TimeZoneInfo.ConvertTime(), to avoid any problems.
Showing results 1 to 2 of 2

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top