看了UG不明白,日线、日内数据是否要建两个DB?

Discussion in 'AmiBroker' started by zbk, Apr 12, 2012.

  1. zbk

    zbk

    关于UserGuide上DataBase的介绍没搞明白,比如使用同一个数据源,我想看1. 较长时间的日线图、周线图等,另外2. 还有日内的数据。

    我是否要建两个DataBase,一个用于存放Day数据,另外一个存放Intra day?
     
  2. 有个选项,我一般都选上:
    file -> database settings -> intraday settings -> allow mixed EOD & intraday data

    这个就可以同时保存EOD和日内数据。

    一般是做回测的话,可能包括好多年的数据,但是做实时交易呢,则最多包括最佳几个月或者几个星期的数据即可,这样会比较快。这种情况下是分开两个数据库比较好,而且通常在两台电脑上。
     
  3. zbk

    zbk

    在两台电脑上分开两个数据库,那不是要买两套AB?

    我实盘交易一般用MC,回测、看盘则用AB。。。呵呵。。
     
  4. 按需要的最短周期建立数据库。如果是15分钟,就导入15分钟的数据。小时,日线和周线等其他周期是自动按照15分钟数据压缩得到的。allow mixed EOD & intraday data 选项打开的话,可以另外导入更长时间的EOD数据。
     
  5. 你可以一台上开几个AB,也可以在几台上都开,AB很友好的
     
  6. zbk

    zbk

    哦。。原来AB可以在几台电脑上同时使用的,我还以为像MC那样,同时只能在一台电脑上使用。。多谢提醒。。:p
     
  7. Single license use on multiple computers?
    http://www.amibroker.com/kb/2008/07/05/single-license-use-on-multiple-computers/


    这里有相当详细的解释,其实就在安装目录的license.txt文件里面。对于个人使用,其授权方式是相当慷慨的。简单说,对于个人用户,你可以在多台电脑上安装,只是不允许是你同时运行。:)


    “REGISTERED VERSION:

    One registered copy of the program may either be used by a single person who uses the software personally on one or more computers, or installed on a single workstation used non-simultaneously by multiple people, but not both.

    You may not disclose registration key(s) to non-registered users.

    Storage/Network Use. You may also store or install a copy of the Software on a storage device, such as a network server, used only to install or run the Software on your other computers over an internal network; however, you must acquire and dedicate a license for each separate computer on which the Software is run from the storage device. A license for the Software may not be shared or used concurrently on different computers.”

    So the answer to most common question: “Can I install and use it on both desktop and laptop?” is YES, you can.

    It is however NOT allowed to use single license to RUN SIMULTANEOUSLY on MULTIPLE machines connected via network, like for example running optimization on many machines in parallel. For that you must purchase license for every machine you are using simultaneously.
     
  8. 感谢espresso指点,我说错了,可以装在多台机器上,但是不能在多台机器上同时开

    但是你在一台机器上运行两个AB应该是可以的,一个收数据,一个交易,用户手册里介绍过这种用法