Description Usage Arguments Value Examples
This function is backtesting simple stochastic oscillator strategy on chosen stock data. Function on its own is providing data to back tests from google finance.
1 2 | stoch_oscilator_strategy_back_test(symbol, initial_portfolio, investment_size,
start_date, end_date)
|
symbol |
Symbol of a stock exchange data. |
initial_portfolio |
Initial amount of money involved in investment. |
investment_size |
Percentage size of portfolio which will be involved in every single teoretic transaction during investment period. |
start_date |
Start date for back tests. |
end_date |
End date for back tests. |
A plot and statement for portfolio, during given period of tests.
1 2 | stoch_oscilator_strategy_back_test("GOOG", 10000, 0.01, "2010-01-01", "2017-05-01")
stoch_oscilator_strategy_back_test("YHOO", 10000, 0.007, "2006-01-01", "2016-12-30")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.