Bar

#ifndef BAR_H

#define BAR_H

// Boost

#include <boost/date_time/posix_time/posix_time.hpp>

class Bar

{

public:

    Bar();

    virtual ~Bar();

    boost::posix_time::ptime key;

    double high; //! High price.

    double low; //! Low price.

    double open; //! Open price.

    double close; //! Close price.

    double volume; //! Bar volume.

protected:

private:

};

#endif // BAR_H

#include "Bar.h"

Bar::Bar()

{

    //ctor

}

Bar::~Bar()

{

    //dtor

}