<commit_before>package com.chariotinstruments.markets;

import android.text.format.DateFormat;

import java.util.ArrayList;

/**
 * Created by user on 1/25/16.
 */
public class MarketDay {

    private DateFormat _marketDate;
    private ArrayList<MarketCandle> _marketCandles;
    private String error;

    public MarketDay(){
        _marketCandles = new ArrayList<MarketCandle>();
    }

    public void addCandle(int curMinute, double open, double low, double high, double close, long volume){

        MarketCandle candle = new MarketCandle();

        candle.setMinute(curMinute);
        candle.setOpen(open);
        candle.setHigh(high);
        candle.setLow(low);
        candle.setClose(close);
        candle.setVolume(volume);

        this._marketCandles.add(candle);
    }

    public String getError(){
        return error;
    }<commit_msg>adding isError boolean to market day<commit_after>package com.chariotinstruments.markets;

import android.text.format.DateFormat;

import java.util.ArrayList;

/**
 * Created by user on 1/25/16.
 */
public class MarketDay {

    private DateFormat _marketDate;
    private ArrayList<MarketCandle> _marketCandles;
    private String error;
    private boolean isError;

    public MarketDay(){
        _marketCandles = new ArrayList<MarketCandle>();
    }

    public void addCandle(int curMinute, double open, double low, double high, double close, long volume){

        MarketCandle candle = new MarketCandle();

        candle.setMinute(curMinute);
        candle.setOpen(open);
        candle.setHigh(high);
        candle.setLow(low);
        candle.setClose(close);
        candle.setVolume(volume);

        this._marketCandles.add(candle);
    }

    public String getError(){
        return error;
    }
{'fraction_non_alphanumeric': 0.09650112866817155, 'fraction_numerical': 0.0056433408577878106, 'mean_word_length': 3.020408163265306, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2768177', 'n_tokens_mistral': 544, 'n_tokens_neox': 524, 'n_words': 124}