Initial import: grid-bot — grid trading bot for BTC-USDT on Cifra Markets
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class PlotObject:
|
||||
"""
|
||||
Base class for objects which can be displayed in
|
||||
a Plot.
|
||||
"""
|
||||
visible = True
|
||||
|
||||
def _draw(self):
|
||||
if self.visible:
|
||||
self.draw()
|
||||
|
||||
def draw(self):
|
||||
"""
|
||||
OpenGL rendering code for the plot object.
|
||||
Override in base class.
|
||||
"""
|
||||
pass
|
||||
Reference in New Issue
Block a user