DayTrader.h
上传用户:zhanglf88
上传日期:2013-11-19
资源大小:6036k
文件大小:1k
源码类别:

金融证券系统

开发平台:

Visual C++

  1. /*
  2. Cross Platform Core Code.
  3. Copyright(R) 2001-2002 Balang Software.
  4. All rights reserved.
  5. Using:
  6. Packet convertor functions.
  7. */
  8. #if !defined( __STKLIB_DAYTRADER_H__ )
  9. #define __STKLIB_DAYTRADER_H__
  10. #include "StdAfx.h"
  11. class STKLIB_API CDayTrader : public CStrategy
  12. {
  13. public:
  14. CDayTrader();
  15. virtual ~CDayTrader();
  16. BOOL SetMaxStocks( int nMaxStocks );
  17. BOOL BuyIt( CSPTime tmCur, CTechStock & techstock );
  18. BOOL SellIt( CSPTime tmCur, CTechStock & techstock );
  19. virtual BOOL SimuRun( SIMULATION_CALLBACK fnCallback, void * cookie );
  20. protected:
  21. };
  22. #endif // __STKLIB_DAYTRADER_H__