Skip to content

Instantly share code, notes, and snippets.

@Voyz
Last active August 31, 2022 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Voyz/01ab656f5eec5bb9613bb013f9527b79 to your computer and use it in GitHub Desktop.
Save Voyz/01ab656f5eec5bb9613bb013f9527b79 to your computer and use it in GitHub Desktop.
Tulip matching challenge - pubic data
[
{"side": "SELL", "tulips": 15, "tulip_price": 111.5, "transaction_date": "2022-02-01T00:00:00.250000"},
{"side": "BUY", "tulips": 15, "tulip_price": 107.5, "transaction_date": "2022-02-01T00:30:00.250000"},
{"side": "BUY", "tulips": 15, "tulip_price": 107, "transaction_date": "2022-02-01T01:30:00.250000"},
{"side": "SELL", "tulips": 20, "tulip_price": 104.5, "transaction_date": "2022-02-01T02:00:00.250000"},
{"side": "BUY", "tulips": 10, "tulip_price": 105, "transaction_date": "2022-02-01T02:00:00.250000"},
{"side": "SELL", "tulips": 15, "tulip_price": 112.5, "transaction_date": "2022-02-01T03:00:00.250000"},
{"side": "BUY", "tulips": 15, "tulip_price": 111.5, "transaction_date": "2022-02-01T03:30:00.250000"},
{"side": "SELL", "tulips": 20, "tulip_price": 111.0, "transaction_date": "2022-02-01T04:00:00.250000"},
{"side": "BUY", "tulips": 15, "tulip_price": 109.5, "transaction_date": "2022-02-01T04:30:00.250000"}
]
price date
111.0 2022-02-01T00:00:00.250000
106.5 2022-02-01T00:30:00.250000
107.0 2022-02-01T01:00:00.250000
107.5 2022-02-01T01:30:00.250000
105.0 2022-02-01T02:00:00.250000
111.5 2022-02-01T02:30:00.250000
112.5 2022-02-01T03:00:00.250000
112.0 2022-02-01T03:30:00.250000
111.0 2022-02-01T04:00:00.250000
109.5 2022-02-01T04:30:00.250000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment