Guest User

Untitled

a guest
Mar 19th, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. ### Catalyst command options
  2.  
  3. ```
  4. $ catalyst --help
  5. ```
  6.  
  7.  
  8. ### Catalyst "run" command options
  9.  
  10. ```
  11. $ catalyst run --help
  12. ```
  13.  
  14. ```
  15. Usage: catalyst run [OPTIONS]
  16.  
  17. Run a backtest for the given algorithm.
  18.  
  19. Options:
  20. -f, --algofile FILENAME The file that contains the algorithm to run.
  21. -t, --algotext TEXT The algorithm script to run.
  22. -D, --define TEXT Define a name to be bound in the namespace
  23. before executing the algotext. For example
  24. '-Dname=value'. The value may be any python
  25. expression. These are evaluated in order so
  26. they may refer to previously defined names.
  27. --data-frequency [daily|minute]
  28. The data frequency of the simulation.
  29. [default: daily]
  30. --capital-base FLOAT The starting capital for the simulation.
  31. [default: 10000000.0]
  32. -b, --bundle BUNDLE-NAME The data bundle to use for the simulation.
  33. [default: poloniex]
  34. --bundle-timestamp TIMESTAMP The date to lookup data on or before.
  35. [default: <current-time>]
  36. -s, --start DATE The start date of the simulation.
  37. -e, --end DATE The end date of the simulation.
  38. -o, --output FILENAME The location to write the perf data. If this
  39. is '-' the perf will be written to stdout.
  40. [default: -]
  41. --print-algo / --no-print-algo Print the algorithm to stdout.
  42. -x, --exchange-name [poloniex|bitfinex|bittrex]
  43. The name of the targeted exchange
  44. (supported: bitfinex, bittrex, poloniex).
  45. -n, --algo-namespace TEXT A label assigned to the algorithm for data
  46. storage purposes.
  47. -c, --base-currency TEXT The base currency used to calculate
  48. statistics (e.g. usd, btc, eth).
  49. --help Show this message and exit.
  50. ```
Add Comment
Please, Sign In to add comment