Skip to content

This Python package manages methods to reshape tick by tick data for order flow analysis

License

Notifications You must be signed in to change notification settings

AndreaFerrante/Orderflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


This is a short Python module to analyze tick-by-tick data.

The structure of the data is the following:

  • Date: date of trade execution (YYYY-MM-DD)
  • Time: time of trade execution (%H:%M:%S.ffffff, market time)
  • Price: price of execution trade
  • Volume: volume executed
  • TradeType: 1 if trade has been executed on the BID, 2 if the trade has been executed on the ASK
  • AskPrice: price on the ask at the time of the execution
  • BidPrice: price on the bid at the time of the execution
  • AskSize: level 1 DOM (i.e Depth of the Market) size on the ask
  • BidSize: level 1 DOM (i.e Depth of the Market) size on the bid
  • TotalAskDepth: total volume on the ask DOM side (till max level available)
  • TotalBidDepth: total volume on the bid DOM side (till max level available)
  • AskDOM_XX / BidDOM_XX: ask and bid values till level XX

Main tools in development for data fun and research are VWAP, Volume Profile, Imbalances. Please, keep in mind that this is not a module for trading but just for research for those that love data !

This module uses Numpy, Pandas and Polars for amazing speed in managing the data. Ehy, if you like this code or if you fork it leave a star! It will help this project to be spread.

About

This Python package manages methods to reshape tick by tick data for order flow analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages