How to use the REST API properly?

Hello fellow Alpacas,

I am 100% new here but looking to stay for a long long time!

have a question, I downloaded the alpaca_trade_api (python) and am cruising through the defined functions but I cant find any documentation about input parameters for the REST API service.

For example, below is the default submit order from the documentation example, where can I find the list of accepted input parameters for all arguments for all functions?
api.submit_order(
symbol=‘AMD’,
qty=1,
side=‘sell’,
type=‘limit’,
time_in_force=‘opg’,
limit_price=20.50
)

time_in_force can take ‘opg’ and ‘gtc’, is there documentation on a source listing acceptable arguments for each API function?

Thanks!!! any help greatly appreciated!

Hey @Erik, are you looking for our API documentation? Hope that helps.