sim_algo | R Documentation |
Will maintain or initialize a stock option trading algorithm, (for now only on) the simulation environment
sim_algo( token, live = FALSE, reset = FALSE, new_balance = 1e+06, exchange_id = "EUREX", asset_type = "StockOption" )
token |
either a character or a token2.0 reference class (RC) object
as returned by |
live |
boolean, TRUE for live environment, i.e. real money. Defaults to FALSE, i.e. simulation environment. |
reset |
boolean, TRUE if simulation account should be reset. Defaults to FALSE. |
new_balance |
numeric, balance for simulation account, if reset |
exchange_id |
character, the Exchange to search, e.g. "EUREX", the default, for Eurex Exchange |
asset_type |
character, type of asset, e.g. "Stock" or "StockOption", the default. |
tibble with ids of placed orders, if any
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.