Hi I m new to influx db . i do had studied documentation and view some youtube videos but not yet not understood the usage.
My Question to all you mentors is how to i store data from Json format in influx db from python
my Json format
{ “Stock”: “AAPL”,“TimeStamp”:10:00:00,“Open”: 150,“High”:154,“Low”:147,“Close”:141,“Volume”:3000}
{ “Stock”: “GE”,“TimeStamp”:10:00:00,“Open”: 150,“High”:154,“Low”:147,“Close”:141,“Volume”:3000}
{ “Stock”: “GS”,“TimeStamp”:10:00:00,“Open”: 150,“High”:154,“Low”:147,“Close”:141,“Volume”:3000}
{ “Stock”: “BOM”,“TimeStamp”:10:00:00,“Open”: 150,“High”:154,“Low”:147,“Close”:141,“Volume”:3000}
{ “Stock”: “XOM”,“TimeStamp”:10:00:00,“Open”: 150,“High”:154,“Low”:147,“Close”:141,“Volume”:3000}
i would like to store this one minute data into influx stock_tick Data
any kind of help will be greatly appreciated… thanks in advance
I had created database :
Create database tickdata
use tickdata
Measurement:
Exchange = “DOW”
Tags:
StockName= “GE"
StockType =” FUT" /“EQ”
Fields:
open
high
low
close
volume
open interest
TimeStamp:
09:00:01