Open joeegiovanni opened 3 years ago
I have the same request. Since the place_buy_order command’s quantity is declared as an integer instead of a float, this would seem like we may not be able to set it to a floating fraction like “0.5”. But I heard that Python3 allows for float swapping, so what would happen if we placed a floating point value in there, like “0.1”? Because this command using “1” for quantity would be impossible to use for Bitcoin.
place_buy_order(instrument, quantity, ask_price=0.0) Wrapper for placing buy orders
Parameters instrument (dict) – the RH URL and symbol in dict for the instrument to be traded
quantity (int) – quantity of stocks in order
ask_price (float) – price for order (OPTIONAL! If not given, ask_price is automatic.)
Returns result from orders put command
Return type (requests.request)
Hi, I want to know if we could a specific dollar amount to be traded?