CSE-ITS has a good feature. It sends me an auto-generated email saying my order is executed.
See one example:

An order placed by you with the Order ID 42 has been executed.

The following are the trade details :

Trade ID 187


Buy / Sell Buy

Quantity 160

Price 325.0

At Jan 11, 2010

Broker Code / Trader Code XPSL / YXSL

Nice thing huh? But I found some problems:

1. DELAY: It does not come just after my order is executed. it delays several minutes to few hours! this intermediate time can confuse a trader. He may try to modify the order or add another order for money adjustment... etc etc.

2. FALSE EMAILS: Sometimes false email comes!!!!! Yes, false. I am not kidding. I got 4 false emails in the last one month. absolutely false information, those orders were not executed in reality. I informed my broker that, ''how come I bought those stocks at such low price, which is even below the lowest of that day!'' They said, no, these are false email. you did not bought these. (Just now I got information that another email was false, which I got on last day).



When an order is executed, we can know it from several ways.

1. pending orders: the executed order should be removed from pending list.

2. trades:
details of the executed order should appear in this list.

3. view limits > net exposure:
amount of money spent for this order should be added here (only in case of buy orders).

4. view limits > scrip wise positions: scrip names with corresponding spent money amount appears as a table (for buy orders only).

5. email notification: (already discussed).

I found, 3 and 4 works nicely. updates within a second.
But 1 and 2 do not update properly and make me confused. Once I modified an order in the pending box, which was already executed! Result was double buy. Since then, I do not rely on pending box.



Sometimes I experience this strange problem. I do not see any order in my 'pending orders' area. But I know I have submitted some orders.
Are they deleted automatically? Ok, no problem, I can submit again.

But unfortunately, these are not deleted. Some of these are being executed behind the screen! I could not modify these.
This is a very big bug of CSE-ITS.



See the image:

Yes, it is trading hour. I face this problem almost everyday. Usually at 2:40 pm, their server goes down for about 10 minutes. Sometimes for 30 minutes even. Probably due to narrow bandwidth.


Their time is wrong! It is almost 2 minutes fast! My 4-yrs-old son can adjust computer-time with 'time server', but CSE-ITS can not!
DSE-TESA time is also wrong. They are slow.

CSE is fast, DSE is slow! Wow wow wow!!! এত আনন্দ কই রাখি?




Download the installer exe file from their site www.amibroker.com

Install it as usual in this location c:/program files/amibroker

Now your amibroker is ready to test. Go to 'about', see it is unregistered version and does not save changes. This one is useless.

Registration / Crack:

If you do not want to buy the original amibroker, just ask your friend (who has a cracked or original professional version) to send the ''brokey.dll'' file (available in the main folder). Then delete your brokey.dll and paste the new one there. Done.
Now see the 'about'. This one is registered and professional version or may be standard version. Professional one is best, standard version has some limitations. I used standard version for a while but it can not import excel data. So, never use standard edition.

One illegal crack is available in the internet, which is registered to Shashi Sethi. This one is good if you do not use Amiquote. If you use amiquote, Your amibroker will stop working and will tell you to buy new amibroker. ''Shshi sethi and amiquote can not stay together''.

As DSE-data is not available via amiquote, we have no problem to use shashi-sethi's crack. We are actually offline!


First of all make a new database folder. Go to c > program files > amibroker. Make a new folder here (inside the folder ‘amibroker’). Name it as “00 my database” (you can choose any name). Now open amibroker program. Go to file > new > database > browse > (here show the empty folder 00 my database) > open > create. Ok


Now you have to import data. Paste the folder 00DSEDATA (the folder containing your csv files) in anywhere in your hard drive, better avoid c drive. In this way u can save it from accidental crash and consequent formatting c drive.

************IMPORT ASCII:****************

Open amibroker. Go to file > import ascii > ( here open the folder 00DSEDATA select all files by pressing ctrl+A ) > set your file type as default ascii or yahoo's csv > open. Done.

If you are importing data from a csv file that is not like yahoo's one, you have to use 'import wizard' for the first time. Then save the 'file type' or 'file format', and use this format to import data via 'import ascii'.

Method of using import wizard: (do it only for the first time):

File > imprt wizard > pick files > browse to select your csv file > open > next > set your columns according to the sample visible at the bottom of the dialogue box. carefully set the date. Don't forget to skip first one line if your csv file shows a row with 'headlines'. Usually we do not have any headline-row, so carefully set it. > next > tick the check box to add current settings to ascii importing definition (it will save your format). Do not place tick mark if you do not want to save the format. > give a format file name (like NEW3.format). Write the description (like NEW3). Do not change the file-mask. > finish.
Your data is imported. From now on, you will see ''NEW3.format'' in file-type box while import ascii. You can import your data (from this type of csv files) by using this format via 'import ascii'.

I have made several format files. ddd.format, dsnap.format, sarimEOD.format, sarimSNAP.format etc. Easy to recognize.


Those who want to install Linux, but do not want to say good-bye to windows-xp, can follow me. I installed Linux mint in my computer very recently, xp is there too, as a dual-boot option.

It is easy to install xp or linux in a computer, but if you want to keep them together, the method is a bit complex (only for them who are very ordinary users like me). I faced trouble in 'partition-management' only.

Let me tell the whole process precisely.

1. Collect the installation CD / pendrive, or download the iso file from these links:



Then burn the CD-image on an empty disc. Or make a bootable pendrive as I described in my previous post.

2. If you are installing it as a dual boot option, then you have to have an empty partition in your hard disc. I made a 40GB-partition empty for Linux. Just removed everything from this partition (let's call it drive-G) manually, using 'windows explorer'.

3. Boot the Linux os from your CD or pendrive.

4. Click on the 'install Linux mint' icon on the desktop to start installation.

5. Some easy options will come, like user-name, password, time-zone, keyboard-layout etc etc. These are easy to manage and I am not going to describe these.

6. When 'where to install' option will come, choose 'let me manage manually'.

7. A disc-management page will appear. You will see all your hard disc partitions with size and format-type. All your partitions are in NTFS format probably. Select and delete the partition-G. Now it will be 'empty space or un-partitioned space'. Select this space for installing Linux-mint. You can use 'gparted' to delete and format your hard drive. Gparted is available in the menu, even while you are in linux mint booted from cd.

8. You have to divide this empty space into 2 partitions, a smaller part for 'swap area' and a larger part for Linux mint os. Swap area should be double of your RAM size. It acts as a temporary RAM when the os runs. I tried to make it 2 GB, but it did not allow me less than 3GB. So, my swap area is 3GB. There is a slider to set the size of divisions, set it and forward to the next page. Select it as swap area then format it. It may take a long time. (select the unpartitioned space > add > set the size > set the format type as 'swap' > apply).

9. After that, select rest of the empty area for formatting. It is about 37GB in my case. Set as ext3 as format-type and set ''/'' as 'mount point'. Format it. (select the space > add > do not change the size > set the format type as ext3 > set mount point as / > apply).

10. Now you are ready to install Linux mint. Install on ext3 partition. Follow on-screen directions. Everything is easy.

I wrote this post blindly from my memory, as I do not have these installation pages in front of me. I wish to correct any errors if I find any.



কিভাবে বুটেবল পেনড্রাইভ বানাবো, এবং মিন্ট হেলেনা ইনস্টল করবঃ

১. মিন্ট হেলেনার আই এস ও ডাউনলোড করুন। সাইজ প্রায় ৭০০ মেবা।



অথবা আপনার পছন্দমত যে কোন লিনাক্স আইএসও ডাউনলোড করুন। আইএসও-টা আপনার হার্ড ডিস্কের যে কোনো স্থানে রাখুন।

২. ইউনেটবুটিন ডাউনলোড করুন
সাইজ ৪ মেবা। এটাও হার্ড ডিস্কের যে কোনো স্থানে রাখুন।

৩. একটা ২ গিবা খালি পেনড্রাইভ নিন। FAT-32 format. দরকার হলে ফরম্যাট করে নিন।

৪. হার্ড ডিস্কের একটা পার্টিশন খালি করে নিন। এটা ডিলিট করে ফেলুন। আন-পার্টিশনড স্পেস হয়ে গেল। এখানেই লিনাক্স ইন্সটল করা হবে।

৫. এক্সপি চলা অবস্থায় ইউনেটবুটিন চালু করুন। ডিস্ক ইমেজ> আইএসও > আপনার আইএসও-টা দেখিয়ে দিন। সেই পেনড্রাইভটা ঢুকিয়ে নিন। ইউএসবি-পেনড্রাইভটা দেখিয়ে দিন। > ওকে।

৬. এখন চুপ করে বসে থাকুন। আপনার বুটেবল পেনড্রাইভ পয়দা হয়ে গেছে।

৭. বায়োস-সেটাপে গিয়ে আপনার কমপিউটারের বুট প্রায়োরিটি বদলে নিন। ইউএসবি ড্রাইভকে পয়লা নম্বরে রাখুন। সাপোর্ট না করলে নয়া বায়োস-ড্রাইভার ইনস্টল করে নিন। (এইটা ইনস্টল করতে নাকি ফ্লপি ডিস্ক লাগে? আমার তো ফ্লপি নষ্ট !)

৮. পেনড্রাইভটা ঢুকিয়ে কমপিউটার রিস্টার্ট করুন। পেনড্রাইভ থেকে বুট হবে। কিছু্ক্ষণ মুগ্ধ হয়ে তাকিয়ে থাকুন। নেড়েচেড়ে দেখুন। ডেস্ক-টপেই ইনস্টল আইকন আছে। ইনস্টল করুন। 'ইনস্টল করার সময় কোন পারটিশনে ইন্সট্ল করবেন সেই অপশন এলে use largest contiguous free space সিলেক্ট করে দিন। এবার নেক্সট নেক্সট করেন। কাজ শেষ'।

(কিভাবে একই কম্পিউটারে এক্সপি ও লিনাক্স ইনস্টল করা যায়, এবং সে অনুসারে HDD-পার্টিশন ম্যানেজ করা যায়--- এ বিষয়ে পরে বিস্তারিত লেখার ইচ্ছা রইল)

------- ------------- ------------- ---------- ----- --------- ------- ------------
আপনি যদি জীবনে প্রথম আপনার কমপিউটারে লিনাক্স-এনভায়রনমেন্ট দেখেন তাহলে আনন্দে বুকটা ভরে যাবে। এই আনন্দ মুক্তির আনন্দ। আর যদি সেটা মিন্ট হয় তাহলে তো কথাই নাই।
সজীব-শ্যামল বাংলার মতই অতি আপন মনে হবে।



My programmer-friend Sarim Khan has just released this tool. Hats off to this great man. He is not a stock trader, he created it just for us, not for himself.


1. You can customize source address of mst file. (We were waiting for this feature, right?).

2. You can get data from web and get data from saved mst file (like DDD).

3. If u get from web, dsegen index will be available in the output csv file (like DDD).

4. It works on windows-XP, Linux, Mac, or any platform (Good news for Linux-users!).

5. The output csv files will be created inside a new folder, which will be created automatically first time (like DDD).

How to run:

double click only.

or right click and open with 'java(TM) platform'.

In Linux, u can use any of above methods or use terminal-method:
enter ''java -jar dse2.jar'' in the terminal while the tool should be kept in the home folder.

This is java based, so you have to have 'java runtime' installed in your computer. Download java for free from internet, if not yet.

Please run it after 3:30 pm on trading days, as we do for DDD. It can not report date-mismatch-error as DDD can. So, don't forget to check manually.


This one is open-source tool. You can distribute it to anybody for free.

You can improve it anytime, if you know java programming. And don't forget to distribute to all for free, if you have made some improvement / modification.

Please do not try to use it for any kind of commercial purpose.

(Please contact the creator if you want to work with him).

Bug report:

Don't forget to send bug report to Sarim khan via email or via his web page, if you find any error in this tool.

I sent it to all my friends via email. If you did not get it yet, just send me a mail, or you can download it from Sarim Khan's web page.



লিনাক্স মিন্টে ব্লুটুথ ইন্টারনেট কানেকশন:

লিনাক্স মিন্টে ব্লুটুথ-ইন্টারনেট কানেকশন করার জন্য আমি প্রথমে বহু চেষ্টা করেও ব্যর্থ হয়েছিলাম। ইনটারনেট ঘেঁটে নানা পদ্ধতিতে চেষ্টা করেও যখন হলোনা তখন সারিম ভাইয়ের শরণাপন্ন হই। তিনি একটা বাংলা সাইটের লিংক দিলেন। http://nasir8891.googlepages.com/pppoe#blue_tooth এই উপায়ে চেষ্টা করে কাজ হয়েছে। সামান্য কিছু রদবদল করতে হয়েছে অবশ্য। হ্যান্ডসেট ভেদে এবং ISP- ভেদে সেটিংস-এ সামান্য পরিবর্তন করতে হয়। আমি সেগুলো জায়গামত লিখে দিয়েছি। নিচের লেখাটির জন্য আমি সারিম ভাই এবং উক্ত সাইটের লেখকের কাছে ঋণী। আশা করি বাংলাদেশী নেট-ইউজারদের কাজে লাগবে।

I am using these:

Handset: Nokia 6151 as blue-tooth modem.
Service: grameen-phone P2 internet service.
APN (access point): gpinternet.
Dial number: *99#

Now let's see the method step by step: (look, we have to make 3 configuration files. That's all):

1. প্রথমে পেয়ার করুন। এক্সপির মতই নিয়ম। How to pair your handset with linux mint:

Turn on bluetooth at your mobile set, make it shown to all.
Go to the bluetooth set-up icon on your computer, search new device, select your handset, pair it, put the pass-code if needed. Done.

2. Find out the MAC-address of your handset.
go to the terminal and write this:

hcitool scan

you will see something like this:

Scanning ...
00:18:C5:CB:7F:55 Nokia6151 Dr.Mazhar

the red colored thing is 'Mac address' and blue colored thing is 'name' of my handset.

3. Find out the channel of dial up networking service of your handset:
Enter this in terminal:

sdptool search DUN

You will see something like this:

Inquiring ...
Searching for DUN on 00:18:C5:CB:7F:55 ...
Service Name: Dial-up networking
Service RecHandle: 0x10000
Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100

Look, we got it. channel is: 1

4. Make a configuration file ( rfcomm.conf ):

Enter this in terminal:

sudo gedit /etc/bluetooth/rfcomm.conf

A file will open. It is usually empty file. If this file contains any text, delete all and paste only this thing on the file:
rfcomm0 {
bind yes;
device 00:18:C5:CB:7F:55;
channel 1;
comment "Bluetooth PPP Connection";
Note, the green part is your MAC address and the blue part is your channel. These may be different for your handset. So, write these carefully.
Save and close the file.

5. Restart your bluetooth device:

Enter any one of the followings in terminal, it will restart the bluetooth connection.

sudo /etc/init.d/bluetooth restart

sudo /etc/init.d/bluez-utils restart

In my case, first one stopped my bluetooth paring and second one showed error. Then I paired the handset again manually, just like step-1.

6. Make another configuration file:

Enter this in the terminal:

sudo gedit /etc/ppp/peers/BluetoothDialup

A file will open. Paste and keep only this thing in the file:

connect "/usr/sbin/chat -v -f /etc/chatscripts/BluetoothDialup"
/dev/rfcomm0 115200
lcp-echo-failure 0

Save and close the file.

7. Make another configuration file:

Enter this in terminal:

sudo gedit /etc/chatscripts/BluetoothDialup

A file will open. Paste and keep only this thing in the file:
'' \rAT
OK 'AT+CGDCONT=1,"IP","gpinternet"'
OK ATD*99#

Note, the black part is your 'APN or access point' and the blue part is your dial number. These may be different in your ISP. Please ask your ISP about these things. The whole red line should be deleted in case of Banglalink and Aktel.

Save and close the file.

Our configuration is done.

How to connect and disconnect:

A. We will see our connection option in the task-bar icon for 'network-connections'. Just click on it to connect and click again to disconnect. I am doing so in my Linux Mint-8.

B. If you right click on the blue-tooth icon on the task-bar, you will see 'recent connections > blue-tooth dial up'. You can use it too for connecting and disconnecting. Just click on it.

C. If you have 'blue man' installed, you can use it for connecting and disconnecting. It's graphical.

D. We can also use terminal to connect and disconnect. (Do it at the very first time. Later use any of the easy options given above).

For connecting: sudo pon BluetoothDialup
For disconnecting: sudo poff BluetoothDialup

**''Bluez-gnome'' and ''blue-man'': Install these 2 via your package manger. These 2 will help you managing bluetooth setup. I installed these (using my usb data cable > mobile set > internet) before setting up bluetooth modem. I found, Linux mint and puppy linux readily recognize usb-modems, and internet connection is so easy! Only few clicks!


1. Terminal may ask you for the root password sometimes, in such cases write it and press enter.

2. Sometimes, one command may show error, in such cases enter the command again.

3. You can install another better bluetooth driver in your machine. Just write 'bluetooth' in the package manager and choose a driver to install. I found 'blue man' is easy and graphical.

4. Sometimes when I click on the 'connect' option, it says: ''this device has no GPRS/GSM service'', then I click 'ok'. Then connection establishes!

5. Why bluetooth connection is so difficult in Linux? Because hardware manufacturers usually do not make drivers for Linux. This is not the fault of Linux, rather fault of those manufacturers. But see our great programmers made the solution. Linux is so flexible!

Happy Linuxing.


লিনাক্স মিন্টে কিভাবে ইন্টারনেট কানেকশন করবেন

এই লেখাটিও সারিম ভাইয়ের সৌজন্যে পেয়েছি।

প্রথমেই গ্রাফিক্যাল তরিকায় চেষ্টা করুন। কাজ হয়ে গেলে তো ভালই। না হলে কমান্ড তরিকাই ভরসা।

গ্রাফিক্যাল পদ্ধতিঃ
১. টাস্কবারের ইন্টারনেট আইকনে রাইট ক্লিক করে নিউ কানেকশন সিলেক্ট করুন।

২. আপনার মডেমের ধরণ সিলেক্ট করুন। যেমন, wireless/wifi, mobile-broadband, telephone-cable ইত্যাদি।
যদি আপনি মোবাইল ফোন দিয়ে কানেকশন করতে চান তাহলে এভাবে করুনঃ mobile-broadband > new/add > Bangladesh > grameenphone (or aktel or warid) > default method > access point: gpinternet > dial number *99# > ok.

৩. ( চাইলে ইউজারনেম, পাসওয়ার্ড এগুলো বসিয়ে ওকে করুন )। রেডি হয়ে গেছে।

৪. এখন টাস্কবারের আইকনে ক্লিক করে দেখুন, আপনার কানেকশনটি দেখাচ্ছে (যেমন, grameenphone-default-1)। ওটাতে ক্লিক করলেই কানেকশন হয়ে যাবে।

আপনি যদি ইউএসবি কেবল দিয়ে মোবাইল সেট কানেক্ট করে উপরের পদ্ধতি অনুসরণ করেন তাহলে বেশির ভাগ ক্ষেত্রেই কাজ হয়ে যাবে।


যদি না হয়, তাহলে এভাবে করুন (মোবাইল সেট > USB CABLE > gp internet)---

Connect your mobile-set via usb cable.
Select PC suite or default mode in mobile set.
Then goto computer (Linux mint).
Open the terminal and write:
lsusb (এল এস ইউ এস বি). enter চাপুন।

তাহলে আপনার USB তে লাগানো সব গুলা ডিভাইস শো করবে,

Now note the line in which ''Nokia Mobile Phones'' is written…

যেমন আমি পেয়েছিঃ ''Bus 006 Device 009: ID 0421:04d2 Nokia Mobile Phone''

it has two numbers. one is 0421 & other is 04d2…we’ll take these numbers as 0×421 & 0×4d2

0421 is the Vendor ID & 04d2 is the Product ID

Now enter this command in terminal:

sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)

অর্থাৎ এভাবে লিখুন sudo /sbin/modprobe usbserial vendor=0×421 product=0×4d2

কিছু লেখা আসবে।

এখন টাইপ করুন,
sudo wvdialconf
এখন আপনার মডেম অটোডিডেক্ট করবে

দেখুন আমার কম্পিউটারে কেমন লেখা এসেছিলঃ

==== terminal =====

mazhar@mazhar-laptop ~ $ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

===== end terminal ======

একটা লাইন দেখবেন শেষের দিকে, Found an USB modem on /dev/ttyACM0.
এটা আপনার মডেম। এই অ্যাড্রেস /dev/ttyACM0 মনে রাখুন

এখন টাইপ করুন,
sudo gedit /etc/wvdial.conf

A file will open in text editor…now delete everything in that file & paste the following there:

[Dialer Defaults]
Modem = /dev/ttyACM0 আপনার ক্ষেত্রে ভিন্নও হতে পারে।
Baud = 460800 আপনার ক্ষেত্রে ভিন্নও হতে পারে।
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = *99#
Username = username
Password = password
Stupid Mode = 1
ফাইলটি সেইভ করে ক্লোজ করুন।

এখন টারমিনাল এ লিখুন,
sudo wvdial
তাহলে একটু পরে দেখবেন কিছু লেখা দেখাচ্ছে,


======== terminal =======

mazhar@mazhar-laptop ~ $ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Feb 11 21:15:26 2010
--> Pid of pppd: 2585
--> Using interface ppp0
--> pppd: ���[08]�،[08]
--> pppd: ���[08]�،[08]
--> pppd: ���[08]�،[08]
--> pppd: ���[08]�،[08]
--> local IP address
--> pppd: ���[08]�،[08]
--> remote IP address
--> pppd: ���[08]�،[08]
--> primary DNS address
--> pppd: ���[08]�،[08]
--> secondary DNS address
--> pppd: ���[08]�،[08]

====== terminal ends =========

হয়ে গেছে।

টারমিনাল বন্ধ করেবেন না কিন্তু
ফায়ারফক্স চালু করে দেখেন ব্রাউস করা যাচ্ছে কিনা
Disconnect করতে যেই টারমিনাল এ কানেক্ট করেছিলান সেখানে, Ctrl + C চাপুন

নোটঃ কোনো কোনো কমান্ড একবার লিখে এরর পেলে আবার লিখুন। কমান্ড লেখার পর এন্টার দিতে হয়।

এর পর থেকে টারমিনাল ছাড়াই কাজ হবে। টাস্কবারের আইকনে আপনার কানেকশনটা দেখা যাবে, ওটাতে ক্লিক করলেই কানেকশন হবে। ওখানে ''ডিসকানেক্ট'' লেখাতে ক্লিক করলে ডিসকানেক্ট হবে।


লিনাক্স মিন্টে কিভাবে gnome-ppp ইনস্টল করব?

আমি মাত্র দুই দিন আগে লিনাক্স মিন্ট ইনস্টল করলাম। জীবনে প্রথম লিনাক্সের স্বাদ পেলাম। এক্সপির চেয়েও স্মুথলি চলছে। আরাম।।

কিন্তু সমস্যা হল, আমি নকিয়া ৬১৫১ সেটকে ব্লুটুথ মডেম রূপে ব্যবহার করে অভ্যস্ত। হেলেনাতে সেইরকম কোনো ব্যবস্থা নেই!

আমার ল্যাপটপে বিল্ট-ইন ব্লুটুথ আছে, যেটাতে আমার নকিয়া পেয়ার করেছি। ফাইল ব্রাউজ করা যাচ্ছে (এক্সপির চেয়ে অনেক দ্রুত ব্রাউজ হয়, ওয়াও!)। কিন্তু ব্লুটুথ মডেম-রূপে ওটাকে ডিটেক্ট করতে পারেনা। ডায়াল তো অনেক পরের কথা।

মিন্ট বন্ধ করে এক্সপি বুট করলাম। সারিম ভাইয়ের সাথে যোগাযোগ করলাম এবং নেট ঘাঁটাঘাটি করলাম। ফলাফলঃ নোম-পিপিপি ইনস্টল করা লাগবে। কিন্তু কিভাবে? নেট কানেকশন থাকলে তো প্যাকেজ ম্যানেজারকে বললেই ইনস্টল করে ফেলে। ডাউনলোডেড ফাইল থেকে কিভাবে করব? কি ফাইল ডাউনলোড করব? সারিম ভাই উদ্ধার করলেন। ৫ টা লিঙ্ক দিলেন:

download the following files. then put them in a FOLDER in mint:-






ওগুলো এক্সপিতে ডাউনলোড করে পেনড্রাইভের মাধ্যমে মিন্টে নিলাম। টার্মিনালে কমান্ড দিলাম (সারিম ভাই শিখিয়ে দিয়েছেন) -

sudo dpkg -i ./FOLDERNAME/*.deb

(এখানে FOLDERNAME হলো সেই ফোল্ডারের নাম যেখানে ঐ ৫ টা ফাইল আছে)।

টার্মিনাল ছাড়াও করা যায়। ফাইলে ক্লিক করলেও ইনস্টল হবে। তবে ফাইলের ধারাবাহিকতা বজায় রাখা লাগে।

নোম-পিপিপি এখন ইনস্টল হয়েছে। সারিম ভাইকে কৃতজ্ঞতা জানাচ্ছি।


Dhaka stock exchange does not provide internet based trading facility till now (4 pm, 09- Feb-2010 AD).

Some brokers of DSE have established semi-online facility:

GLOBE: http://www.globedse.com/

GQ: http://www.gqsecurities.com/

K: http://www.ksecuritiesbd.com/

GMF: http://www.stockbangladesh.com/gmf/

They use software to take sell-buy orders from their clients through internet. Then they manually submit these orders to DSE's trade-computer.

One of my friends trades in k-securities. He said, he is satisfied with their service. He can submit orders even at off-time, that remains in queue for manual submission by the broker.

Personally I am a client of globe securities. Their service is off now, after experiencing some problems (too heavy interface to handle via internet. It was suitable for LAN-connection). Hope they will repair their software and start again soon. Their online portfolio checking is still active and a nice one. Brokerage is same as conventional trading, 0.50%. Registration for internet trading is free.

I do not have anymore information about other brokers' services.



Wine is a tool that can run windows-based softwares inside Linux.

Luckily amibroker needs no internet connection to run. Except few things like kwikpop-afl and amiquote. And we do not use amiquote in DSE.
So I hope we will be able to use amibroker in wine.

Sarim bhai gave me this link.
See the images above, got from the link. It shows they can run even amiquote inside ubuntu-Linux. Wow!

They said. ''Your not alone! Already there are people successfully using AmiBroker under linux''.



I was talking about my programmer friend.
He is Sarim Khan. He already has done some advancement creating a tool. See the image above. I am excited and eagerly waiting for the first release of the tool.

He gave me some useful information about java. ''java is a platform independent and machine independent language''.

So, if we can make our tool 'java based', it will run on all os like windows, Linux, mac etc.

By the way, wine is a tool that can run windows-based software inside Linux. But unfortunately, wine can not run a tool which needs net-connection. So we can not run DDD and DSNAP in wine.





We have 2 windows-based tools for capturing EOD-data for DSE (Dhaka stock exchange). These are DDU and DDD. Respected maxether bhai and abyss bhai created and distributed these for free.
And we have a trade-time data capture tool for windows, DSNAP. This one is made and gifted by abyss bhai for free.
We need tools that can work on Linux. Linux users are increasing very quickly.

I was talking about this matter with a friend (Sarim Khan) who is a good programmer and Linux expert. Unfortunately he is not familiar with stock market data. I had to explain the whole thing. Again unfortunately I am not a programmer, may be I could not explain properly. Sarim bhai assured me, he can make tools that will work on any operating system, Linux, windows, Mac, Solaris etc. He told, java based tools work on any os.

In the Linux-world, everything is free and open-source. Millions of big-heart people are contributing without taking any benefit.

Here is some email-conversations I have had with my programmer friend:

---------- ---------- -------------

we use charts for seeing stock market conditions.
we use amibroker for making charts. www.amibroker.com
international stock markets supply csv files to use in amibroker. but bangladeshi stock market gives dirty format data which is not workable. so we need to convert these dirty data.

2 types data we need. EOD or end of day. market remains open from 11am to 3pm. after 3 pm we make eod chart to see the whole day picture.
'till now data' is used for seeing the market condition during trade hour. this is not 'intraday data', though it is like intraday.

csv file must contain six parameters. date open high low close volume.
date is the date of that specific trading day.
open means opening price or the first price of that day.
high is the highest price of the day.
low is the lowest price of the day.
close is the closing price of the day, not last price.
volume is number of stocks traded in that day.

--------------- MAKING JAVA BASED DDD ----------------
-------------- EOD DATA
CAPTURE TOOL ------------

for eod data we use this link:
or this link:
or this link:

see, dse is giving 3 links for a same txt file. sometimes any one or
two remains unavailable. probably they will change their link again.
so, we need an option to put the link manually. it can be so: the tool
should try above three links one after another if fails it will try
the link which i will write manually. see the ddd, i can manually
change the sources, 4 options r there but now option for manually
writing address. ddd can not search one after another. it grabs data
only from the given single link. admin / web / admin new / web new. In
dse home page, www.dsebd.org or www.dse.com.bd , see a link at left
panel lower area, ''market statistics''. this is the source of mst
file. it comes 30 minutes after closure of trade.

again, for eod data, we need these: date, ticker name, open, high,
low, close, volume.

For intraday data, we need: date, time, ticker name, open, high, low, close, volume.

we can save data as 'per stock csv' or 'per day csv' . ddd creates
automatically: folders, csv files, new ticker file when a new stock
comes in market.

Also see: public, spot, block, odd-lot transactions (in mst file). we will add public and
spot. block market will not be added in our data. (odd lot will not be added too).
volume means, number of stocks traded on that day. not the value in taka.

Also see, dse general index will be added in our data. file/ticker
name is 00dsegen (zero zero dsegen). here volume is total value in taka here. not the
number of trades. volume will be divided by 100 automatically and kept
in our output data.

note: hi and lo of 00dsegen is not available in mst. we will grab it
from this link:

see, ''get from file'' and ''get from web''. From file means, from
saved mst file. no index update is possible here. because hi and low
of index is not available in mst file.

i do not use other options in ddd. these are SECTOR, EQUITY, SECTOR
DEF UPDATE, GENERATE SECTOR ARCHIVE. Please do not waste your time for
these options. unnecessary things. we can make these inside amibroker

-------------- MAKING JAVA BASED DDD ----------------
-------------- EOD DATA
CAPTURE TOOL ----------------

Please open a csv file from ''per day csv folder'', and another from
''per stock csv folder''.
see the difference. also see the number of csv files inside these folders.

I believe, per-stock option should be discarded totally. this way we
can save our valuable time. this method has some problems too. I have
last 10 yrs' full database at per stock format. it is getting bigger
and bigger day by day. very difficult to send via email. per day is
small. if i fail to update at a specific day, i can ask a friend to
send it via email. he can send only one file of that day, only 15
kilobyte size.
I saved last 10 yrs data as per stock format up to 31-12-2009, kept it
for historical archive. Now saving only per day format since 1-1-2010.

I will request you to omit per stock format. it will save your time.

just see a csv file (from per day folder). you will understand easily,
how it is made. you r a talented programmer, as far i understood.


Good news is, I found, ddd and dsnap both works without ms-office. I
installed xp in a computer after total formatting of full hard disc.
then installed open office .org . No ms office. Both ddd and dsnap
previously we found, without ms-office, these tools do not work. looks
like ooo has some internal engine just like ms-office. (i don't know
anything about programming).

I made a pic. see it.


We capture trade time data from these links:

http://www.dsebd.org/latest_share_price_scroll_l.php (THIS ONE IS BEST)

here is a problem. for this we can't use it as eod data at the end of
trade hour. the problem is 'there is no open price'. we take ycp as
'open'. ycp means 'yesterday closing price'. We hope dse will give us
'open' someday. till then no way. we will work with wrong data. IS THERE ANY WAY TO CAPTURE ''TODAY'S FIRST TRADED PRICE''? WE WANT TO GET RID OF WRONG DATA. ONE OF MY FRIENDS SAID, IT IS POSSIBLE. BUT HOW? DON'T KNOW YET... waiting ...

see the attached pic. I kept 2 buttons: one for 'with index' another
for without index. index data will be captured from this link:
hi and lo is there. but where is open close volume? in the home page:

Remember, volume means 'value in taka' in case of general index.
also see, in the home page, there is yesterday's index data. take ycp
as open. 'Latest' is the 'close'. volume is value in taka so far.

we will take the latest price or last traded price as 'close' in dsnap.
hi means highest so far.
lo means lowest so far.
open means ycp.
volume means volume. total volume so far.

note, we will not put 'time' in our output data file. we r not making
intraday charts. look at a csv file generated by dsnap.

Please keep 2 options, one for 'with index' and another for 'without index', as I showed on the sample image. 'Without index' will help us when internet connection is too slow.

=========== INTRADAY ===============
you can make another tool for intraday data. there will be time stamp.
five min interval or one min interval etc. date and time both will be
kept in the csv file. we do not need this tool right now. O-H-L-C-V
all will be inside that time interval, not ''till now''.


Is there any software against amibroker? for linux. www.amibroker.com
we use this software for watching graphs or charts. Now we need a linux based amibroker.

============ VOLUME IN DSEGEN ==========

by the way, don't forget to divide the index-volume by 100.

i mean, omit last 2 digits, also omit digits after the decimal.

when dse's total trade value in taka is 11002837568.45 tk, then our
output will be 110028375 as volume.
this rule is for 00dsegen only. for both ddd and dsnap.

2 files attached. these r our output csv files. one is from dsnap,
other is from per-day-eod.

----------------- -------------


in eod / ddd,

only source is the mst file. I told you about the multiple address earlier. This one is primary address:

we will add ''public'' and ''spot'' transactions, and we will omit
''odd-lot'' and ''block'' transactions.

open= open
high= highest of the day, it may be in public or may be in spot. just
take the highest.
low= lowest of the day, it may be in public or may be in spot. just
take the lowest.
close= close
volume= add both volumes in public and spot. summation.

note, at the lower part of the mst, index open and close is given. hi
and lo will be collected from another page that i said earlier.

----------------- FORMAT OF CSV FILE ----------------

in both ddd and dsnap csv files, columns will be arranged like this:


Date format will be dd-mm-yy

you can keep a row for 'headlines'. it is not necessary. But don't
forget to keep the serial like my example.
Headline means ''TICKER NAME , DATE , OPEN , HIGH , LOW , CLOSE ,
VOLUME'' these words written in the first row of each column.
Headline is not necessary. my attached files have no headlines. serial
is very important.

--------------- ----------------


OPEN= at the lower part of mst file.

HIGH= http://web.dsebd.org/admin-real/index-graph/companygraph.php?graph_id=gen

LOW= http://web.dsebd.org/admin-real/index-graph/companygraph.php?graph_id=gen

CLOSE= at the lower part of mst file.

VOLUME= at the upper part of mst file.

------- -------------- --------


OPEN= yesterday close. found in the homepage. (C)

HIGH= http://web.dsebd.org/admin-real/index-graph/companygraph.php?graph_id=gen

LOW= http://web.dsebd.org/admin-real/index-graph/companygraph.php?graph_id=gen

CLOSE= latest condition of index. found in the homepage. (A)

VOLUME= total volume till now. found in the homepage. Don't forget to divide it by 100. (B)

See the above image. See the A-B-C-D marks I placed.


00DSEGEN: (in case of EOD/DDD only):

It is ''dse general index''. (not dsi or all share index or not dse20 index.).

ticker name will be 00dsegen.

open is 'yesterday close'. In case of index it is always
open=yesterday's close. Source is lower part of mst file.

high is today's highest. source is
low is today's lowes. source is
close is today's closing. source is at the lower part of mst file.

volume is 'total value in taka'. source is upper part of mst file. In
the output file we must put the data as 100th. That means, we will
delete the digits after decimal, and we will delete the last 2 digits.
For example, when total value in taka is ''142578548.25 tk''. our
output will be ''1425785'' . (see, last 2 digits before the decimal,
and all digits after the decimal is deleted. i mean, 48.25 is absent
in the output).


here is some hints for DDD/EOD TOOL (NOT TRADE HOUR TOOL):

See some cuttings from mst file:

========= final index means closing ==============

Final Index Change(Points) Change(%)
------------ -------------- -----------

ALL SHARES PRICE INDEX (DSI) 4445.80700 -86.57018 -1.9100391
DSE - 20 INDEX (DS20) 3049.46682 -71.68465 -2.2967372
DSE GENERAL INDEX (DGEN) 5399.64698 -103.73196 -1.8848776

========= this value(tk) means volume ===========


A. NO. OF TRADES : 229777
B. VOLUME(Nos.) : 56388012
C. VALUE(Tk) : 16375146890.10

=========== opening and closing at the lower part of mst ========


DSI 4532.37718 4445.80700
DS20 3121.15147 3049.46682
DGEN 5503.37894 5399.64698


take the red colored parts only (in the examples above).


all instrument-codes (= ticker names) should be arranged
alphabetically. no ticker should come twice.

at the most right column, it is 'value'. we don't need 'value'. don't
put in your output file.


Please keep an 'output folder' for each tool, EOD and trade-hour.

this folder will contain all the output csv files.

new files will replace the old file if the file-name is same.

file-name should be created automatically.

for eod tool, filename will be like this: eod_19-02-2010,
eod_20-02-2010, eod_21-02-2010 etc etc.

for trade-hour tool, file-name will be ''snap_19-02-2010''. Same name
will be created again and again, if i run the tool again in the same


we have to add both public and spot transactions always.

Like this...

open ----- as usual.

high ---- the highest one, it may be in public, or may be in spot.

low ---- the lowest one, it may be in public, or may be in spot.

close ---- as usual.

volume -- summation of both volumes. public volume+ spot volume.


1. We should not place 'non traded ticks' in our output csv file. It will create wrong data.

2. All stock exchange authorities of the world provides data as csv format, but our DSE does not. So, we need such tools.

3. We should not capture data from BIASL (or other similar sites), they may provide old or wrong data.



I submitted a sell order at last (plz see part-1).

But this order returned back within few seconds. Cause: CROSSED GROSS LIMIT.

There are 2 types of limits. INDIVIDUAL LIMIT & GROSS LIMIT.

I discussed about individual limit in part-1.

What the hell is 'gross limit'?

It is nothing but limit for the broker house. For example, my broker has 12 crore taka buy limit for today. All the buyers at this house can not submit buy orders more than 12 crore together.
Same thing about sell limit. For example, gross sell limit for AGNI is 25000 today, all the clients of this house can not submit sell orders more than 25000 together. I submitted 1000 AGNI sell order. this order returned back. because other clients of my house already exhausted the 25000 limit. Though I have 1000 AGNI matured. I can not sell it. I sent email but no reply so far, it is now 2:21 pm.

Is it my duty to fix their limit? Is it my duty to phone them everyday to fix my individual limits?



Good thing is, I can submit/modify/delete my orders myself alone. No verification is needed by the broker. My broker even can not see my orders.

Broker's power is 'setting limit'. A 'Human' does it. I do not like any 'human' interfering in such cases. Their level of responsibility is much lower than a machine.

Buy limit: this is the amount of money that I can spend.

What will happen if my broker does not give me proper buy limit? For example, I have 3 lakh taka cash in my account and 1 lakh taka sell-power, my broker set 3 lakh taka limit, instead of 4 lakh taka. This happened in my life. I sent several emails to them, but they did not correct. Then I phoned ITS-manger, but no result. Then I phoned director of the house, he corrected it within few seconds. By this time, price changed.

Sell limit: this is the list of matured stocks with amount, set and adjusted by the broker before trade starts.

My experience is too bad here too. Today (07-Feb-2010) at 11:25 am, I found my sell items are not adjusted. I have many matured items but these are not shown in the list. I could not submit sell orders. I sent email, no result. At last they corrected after having a mobile-phone conversation. It was 12:45 pm when I found the correct sell limit. How terrible! The ITS-manger was not in the office. He entered office at 12:30 pm. Who will set my limit?

This is our level of responsibility. Who will take the loss that I incurred for their irresponsible acts?

I love my digital country! E-mails have no value here!



Chittagong stock exchange started internet based trading facility (internet trading system, ITS) in June-2004. But Dhaka stock exchange did not yet, now it is 6-2-2010. How funny!

Why there is two (yes, 2) stock exchanges in a small country like Bangladesh? Any one should be deleted, or both should be merged.

Anyway, CSE's system looks better than DSE' one. I am talking about intranet trading module. Also see, cse's ticker-names are shorter, that is similar to international markets. Main problem is 'total trade volume' is too small in cse. If they advertise their ITS properly, this volume will increase surely.

ITS is so simple and light-wight. A weak computer can handle it smoothly. A very slow net-connection is enough for it. This is my personal experience. I like this thing. After all, it is Bangladesh. We have no actual broadband, rather we have 'fraud band'. Mobile phone based internet is most popular so far. Govt is still so mean to spread internet (sorry, this is a digital country. I should not talk like this).


Address of CSE-ITS: http://www.bangladeshstockmarket.com/


1. Find out a good broker who provides ITS. Brokers' list is available in the site.

2. contact them via email. if they send reply and shows interest, you can open a BO account in that house. Before opening, collect information, how many ITS-clients are trading in that house. Unfortunately most of the brokers are not providing ITS, though they have registration for it.

3. When your account is ready, collect your BO id and internal DP id. Collect the ''broker-code'' and ''sub-broker-code'' of your broker which will be used in the registration form.

4. go to the web site and open the page of registration as a new user. Fill up the form, it's easy. Submit. Your broker will accept your ITS-account. You are ready now. Don't forget your password. You have 2 passwords, one is for browsing another is for trading. I made both same.

5. now, you can deposit money to your broker for trades.

6. go to the website, log in, submit orders, modify them anytime, delete them anytime. see current buy-sell offers with corresponding volumes. You can submit orders even at off-time. these offline orders will hit the market on the next trading hour automatically.

Note: You can modify/delete an 'offline order' during off-time, but you can not modify / delete a 'submitted order' during off time. During trade hours, you can do everything. (your computer > intermediary server > trading server. This 'trading server' remains 'off' during off-time).


Buy-sell limits:
buy limit will be set by your broker in the morning everyday, before trade hour. Remember, your buy-orders will exhaust the limit, whether executed or not.

sell-limit is the 'matured stock list'. your broker will set it everyday before trade hour. No risk of short-sale.


Order validity period:
3 options, GFD, GTD, GTC.

GFD or 'good for day' means your order will die when this session ends. Valid only for this day only.

GTD or 'good till date' means your order will remain active till a given period. you have to set the number of days, like 2 days or 3 days etc. There should be a date option, like 'valid till 09-February-2010'. Actually I remain in the darkness, how long my order is valid.

GTC or 'good till cancel' means your order will remain active until you delete or modify. but not more than one week. Here is a problem, probably this type of orders die at 10:59 am on the next Sunday. Before that moment, you will see them as submitted (=pending) orders. Actually I remain in the darkness, how long my order is valid.


Problems of ITS: (will be discussed later...)



I kicked out microsoft-office very recently.

Previously I thought many of my softwares will not run without ms-office (especially DDD, DSNAP, DDU etc.). But I found, I was wrong.

Only few days ago, I installed windows xp on a pc with a fresh hard disc. Then I installed open office org instead of ms-office.

I installed Amibroker on it. Then I ran DDD and DSNAP. Both worked smoothly.

Open office.org (ooo) has some cool features. Even better than ms-office. Ooo-writer can save a file in pdf format too.

Above all, it is free and legal. Why we will use illegally cracked office suite or why we will buy it while a better suite is available for free? Why???

Download it now...


Isn't it unethical to use pirated software?
Isn't it ridiculous to use costly software while free and legal alternates are available?
I am planning for switch to Linux.
Linux is now so user-friendly and so 'graphical'.
But still, few of my softwares do not run on linux. These are AMIBROKER, DDD, DDU and DSNAP. Honestly, I am searching for Linux-based tools. Recently, a friend of mine, who is a great programmer, is planning to make Linux-alternates for DDD and DSNAP. I am sure, I will find out Linux-alternate for Amibroker.

Untill then, let's put a big slap on microsoft's greedy cheek....

Just follow the steps to make your xp genuine:

Click START > RUN > and type ‘regedit’ > ok.

Registry window will be opened, Then Go to

…and double click on it. Then change some of the value data …delete some, add some letters, don’t care…just change.

close regedit.

Go to start > run > %systemroot%\system32\oobe\msoobe.exe /a (copy and paste it in run cammand) > ok.

the activation screen will come up, click on register over telephone, Do not put license number in this page. rather click on CHANGE PRODUCT KEY, next page will open, here enter this key:

click on 'update' or 'ok'. previous page will appear. It will ask for some more code which is found via telephone, Here write nothing. just avoid it & close the window by clicking 'x'.

Restart your computer.

Now u can go to windows site to validate your os. use internet explorer to browse this site.

click on 'validate windows'. Follow onscreen procedure. some active x will be installed. ...

You are genuine user now!

Now you can download all the updates from microsoft. Enable automatic update.