PROJECT

Automate Trading with Python Trading Software

Custom software development, Python trading automation, Broker API integration, Excel trading data, Strategy backtesting, Options trading automation, Trading dashboards

  • Industry: Financial trading
  • Poland Location: Poland
  • Delivery time: 16 weeks
  • Technologies: Python, ccxt
4+ months

This algorithmic trading firm spends time handling market data, spreadsheet inputs, strategy checks and broker orders manually. The software connects broker accounts with market data and trading strategies to automate buying and selling. It reads Excel trading inputs and returns order, position and backtesting information for the firm’s team, helping reduce manual trading work, repeated data handling and execution effort.

Summary

Problem

The firm spends time on manual market analysis, spreadsheet handling and order placement.

Solution

The solution became Python trading software that connects market data, strategy logic, spreadsheets and broker accounts.

Result

The software is made to reduce manual trading work, repeated data handling and avoidable execution effort.

Client story

The client is an algorithmic trading firm from Poland. It runs live, backtested and high-frequency strategies through brokerage APIs and works with stock and options trading.

The team handles candle data, trading inputs and buy and sell orders across brokerage accounts. Traders and trading businesses need to replace manual market-data analysis, trade-data handling and order placement with automated systems.

The request was simple: automate the trading workflow in Python, connect it with Interactive Brokers or a Shoonya Broker Account where required, and validate strategies through backtesting. The firm also needed Excel data to move into the process and return as updated trading data after execution.

The solution was shaped as connected screens for interval setup, candle analysis, live monitoring, Excel data and backtesting. Strategy fields, order types, broker status and trading logs were kept visible so the firm could manage the process around its own rules.

The client asked for

  1. Validate strategies through backtesting and provide requested guidance or documentation.
  2. Build the trading automation in Python, with Java or C++ alternatives where needed.
  3. Connect Interactive Brokers or Shoonya Broker Account where required.
  4. Read Excel trading inputs and update the data after execution.

Why ready-made software did not fit

Ready-made brokerage platforms cover buying, selling and managing financial assets, but their descriptions do not combine this firm’s spreadsheet inputs, configurable strategy logic, backtesting and broker execution in one tailored process. The solution was designed to keep these parts together and align them with the firm’s own rules, while documentation and training support independent use.

Project overview

The solution was designed around a Python trading application that connects market data, strategy logic, spreadsheet inputs and broker accounts. The structure keeps the main stages in one place: prepare data, review candles, validate a strategy, execute orders and monitor positions.

To handle trading inputs, an Excel workspace was provided. It reads spreadsheet data, shows candle data and marks the updated trading data produced after execution.

The trading screen brings together selectable intervals, strategy parameters and buy and sell criteria. Broker connection status and market, limit or stop order types remain available in the same screen.

The application places orders through supported broker connections and keeps execution information available for monitoring.

Special attention was paid to strategy validation. The backtesting screen uses historical candle data, strategy parameters and results tables so the firm can compare a strategy before using it for live trading.

The system was planned as modules, leaving room for documentation, setup guidance, post-delivery support and later additions such as local processing or live-market debugging.

Key features delivered

  • Automated trading through broker accounts
  • Market, limit and stop orders
  • Candle data fetching at selectable intervals
  • Configurable strategies and buy/sell criteria
  • Excel trading data import and update
  • Strategy backtesting with historical candle data
  • Live order, position and alert monitoring
  • Broker account connection status
  • Python-based trading automation

Can be added

+ Fibonacci retracements + Local data processing + Adjusted API calls + Live-market debugging

Who else can use this solution

Other trading businesses have a similar task, and the same solution can be adapted to their data, strategies and brokerage connections.

A stock trading desk

Task It automates stock buying and selling through brokerage accounts.
How the solution helps The solution connects market data and trading rules with broker orders and monitoring.

An options trading team

Task It runs configurable options strategies with defined parameters and buy or sell criteria.
How the solution helps The solution provides strategy setup, broker execution and backtesting in one application.

An investment firm

Task It replaces spreadsheet-based trade-data handling with Python trading bots.
How the solution helps The solution reads Excel inputs, updates trading data and tracks executions.

Technology stack

Python

Trading automation language

Python runs the trading logic, broker connections and data processing.

ccxt

Trading API connections

ccxt is a library that connects trading software with exchange APIs.

hyperliquid-python-sdk

Hyperliquid API trading

hyperliquid-python-sdk connects Python trading logic with the Hyperliquid API.

python-calamine

Excel file reading

python-calamine reads Excel and spreadsheet files for trading inputs.

fastexcel

Fast Excel reading

fastexcel reads Excel data for the trading data workspace.

vectorbt

Strategy backtesting

vectorbt analyzes and backtests trading strategies at scale.

backtesting

Historical strategy testing

backtesting runs trading strategies against historical candle data.

bt

Flexible backtesting

bt provides a Python framework for testing trading strategies.

Excel / XLSX

Trading input files

Excel files provide trading inputs and receive updated trading data.

Candle data

Market data analysis

Candle data supports interval-based market analysis and strategy testing.

Integrations

Interactive Brokers

The software connects trading strategies and orders with the Interactive Brokers platform or API.

Shoonya Broker Account

Where required, the software sends trading activity through a Shoonya Broker Account.

Excel

Excel files carry trading inputs into the application and receive updated trading data after execution.

Brokerage APIs

Brokerage APIs carry market orders, limit orders, stop orders and trading updates.

The result

Trading rules stay ready for controlled execution

The trading control screen brings strategy parameters, buy and sell criteria and the selected order type together with the broker connection status. This gives the firm one place to prepare automated trading rules.

The application supports market, limit and stop orders and uses a selectable interval for the trading process.

How it works

  1. The software shows the trading interval, strategy parameters, buy and sell criteria and broker account status.
  2. The strategy module applies the selected trading rules and order type.
  3. The broker connection sends market, limit or stop orders and returns execution information.
  • Set a time filter and data interval.
  • Use configurable options strategies where required.
Note: The interface keeps broker status visible before order execution.
Trading control and interval setup

Trading control and interval setup

Functions on this screen
Set Trading Time Filter Set data interval Develop Trading Algorithms Automated Options Trading Strategy

Candle data gives the strategy a clear market view

The market data screen presents a token or instrument list, a selected interval and a candle table. The trading analysis area presents the fetched data for review.

This supports review of fetched candle data before trading decisions are executed.

How it works

  1. The candle-data module fetches candle data for the selected tokens or instruments.
  2. The software shows the selected time interval and the last 12 candle data in the candle table.
  3. The trading analysis area presents the candle data for review.
Market data and candle analysis

Market data and candle analysis

Functions on this screen
Fetch candle data

Orders and positions remain visible during trading

The live monitor brings submitted orders, open positions, execution status and trade alerts into one view. An activity log keeps buy and sell orders, executed options trades and real-time trade updates available to the trading team.

This gives the firm a direct view of what the broker process has returned without relying on separate manual notes.

How it works

  1. The monitor shows buy and sell orders and open positions.
  2. The execution area displays executed options trades and real-time trade updates.
  3. The activity log records trade alerts and trade logs.
Live order and position monitor

Live order and position monitor

Spreadsheet data returns in an updated form

The Excel workspace keeps source spreadsheet data and updated trading data together. It supports the firm’s existing spreadsheet process while connecting those inputs with candle data and execution.

An updated-data indicator makes the returned trading information easy to distinguish from the source file.

How it works

  1. The Excel workspace reads Excel file data and displays it in the spreadsheet data table.
  2. The application combines the spreadsheet inputs with candle data used in trading.
  3. The workspace shows updated Excel data and updated trading data after execution.
Excel trading data workspace

Excel trading data workspace

Functions on this screen
Update Stock Data

Backtesting supports a safer strategy review

The backtesting screen compares a configured trading strategy with historical candle data before live trading. Results and strategy parameters remain visible for iterative review.

This makes strategy validation part of the same software rather than a separate manual analysis step.

How it works

  1. The backtesting module loads the selected strategy parameters and historical candle data.
  2. The backtesting library runs the trading strategy against the historical data.
  3. The results table and comparison area show the backtesting results.
  • Compare strategy results before live trading.
  • Review parameters and historical data together.
Strategy backtesting results

Strategy backtesting results

Functions on this screen
Backtest Trading Strategy

What the solution gives

With this solution, the trading firm can:

  • Automate buying and selling through connected broker accounts.
  • Fetch candle data at selectable trading intervals.
  • Read Excel inputs and return updated trading data after execution.
  • Test strategies against historical candle data before live trading.
  • Monitor orders, positions, alerts and execution status.
  • Manage stock and options trading rules in one application.

Could ready-made systems do the job?

Before the design, the task was compared with ready-made products by their own descriptions.

What the client needs Brokerage platforms Kite, MetaTrader 5, thinkorswim Algorithmic trading platforms Galileo FX, Abbado, MetaTrader 5 Multi-asset trading platforms eToro, Dotbig platform, E*Trade Web Platform Custom solution
Validate strategies with backtesting partly —
Build Python trading automation — — —
Connect broker accounts and APIs —
Read and update Excel data — — —
Fits the client's own rules: stages, roles, reports — — —
All steps in one place — — —
No manual steps between programs — partly —

By the public descriptions of the products and their category.

Ready-made products cover parts of the task, including brokerage access, trading tools and some algorithmic functions. A ready-made product is enough when only one of these parts is needed.

This firm needed its own software because spreadsheet inputs, strategy validation, broker execution and monitoring had to follow its own rules in one place, with fewer manual steps between programs.

In the end

In the end, the solution was made to take manual work out of the path from market data and strategy rules to broker orders and updated trading records.

FAQ

Thinking about building a similar system? Read the answers below to understand the main design choices for Python trading automation, broker connections and strategy validation.