Hi, there is no errors and evetyrhing is working well but after calling
C->reqHistoricalData(100, contract, "", "1 D", "1 hour", "MIDPOINT", 1, 1, false, TagValueListSPtr());
there is no return.
Here is the whole code:
#include "stdafx.h"
#include <Contract.h>
#include <Order.h>
#include...