Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
|
@@ -60,3 +60,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 60 |
LOBSTER_SampleFile_AAPL_2012-06-21_50/AAPL_2012-06-21_34200000_37800000_orderbook_50.csv filter=lfs diff=lfs merge=lfs -text
|
| 61 |
LOBSTER_SampleFile_MSFT_2012-06-21_50/MSFT_2012-06-21_34200000_37800000_orderbook_50.csv filter=lfs diff=lfs merge=lfs -text
|
| 62 |
LOBSTER_SampleFile_SPY_2012-06-21_50/SPY_2012-06-21_34200000_37800000_message_50.csv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 60 |
LOBSTER_SampleFile_AAPL_2012-06-21_50/AAPL_2012-06-21_34200000_37800000_orderbook_50.csv filter=lfs diff=lfs merge=lfs -text
|
| 61 |
LOBSTER_SampleFile_MSFT_2012-06-21_50/MSFT_2012-06-21_34200000_37800000_orderbook_50.csv filter=lfs diff=lfs merge=lfs -text
|
| 62 |
LOBSTER_SampleFile_SPY_2012-06-21_50/SPY_2012-06-21_34200000_37800000_message_50.csv filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
LOBSTER_SampleFile_GOOG_2012-06-21_10/GOOG_2012-06-21_34200000_57600000_orderbook_10.csv filter=lfs diff=lfs merge=lfs -text
|
LOBSTER_SampleFile_GOOG_2012-06-21_10/GOOG_2012-06-21_34200000_57600000_message_10.csv
ADDED
|
Binary file (6.09 MB). View file
|
|
|
LOBSTER_SampleFile_GOOG_2012-06-21_10/GOOG_2012-06-21_34200000_57600000_orderbook_10.csv
ADDED
|
Binary file (133 Bytes). View file
|
|
|
LOBSTER_SampleFile_GOOG_2012-06-21_10/LOBSTER_SampleFiles_ReadMe.txt
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=========================================================================
|
| 2 |
+
|
| 3 |
+
LOBSTER | academic data.
|
| 4 |
+
|
| 5 |
+
Limit Order Book System - The Efficient Reconstructor
|
| 6 |
+
|
| 7 |
+
http://LOBSTER.wiwi.hu-berlin.de
|
| 8 |
+
|
| 9 |
+
This Version: 01 Sept 2013
|
| 10 |
+
=========================================================================
|
| 11 |
+
|
| 12 |
+
Sample Files Readme
|
| 13 |
+
|
| 14 |
+
=========================================================================
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
Output Structure:
|
| 18 |
+
---------------
|
| 19 |
+
|
| 20 |
+
LOBSTER generates a 'message' and an 'orderbook' file for each active
|
| 21 |
+
trading day of a selected ticker. The 'orderbook' file contains the
|
| 22 |
+
evolution of the limit order book up to the requested number of levels.
|
| 23 |
+
The 'message' file contains indicators for the type of event causing
|
| 24 |
+
an update of the limit order book in the requested price range. All
|
| 25 |
+
events are timestamped to seconds after midnight, with decimal
|
| 26 |
+
precision of at least milliseconds and up to nanoseconds depending
|
| 27 |
+
on the requested period.
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
Message File: (Matrix of size: (Nx6))
|
| 31 |
+
-------------
|
| 32 |
+
|
| 33 |
+
Name: TICKER_Year-Month-Day_StartTime_EndTime_message_LEVEL.csv
|
| 34 |
+
|
| 35 |
+
StartTime and EndTime give the theoretical beginning
|
| 36 |
+
and end time of the output file in milliseconds after
|
| 37 |
+
mid night. LEVEL refers to the number of levels of the
|
| 38 |
+
requested limit order book.
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
Columns:
|
| 42 |
+
|
| 43 |
+
1.) Time:
|
| 44 |
+
Seconds after midnight with decimal
|
| 45 |
+
precision of at least milliseconds
|
| 46 |
+
and up to nanoseconds depending on
|
| 47 |
+
the requested period
|
| 48 |
+
2.) Type:
|
| 49 |
+
1: Submission of a new limit order
|
| 50 |
+
2: Cancellation (Partial deletion
|
| 51 |
+
of a limit order)
|
| 52 |
+
3: Deletion (Total deletion of a limit order)
|
| 53 |
+
4: Execution of a visible limit order
|
| 54 |
+
5: Execution of a hidden limit order
|
| 55 |
+
7: Trading halt indicator
|
| 56 |
+
(Detailed information below)
|
| 57 |
+
3.) Order ID:
|
| 58 |
+
Unique order reference number
|
| 59 |
+
(Assigned in order flow)
|
| 60 |
+
4.) Size:
|
| 61 |
+
Number of shares
|
| 62 |
+
5.) Price:
|
| 63 |
+
Dollar price times 10000
|
| 64 |
+
(i.e., A stock price of $91.14 is given
|
| 65 |
+
by 911400)
|
| 66 |
+
6.) Direction:
|
| 67 |
+
-1: Sell limit order
|
| 68 |
+
1: Buy limit order
|
| 69 |
+
|
| 70 |
+
Note:
|
| 71 |
+
Execution of a sell (buy) limit
|
| 72 |
+
order corresponds to a buyer (seller)
|
| 73 |
+
initiated trade, i.e. Buy (Sell) trade.
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
Orderbook File: (Matrix of size: (Nx(4xNumberOfLevels)))
|
| 77 |
+
---------------
|
| 78 |
+
|
| 79 |
+
Name: TICKER_Year-Month-Day_StartTime_EndTime_orderbook_LEVEL.csv
|
| 80 |
+
|
| 81 |
+
Columns:
|
| 82 |
+
|
| 83 |
+
1.) Ask Price 1: Level 1 Ask Price (Best Ask)
|
| 84 |
+
2.) Ask Size 1: Level 1 Ask Volume (Best Ask Volume)
|
| 85 |
+
3.) Bid Price 1: Level 1 Bid Price (Best Bid)
|
| 86 |
+
4.) Bid Size 1: Level 1 Bid Volume (Best Bid Volume)
|
| 87 |
+
5.) Ask Price 2: Level 2 Ask Price (2nd Best Ask)
|
| 88 |
+
...
|
| 89 |
+
|
| 90 |
+
Notes:
|
| 91 |
+
------
|
| 92 |
+
|
| 93 |
+
- Levels:
|
| 94 |
+
|
| 95 |
+
The term level refers to occupied price levels. This implies
|
| 96 |
+
that the difference between two levels in the LOBSTER output
|
| 97 |
+
is not necessarily the minimum ticks size.
|
| 98 |
+
|
| 99 |
+
- Unoccupied Price Levels:
|
| 100 |
+
|
| 101 |
+
When the selected number of levels exceeds the number of levels
|
| 102 |
+
available the empty order book positions are filled with dummy
|
| 103 |
+
information to guarantee a symmetric output. The extra bid
|
| 104 |
+
and/or ask prices are set to -9999999999 and 9999999999,
|
| 105 |
+
respectively. The Corresponding volumes are set to 0.
|
| 106 |
+
|
| 107 |
+
- Trading Halts:
|
| 108 |
+
|
| 109 |
+
When trading halts, a message of type '7' is written into the
|
| 110 |
+
'message' file. The corresponding price and trade direction
|
| 111 |
+
are set to '-1' and all other properties are set to '0'.
|
| 112 |
+
Should the resume of quoting be indicated by an additional
|
| 113 |
+
message in NASDAQ's Historical TotalView-ITCH files, another
|
| 114 |
+
message of type '7' with price '0' is added to the 'message'
|
| 115 |
+
file. Again, the trade direction is set to '-1' and all other
|
| 116 |
+
fields are set to '0'.
|
| 117 |
+
When trading resumes a message of type '7' and
|
| 118 |
+
price '1' (Trade direction '-1' and all other
|
| 119 |
+
entries '0') is written to the 'message' file. For messages
|
| 120 |
+
of type '7', the corresponding order book rows contain a
|
| 121 |
+
duplication of the preceding order book state. The reason
|
| 122 |
+
for the trading halt is not included in the output.
|
| 123 |
+
|
| 124 |
+
Example: Stylized trading halt messages in 'message' file.
|
| 125 |
+
|
| 126 |
+
Halt: 36023 | 7 | 0 | 0 | -1 | -1
|
| 127 |
+
...
|
| 128 |
+
Quoting: 36323 | 7 | 0 | 0 | 0 | -1
|
| 129 |
+
...
|
| 130 |
+
Resume Trading: 36723 | 7 | 0 | 0 | 1 | -1
|
| 131 |
+
...
|
| 132 |
+
|
| 133 |
+
The vertical bars indicate the different columns in the
|
| 134 |
+
message file.
|
| 135 |
+
|
| 136 |
+
=========================================================================
|
| 137 |
+
|
| 138 |
+
Any questions? Just contact us at http://LOBSTER.wiwi.hu-berlin.de
|
| 139 |
+
|
| 140 |
+
=========================================================================
|