You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wow have not updated this lib for a quite long ) So, not sure if it's still working with actual exchanges )
However, under the hood of ztom is the ccxt lib, which is responsible for essential communicating with exchanges.
Ztom adds limit order management capabilities, like watching the order's status, restricting order's lifetime, or cancelling order if the price have been changed and etc. If you are looking for this kind of features I could try to rehabilitate the lib and check if it's still functional in respect to exchanges API updates and etc. Please tell me your use case and I could try to provide you with the solution.
order1 = FokOrder("ABC/XYZ", 1, 5, "sell", max_order_updates=3, time_to_cancel=0.5)
# as referred in FokOrder
# implement basic FOK order by limiting maximum trade order updates and than cancel
# def __init__(self, symbol, amount: float, price: float, side: str, cancel_threshold: float = 0.000001,
max_order_updates: int = 10, time_to_cancel: float = 0.0):
# where "side" represents SHORT or LONG: "sell" for SHORT and "buy" for LONG
How to set positionSide ="SHORT" or "LONG" in create_order _? quite basic options, I can't find any code in your lib...
Thanks!
The text was updated successfully, but these errors were encountered: