NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 3 of 3
Search: Posts Made By: Hideyoshi
Forum: NinjaTrader February 14th, 2017, 01:39 PM
Replies: 12
Views: 3,245
Posted By Hideyoshi
Dictionary

:sorry: :hmmmm: In this case you could just use a sorted dictionary. The following page should give you a hint: https://www.dotnetperls.com/sorteddictionary
Forum: NinjaTrader February 14th, 2017, 10:34 AM
Replies: 12
Views: 3,245
Posted By Hideyoshi
Example Code

Yes, it is pure Java. Here is an example which should fit your requirements:



import java.util.TreeMap;
import java.util.Map;

public class Test {

static public void main(String[]...
Forum: NinjaTrader February 13th, 2017, 05:48 PM
Replies: 12
Views: 3,245
Posted By Hideyoshi
TreeMap

Just put A and B into a TreeMap (https://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html) and then use the values() method. :becky:
Showing results 1 to 3 of 3

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