when I request the historical market data, I get the follow error printed on the console
no market data permissions for nyse stk
the reason is in "paper trading account settings"
share real-time market data subscriptions with paper trading account?
default is "No"
solution: turn it to ""YES