08 February 2021
Scale Order with Adjustable Stop in TWS API - Interactive Brokers Part 6
03 February 2021
Handling Callback data between threads in TWS API - Interactive Brokers Part 5
Scenario:
Important notes concerning IBApi.EWrapper.orderStatus :
- Typically there are duplicate orderStatus messages with the same information that will be received by a client. This corresponds to messages sent back from TWS, the IB server, or the exchange.
- There is no guarantee that an orderStatus callbacks will be triggered for every change in order status. For example with market orders when the order is accepted and executes immediately, there commonly will not be any corresponding orderStatus callbacks. For that reason it is recommended to monitor the IBApi.EWrapper.execDetails function in addition to IBApi.EWrapper.orderStatus.
18 November 2020
Create Bootable Ubuntu USB Drive with Persistent Storage from Win 10
Scenario:
16 November 2020
Crack PDF Password using John the Ripper in Ubuntu 20.04
Scenario:
I started with PDFcrack and almost 3 days later, the program is still running !!!. So that's when I started looking at alternatives. Nothing wrong with PDFcrack per se, just that it is one of the limitations of brute force password cracking. In fact there is even a beautiful blogpost from Ruby Pdf Technologies on some of the intricacies of PDFcrack.
I remembered using something earlier when I was experimenting with Kali Linux. So I went back to the "gold standard" which is called John the Ripper password cracker.
Types of Password's:
14 November 2020
Install Nvidia Drivers & CUDA in Ubuntu 20.04 (in UEFI mode with Secure Boot Enabled)
In the previous article, we have dealt with Installation of Ubuntu in Dual Boot Mode using UEFI. Now lets look at the installation of Nvidia Drivers for the GPU.
Basic Verification's:
First let us find out the graphics card that is presently used by the system. Click on Settings->About. Presently we have "NV138 / Mesa Intel® UHD Graphics 620 (KBL GT2)" installed.
09 November 2020
Dual Boot Win 10 and Ubuntu for system with (SSD + HDD) using UEFI - GPT method
Scenario:
I intend to use a Linux based VPS to host my trading strategies on AWS. So how do I create a dual boot in my existing Win 10 machine ?
22 September 2020
Thread Synchronization using Event Object in Python - Interactive Brokers Part 4
- This is sometimes achieved by using a "trial and error approach using the time.sleep() function in Python". While this may work, it is always a problematic issue in determining the amount of time we need to wait. And using the time.sleep() in such cases is not the right way of achieving the result.
- Another approach is to use flags to arrive at a better approximation in using the time.sleep() function.
- Use the Event Object to achieve thread synchronization