reset_sim_balance: Reset simulation account balance

reset_sim_balanceR Documentation

Reset simulation account balance

Description

Reset simulation account with a new cash balance. This will also remove all orders and positions associated with the account. Cannot be used in live environment.

Usage

reset_sim_balance(token, client_key, new_balance = 1e+06)

Arguments

token

character (containing a '24 hour token')

client_key

character

new_balance

numeric, new balance of simulation account. Between 0 and 10.000.000; defaults to 1.000.000

Details

See the Open API Documentation

Value

tibble


lassehjorthmadsen/sherwood documentation built on Sept. 6, 2022, 3:47 p.m.