DAVIDE PASINI a journey through finacial alchemy

Create and use our own modules in iBridgePy

ibridgepy modules

Read More..

A Telegram bot for iBridgePy errors (..and more)

telegram bot

Ok, so this is still in its rough form, and it might not be the perfect toy yet but it surely helps to keep your mind at easy when you’re away from your pc/server.

As I begin to forward-test my algos with Interactive Brokers’ Trader WorkStation TWS (I cannot use IB Gateway because it does not provide Delayed Market Data, or real time market data, unless you deposit a minimum of 2000 euro on your IB account), I am in constant fear, even with my monopoly money, that for whatever reason my algo misbehaves or the IB server becomes unhappy, leaving me with an interrupted algo and jibberish error messages that sit there unattended while I am away travelling the world. Sure, Teamviewer, VNC connect, an ssh connection and restarting your machine on power-on with a smart plug helps you a great deal but a more timely solution would be to receive notifications when something goes bad.

This technique can also be applied to receiving whatever print out from your algo and iBridgePy, I am yet to discover how!

Read More..

How it all begun..

Confused AI

A long, long time ago, in the far land of…

It wasn’t a far land but while I was renovating the apartment I bought for my mother, I decide to fill up my breaks seriously playing stock trading on a paper account, choosing companies I liked and using my intuition and a bit of arbitrary sentiment analysis. However, I quickly realized that:

  • Though successful (9% monthly returns), my performance was as good as my daily time commitment and analysis to preparing for market open
  • 90% of my losses where due to FOMO or the hope that a losing trade would bounce back

And so I wondered whether there could be a way to automate entering and exiting trades through a predetermined strategy, removing so also the major cause of money loss, i.e. the human fear factor.

Read More..