You can instruct the Kibot Updater program to automatically start the update process using the command line mode. This document provides detailed description of Kibot Updater command options.
The format of the command line is:
<executable> -d"<dest>" -<silent> -sp"<dest>|<intraday>|<daily>|<delete>|<regularsession>|<visible>"
All supported command line options are listed below:
You can use your regular FTP client program or point your web browser to ftp.kibot.com to login and download new updates. Some FTP programs can automate the download process and download new updates using predetermined time intervals.
Our update files always have the start and the end date in their name. That makes it easy to determine which files you need to download. The format of the file name is yyyymmdd.exe for daily updates and yyyymmdd-yyyymmdd.exe for all other updates. For example, our daily update file for 4/4/2011 is named 20110404.exe. Our monthly update for March 2011 is named 20110301-20110331.exe.
Once you have the required file, you can execute it from Windows Task Scheduler or any other automation software using the built-in command line mode.
Let's say you want to perform a daily update of your data. Here is the example of the command line used to update intraday and daily data with the data from 4/4/2011:
c:\Kibot\20110404.exe -d"c:\Kibot\Updates\" -s2 -sp"c:\Kibot\Updates\|c:\Kibot\Data\Intraday\|c:\Kibot\Data\Daily\|1|0|1"
In the above example, the data you are updating is located in the c:\Kibot\Updates\Data folder, the content of the archive is unpacked to c:\Kibot\Updates, the path to the update package downloaded from the Kibot.com server is c:\Kibot\20110404.exe
The update package is a regular, self-extracting RAR archive. You can rename the extension of the file from EXE to RAR and treat it like any other file with an RAR extension and use almost any archiver program to extract the content of the file to a folder. Once you do that, you will find two folders containing the data: Intraday and Daily. There is also a text file in the root folder which contains the list of the files that are adjusted. Here is the structure of every update file: Daily <folder> Intraday <folder> adjusted_files.txt KibotUpdater.exe
After extracting the files, you can start the update process automatically by executing the KibotUpdater.exe file with the following parameters (explained above):
KibotUpdater.exe "<dest>|<intraday>|<daily>|<delete>|<regularsession>|<visible>"
You can use the files located in the Daily and Intraday folders to implement your own update mechanism and update your files (or database) without the Kibot Updater tool. Each instrument is represented with a separate file which contains data for the specific time period. You can create a custom program and programmatically read the comma-delimited text files. Our data format is explained here.
© 2024 Oricsoft. All rights reserved. | Privacy Statement