What is a signal?
A signal is an updating time series. Examples of signals are weather forecasts, market prices, soil moisture, Covid infections e.t.c.
If you want to use flat files as well, check out how to store an arbitrary file here.
Setup your client
First setup your client so you can access the Amphora Data platform
If you are using a code repository, you may want to use
Define signals on your Amphora
Currently, Amphora are limited to 10 signals each.
Before you can upload data, you need to define the properties for which you'll be providing numeric values. A signal needs a name and units. You can also add other attributes or assign a different value type.
Create a signal
A signal needs to be created as an array of dictionarys. Each dictionary item needs to have a
datetime, and a signal with a value.
The minimum definition for a signal is
In general we want to create signals over multiple times. You can do this with specific definitions for different time points
You can also do this programatically like here
Push signal to your Amphora
Uploading your signal to the Amphora is very easy. Simply use the command below
View your data at Amphora Data
You're data should now be live in the Amphora you specified. Replace the following id with your Amphora's id, and visit the link.
https://app.amphoradata.com/Amphorae/Signals?id=<YOUR AMPHORA ID>
Your data is now live!
Use Pandas DataFrames
You can upload Signal data from Pandas DataFrames. By setting the column names, the SDK will automatically create the Signal definitions for you, by inferring the value type from the data.