37 lines
590 B
C++
37 lines
590 B
C++
|
virtual void onRspUserLogin(dict data, dict error, int id, bool last)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
this->get_override("onRspUserLogin")(data, error, id, last);
|
||
|
}
|
||
|
catch (error_already_set const &)
|
||
|
{
|
||
|
PyErr_Print();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
virtual void onRspUserLogout(dict data, dict error, int id, bool last)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
this->get_override("onRspUserLogout")(data, error, id, last);
|
||
|
}
|
||
|
catch (error_already_set const &)
|
||
|
{
|
||
|
PyErr_Print();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
virtual void onRtnDepthMarketData(dict data)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
this->get_override("onRtnDepthMarketData")(data);
|
||
|
}
|
||
|
catch (error_already_set const &)
|
||
|
{
|
||
|
PyErr_Print();
|
||
|
}
|
||
|
};
|
||
|
|