removed redundant print()
This commit is contained in:
parent
c68fe7a685
commit
2e6ded06a9
@ -256,8 +256,9 @@ class TestStrategy(IStrategy):
|
|||||||
# Retrieve best bid and best ask
|
# Retrieve best bid and best ask
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
"""
|
"""
|
||||||
|
# first check if dataprovider is available
|
||||||
|
if self.dp:
|
||||||
ob = self.dp.orderbook(metadata['pair'], 1)
|
ob = self.dp.orderbook(metadata['pair'], 1)
|
||||||
print(ob)
|
|
||||||
dataframe['best_bid'] = ob['bids'][0][0]
|
dataframe['best_bid'] = ob['bids'][0][0]
|
||||||
dataframe['best_ask'] = ob['asks'][0][0]
|
dataframe['best_ask'] = ob['asks'][0][0]
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user