INNER CODE UNIT · Java

idxBid

qtds35k/HighFrequencyTradingBot · src/trading/Manager.java:28

	private int idxBid = -1;
	private int idxBidSize = -1;
	
	
	Map<String, LinkedList<Double>> shortStream = new HashMap<String, LinkedList<Double>>();
	Map<String, LinkedList<Double>> longStream = new HashMap<String, LinkedList<Double>>();
	public static final int shortStreamSizeLimit = 15;
	public static final int longStreamSizeLimit = 50;
	Map<String, Double> shortSum = new HashMap<String, Double>();
	Map<String, Double> longSum = new HashMap<String, Double>();
	
	
	public Manager(HttpHelper myHttpHelper) throws IOException, InterruptedException {
		this.balance = myHttpHelper.getBalance();
		this.todaysGL = myHttpHelper.getTodaysGL();
		this.autoTradeGL = 0.0;
		this.accumulatedOrderMoney = 0.0;
		

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…