adding nntrading.cpp