While we wait for the IB credentials for a paper trading account, let's start with build a Graphical User Interface that will wrap the code that will fetch prices from IB TWS.
We will use kivy as it's cross-platform, based on python, and well-maintained.
Steps
[x] build the hello world application documented on kivy's home page (~1h)
[x] start a new kivy application that will have (~5h)
main menu will be just 3 buttons: prices, portfolio, trades
when prices is clicked, it should display a pandas dataframe
let's use import pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'close': [100, 120, 90]}) for now
when portfolio is clicked, it should show another pandas dataframe
let's use import pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'position': [1,2,3]}) for now
when trades is clicked, it should show another pandas dataframe
let's use import pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'qty': [1, -1, 0]}) for now
Original post:
While we wait for the IB credentials for a paper trading account, let's start with build a Graphical User Interface that will wrap the code that will fetch prices from IB TWS.
We will use kivy as it's cross-platform, based on python, and well-maintained.
Steps
prices
is clicked, it should display a pandas dataframeimport pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'close': [100, 120, 90]})
for nowportfolio
is clicked, it should show another pandas dataframeimport pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'position': [1,2,3]})
for nowtrades
is clicked, it should show another pandas dataframeimport pandas as pd; df = pd.DataFrame({'symbol': ['a','b','c'], 'qty': [1, -1, 0]})
for now