Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultProcessorIntervalTime = time.Second * 15
DefaultProcessorIntervalTime is the default timer to process queued trades and save them to the database
Variables ¶
View Source
var ( // BufferProcessorIntervalTime is the interval to save trade buffer data to the database. // Change this by changing the runtime param `-tradeprocessinginterval=15s` BufferProcessorIntervalTime = DefaultProcessorIntervalTime )
Functions ¶
func AddTradesToBuffer ¶
AddTradesToBuffer will push trade data onto the buffer
Types ¶
Click to show internal directories.
Click to hide internal directories.