Add market data logging to UP and DOWN order placements
This commit is contained in:
@@ -98,6 +98,7 @@ async def main():
|
|||||||
current_trades = increment_trades()
|
current_trades = increment_trades()
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Placed UP anchor and hedge orders. Total trades: {current_trades}"
|
f"Placed UP anchor and hedge orders. Total trades: {current_trades}"
|
||||||
|
f"market_data={market_data}"
|
||||||
)
|
)
|
||||||
|
|
||||||
elif (trading_side == SIGNALES.DOWN) and up_trend:
|
elif (trading_side == SIGNALES.DOWN) and up_trend:
|
||||||
@@ -111,6 +112,7 @@ async def main():
|
|||||||
current_trades = increment_trades()
|
current_trades = increment_trades()
|
||||||
logger.info(
|
logger.info(
|
||||||
f"Placed DOWN anchor and hedge orders. Total trades: {current_trades}"
|
f"Placed DOWN anchor and hedge orders. Total trades: {current_trades}"
|
||||||
|
f"market_data={market_data}"
|
||||||
)
|
)
|
||||||
|
|
||||||
await asyncio.sleep(0.01)
|
await asyncio.sleep(0.01)
|
||||||
|
|||||||
Reference in New Issue
Block a user